From: Bob Rossi <bob_rossi@cox.net>
To: gdb@sources.redhat.com
Subject: Getting all breakable lines from gdb
Date: Fri, 21 Mar 2003 13:26:00 -0000 [thread overview]
Message-ID: <20030321132626.GB14884@white> (raw)
I just had this thought.
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?
Its really disgusting how other front ends get that information now.
When a new 800 line file is open, they run these commands
list 1,1000000
info line 1
info line 2
...
info line 800
They parse the output of each command to determine if a breakpoint can
be set.
I suggest a command that returns a list of line numbers for a given
file. Thus improving communication between the front end and gdb.
Believe me, the overhead on a 15,000 line file is noticable.
Any suggestions?
Thanks,
Bobby
next reply other threads:[~2003-03-21 13:26 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-21 13:26 Bob Rossi [this message]
2003-03-21 16:56 ` Joel Brobecker
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=20030321132626.GB14884@white \
--to=bob_rossi@cox.net \
--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