public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "jan.kratochvil at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug gdb/10944] Assertion `get_frame_type (frame) == DUMMY_FRAME' failed
Date: Sun, 12 Aug 2012 08:58:00 -0000	[thread overview]
Message-ID: <bug-10944-4717-uITFzcjxbQ@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-10944-4717@http.sourceware.org/bugzilla/>

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.


  parent reply	other threads:[~2012-08-12  8:58 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-10944-4717@http.sourceware.org/bugzilla/>
2011-03-24  8:04 ` domen at cba dot si
2012-08-02  9:22 ` tschwinge at sourceware dot org
2012-08-11 19:53 ` jan.kratochvil at redhat dot com
2012-08-12  8:39 ` tschwinge at sourceware dot org
2012-08-12  8:58 ` jan.kratochvil at redhat dot com [this message]
2012-08-12 10:36 ` tschwinge at sourceware dot org
2012-08-12 10:57 ` jan.kratochvil at redhat dot com
2012-08-13 10:40 ` tschwinge at sourceware dot org
2012-12-11  8:08 ` tuben at lysator dot liu.se

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-10944-4717-uITFzcjxbQ@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).