Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* Collected data "<unavailable>" in trace
       [not found] <1864205081.9055867.1736258417815.ref@mail.yahoo.com>
@ 2025-01-07 14:00 ` Mohammad Rahimi via Gdb
  2025-01-07 16:15   ` Phi Debian via Gdb
  0 siblings, 1 reply; 2+ messages in thread
From: Mohammad Rahimi via Gdb @ 2025-01-07 14:00 UTC (permalink / raw)
  To: gdb

Dear GDB Community,  

I'm struggling to understand why the `trace` command doesn't seem to collect any variables in frames. I've shared the details of my issue on StackOverflow:  
https://stackoverflow.com/q/79334653/6330208
I would greatly appreciate any insights or guidance you can provide.  
Thank you!  

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Collected data "<unavailable>" in trace
  2025-01-07 14:00 ` Collected data "<unavailable>" in trace Mohammad Rahimi via Gdb
@ 2025-01-07 16:15   ` Phi Debian via Gdb
  0 siblings, 0 replies; 2+ messages in thread
From: Phi Debian via Gdb @ 2025-01-07 16:15 UTC (permalink / raw)
  To: Mohammad Rahimi; +Cc: gdb

Can't reproduce on
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble

$ gcc --version
gcc (Ubuntu 14.2.0-4ubuntu2~24.04) 14.2.0
Copyright (C) 2024 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
============================================================

^C
Program received signal SIGINT, Interrupt.
0x00007ffff7d1ba61 in __GI___libc_read (fd=0, buf=0x5555555596b0,
    nbytes=1024) at ../sysdeps/unix/sysv/linux/read.c:26
warning: 26 ../sysdeps/unix/sysv/linux/read.c: No such file or directory
(gdb) tstop
(gdb) tfind 0
Found trace frame 0, tracepoint 3
#0  main () at m.c:17
17        sum_of_squares += square;
(gdb) tdump
Data collected at tracepoint 3, trace frame 0:
square = 1
cube = 1
(gdb)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2025-01-07 16:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <1864205081.9055867.1736258417815.ref@mail.yahoo.com>
2025-01-07 14:00 ` Collected data "<unavailable>" in trace Mohammad Rahimi via Gdb
2025-01-07 16:15   ` Phi Debian via Gdb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox