Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Anthony Heading <ajrh@ajrh.net>
To: Kris Warkentin <KEWarken@qnx.com>,  gdb@sources.redhat.com
Subject: Re: debugging shared libraries
Date: Fri, 06 Jan 2006 01:37:00 -0000	[thread overview]
Message-ID: <43BDC9B8.3010906@ajrh.net> (raw)
In-Reply-To: <3518719F06577C4F85DA618E3C37AB9101CFC9FC@nimbus.ott.qnx.com>

Hi Kris,

Kris Warkentin wrote:
> GDB has support for deferred breakpoints.  Try:
 > [...]

Yup, I know about that.

The problem I see, as I tried to allude to but maybe didn't
make clear, is e.g. that tab-completion of the breakpoint symbol
obviously doesn't work.  And although that might not seem
a major problem, I assumed that made it very difficult for the
GUI front ends to gdb (kdbg / eclipse / whatever) to be started
against a shared library.  (Which is my real ideal).

Though I guess thinking about it, maybe a GUI front end could
load the shared lib, let you identify the breakpoint, and then
behind the scenes save the name of the breakpoint symbol, load
the main executable and set it as a deferred breakpoint.  Do
any of the GUIs do that?

Rgds

Anthony


  reply	other threads:[~2006-01-06  1:37 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-05 14:17 Kris Warkentin
2006-01-06  1:37 ` Anthony Heading [this message]
2006-01-06  8:10   ` Jim Blandy
2006-01-06 14:56     ` Anthony Heading
2006-01-06 19:06       ` Jim Blandy
  -- strict thread matches above, loose matches on Subject: below --
2006-01-05 14:12 Anthony Heading

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=43BDC9B8.3010906@ajrh.net \
    --to=ajrh@ajrh.net \
    --cc=KEWarken@qnx.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