Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Mathews_Alex@emc.com
To: gdb@sources.redhat.com
Subject: Breakpoint on class member function
Date: Wed, 18 Jun 2003 14:58:00 -0000	[thread overview]
Message-ID: <93F527C91A6ED411AFE10050040665D0083FA5A3@corpusmx1.us.dg.com> (raw)


I'm working with an internally modified gdb 5.3.  I'm trying to figure out
if something happens with symbols after a target remote is issued.  The
binary is ELF format with debugging information built with gcc 3.2.  The
scenario that I'm seeing is the following:

(gdb) file symbols.gdb
(gdb) b foo::foo1
Breakpoint 1 @ ...
(gdb) delete 1
(gdb) target remote /dev/ttyS1
(gdb) b foo::foo1
the class foo does not have any method named foo1
Hint: try 'foo::foo1<TAB> or 'foo::foo1<ESC-?>
(gdb) b 'foo::foo1(char *, char *)'
Breakpoint 2 @ ...

So, before I do a target remote, I'm able to set a breakpoint without the
fully typed member function.  Then afterwards, it won't work unless it's
fully typed, so I'm forced to use the hint provided.  I haven't modified
anything in the symbol area, but I have made modifications to target remote
related code.

Any insight would be appreciated.  I did see bug 1023, but I wasn't sure if
that applied in my case.


             reply	other threads:[~2003-06-18 14:58 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-06-18 14:58 Mathews_Alex [this message]
2003-06-18 15:05 ` Daniel Jacobowitz
2003-06-18 15:37 Mathews_Alex
2003-06-18 16:08 ` Daniel Jacobowitz
2003-06-18 16:08 Mathews_Alex
2003-06-18 16:27 Mathews_Alex
2003-06-18 17:31 Mathews_Alex
2003-06-18 17:32 ` Daniel Jacobowitz
2003-06-18 18:06 Mathews_Alex
2003-06-18 18:10 ` Daniel Jacobowitz

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=93F527C91A6ED411AFE10050040665D0083FA5A3@corpusmx1.us.dg.com \
    --to=mathews_alex@emc.com \
    --cc=gdb@sources.redhat.com \
    /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