From mboxrd@z Thu Jan 1 00:00:00 1970 From: Fernando Nasser To: tromey@redhat.com Cc: Insight List Subject: Re: question about breakpoints Date: Mon, 04 Dec 2000 15:43:00 -0000 Message-id: <3A2C2C27.55E00F47@cygnus.com> References: <87zoib3n80.fsf@creche.redhat.com> X-SW-Source: 2000-q4/msg00373.html 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