From: Bob Rossi <bob@brasko.net>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: gdb@sources.redhat.com
Subject: Re: fullname descriptor with -break-list
Date: Mon, 07 Feb 2005 00:17:00 -0000 [thread overview]
Message-ID: <20050206210637.GB19609@white> (raw)
In-Reply-To: <16902.30786.705993.121669@farnswood.snap.net.nz>
On Mon, Feb 07, 2005 at 09:04:18AM +1300, Nick Roberts wrote:
>
> I am trying to migrate the GDB user interface in Emacs from annotations to
> MI. To help with this process, I would like to add the fullname, as used in
> -file-list-exec-source-file and -file-list-exec-source-files, to the MI
> command -break-list.
>
> i.e the example in the manual would look like:
>
> -break-list
> ^done,BreakpointTable={nr_rows="1",nr_cols="6",
> hdr=[{width="3",alignment="-1",col_name="number",colhdr="Num"},
> {width="14",alignment="-1",col_name="type",colhdr="Type"},
> {width="4",alignment="-1",col_name="disp",colhdr="Disp"},
> {width="3",alignment="-1",col_name="enabled",colhdr="Enb"},
> {width="10",alignment="-1",col_name="addr",colhdr="Address"},
> {width="40",alignment="2",col_name="what",colhdr="What"}],
> body=[bkpt={number="1",type="breakpoint",disp="keep",enabled="y",
> addr="0x000100d0",func="main",file="hello.c",
> fullname="/home/nick/hello.c",line="5",cond="1",times="0",ignore="3"}]}
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Would such a patch be acceptable?
I believe it would be, when I added the -file-list commands, I was asked
to add the information to the breakpoints and to the stack command.
I didn't do it simply for time reasons. You can use the
symtab_to_fullname or psymtab_to_fullname functions to get the data you
need.
In the long run, it would probably be usefull to output the fullname
everywhere that "file" is used.
Bob Rossi
next prev parent reply other threads:[~2005-02-06 23:18 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-06 23:18 Nick Roberts
2005-02-07 0:17 ` Bob Rossi [this message]
2005-02-07 2:49 ` Nick Roberts
2005-02-07 14:54 ` Bob Rossi
2005-02-07 20:14 ` Andrew Cagney
2005-02-08 1:54 ` Event notification in MI (was Re: fullname descriptor with -break-list) Nick Roberts
2005-03-04 7:24 ` fullname descriptor with -break-list Nick Roberts
2005-03-04 11:23 ` Bob Rossi
2005-02-07 15:22 ` Andrew Cagney
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=20050206210637.GB19609@white \
--to=bob@brasko.net \
--cc=gdb@sources.redhat.com \
--cc=nickrob@snap.net.nz \
/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