This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/10944] Assertion `get_frame_type (frame) == DUMMY_FRAME'failed


http://sourceware.org/bugzilla/show_bug.cgi?id=10944

--- Comment #5 from Jan Kratochvil <jan.kratochvil at redhat dot com> 2012-08-12 08:57:11 UTC ---
GNU gdb (GDB) 7.5.50.20120812-cvs
This GDB was configured as "--host=x86_64-unknown-linux-gnu
--target=arm-none-eabi".
Reading symbols from /home/jkratoch/redhat/gdb-clean/gdb/1...done.
(gdb) target remote virt:1234
Remote debugging using virt:1234
warning: A handler for the OS ABI "GNU/Linux" is not built into this
configuration of GDB.  Attempting to continue with the default arm settings.
0x43608de0 in ?? ()
(gdb) b main
Cannot access memory at address 0x0
Breakpoint 1 at 0x859c: file 1.c, line 5.
(gdb) c
Continuing.

Breakpoint 1, main () at 1.c:5
5    int main (void) { return 0; }
(gdb) p f (2, "ATZ")
$1 = void
(gdb) b f
Breakpoint 2 at 0x855c: file 1.c, line 2.
(gdb) p f (2, "ATZ")
Breakpoint 2, f (x=2, s=0x11018 "ATZ") at 1.c:2
2    void f (int x, const char *s) {}
The program being debugged stopped while in a function called from GDB.
Evaluation of the expression containing the function
(f) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) bt
#0  f (x=2, s=0x11018 "ATZ") at 1.c:2
#1  <function called from gdb>
#2  main () at 1.c:5
(gdb) l
1    #include <stdlib.h>
2    void f (int x, const char *s) {}
3    void *malloc (size_t size)
4    { return realloc (NULL, size); }
5    int main (void) { return 0; }

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]