Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Joel Brobecker <brobecker@gnat.com>
To: gdb@sources.redhat.com
Subject: Re: Getting all breakable lines from gdb
Date: Fri, 21 Mar 2003 16:56:00 -0000	[thread overview]
Message-ID: <20030321165656.GM16507@gnat.com> (raw)
In-Reply-To: <20030321132626.GB14884@white>

> Would it be possible to add a command to the MI interface that would
> return a list of all possible line numbers in a file that the user could
> set a breakpoint at?

We suggested a new command that gives you a little bit more than just
the breakable lines, and Thierry Schneider implemented it. Nobody
reviewed the change yet because Thierry is waiting for his copyright
assignment application to be accepted (last I talked to him, he said
that he had received the paperwork, and sent it back).

See: http://sources.redhat.com/ml/gdb-patches/2003-03/msg00000.html
And then: http://sources.redhat.com/ml/gdb-patches/2003-03/msg00208.html
for a suggested patch.

The PC addresses are useful for GVD, because they use this information
to display the assembly window. 

I was thinking that the next improvement to this command would be to
add switches like: -l -> line only, -p -> pc only, -sl/-el -> start
or end at line, -sp/-ep -> start or end at pc, etc...

-- 
Joel


  reply	other threads:[~2003-03-21 16:56 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-21 13:26 Bob Rossi
2003-03-21 16:56 ` Joel Brobecker [this message]
2003-03-22 22:32   ` Bob Rossi

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=20030321165656.GM16507@gnat.com \
    --to=brobecker@gnat.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