Re: [PATCH] Add fullname field for MI -break-info command

Vladimir Prus
2006-01-26T07:10:33Z

Bob Rossi wrote:

>> > > > Also, don't forget about the documentation.
>> > >
>> > > Well, at the moment the -break-info command is not documented at all,
>> > > so there's no place where I can add the extra "fullname" field.
>> >
>> > Hmm, there is a section in the gdb.texinfo manual that says
>> > @c REDUNDANT???
>> > Get information about a single breakpoint.
>> > how is this command useful, instead of just using -break-list?
>>
>> Hmm, so I should update all examples of "-break-list" output as well?
>> What path should I put there? Is
>> /home/foo/bar/<whatever-the-source-file-is>.c fine?
>
> Yes, please update the documentation for -break-list, and I don't know
> if you should even bother with -break-info. I still don't know if that
> command should exist if it's identical to -break-list. A machine
> interface does not need 2 commands for the same functionatlity, IMO.

Strictly speaking, they are not the same. -break-list is documented to print
list of all breakpoints, while -break-info is documented to print
information about one breakpoint.

- Volodya