This is the mail archive of the
insight@sources.redhat.com
mailing list for the Insight project.
Re: question about breakpoints
- To: tromey at redhat dot com
- Subject: Re: question about breakpoints
- From: Fernando Nasser <fnasser at cygnus dot com>
- Date: Mon, 04 Dec 2000 18:43:35 -0500
- CC: Insight List <insight at sourceware dot cygnus dot com>
- Organization: Red Hat , Inc. - Toronto
- References: <87zoib3n80.fsf@creche.redhat.com>
Tom Tromey wrote:
>
> I'd really like to access the `exp_string' and `addr_string' fields of
> gdb's `struct breakpoint'. Currently the Tcl interface gives me no
> way to do that.
>
Sorry Tom, I missed the fact that these two are not ever printed.
In this case a new function would be in order. I also missed the fact
that before the CLI is converted, we cannot add info to this commands
without having them printed as well (something not difficult to fix but
that we haven't added because it would eventually become unnecessary).
I thought you were going to save/reinsert breakpoints based on the symbolic
information rather than in the addresses. That has a better chance of surviving
between debugger invocation. In that case you could be able to reconstruct
a "linespec" from the print_one_breakpoint info (i.e., our gdb_get_breakpoint_info).
Regards,
Fernando
--
Fernando Nasser
Red Hat - Toronto E-Mail: fnasser@redhat.com
2323 Yonge Street, Suite #300
Toronto, Ontario M4P 2C9