RFA: Breakpoint infrastructure cleanups [0/8]

Michael Elizabeth Chastain mec@shout.net
Wed Oct 15 22:14:00 GMT 2003


Michael Snyder writes:
> Disassemble doesn't share the same syntax/semantics (decode_line_1);
> it has its own (I think?) -- but you're right, it's another command
> that takes a source location and "translates" it into a target
> location.

Yeah, we are in agreement here.  My point is that there are
"source" locations (or whatever we want to call them)
and "target" locations (or whatever we want to call them).
We have to go back to the manual and the design stage and separate
all these out as separate concepts.

mec>   (gdb) break *0x12345678
ms> Now I don't follow you.  "*0x12345678" isn't a source address.
ms> Is it?

Ah, I am just saying that this is a user command that is oriented
towards "target" locations.  So we can't just hide the concept
of "target" location from people, because that concept is already
present in the input language.

Michael C



More information about the Gdb-patches mailing list