Simplify MI breakpoint setting

Vladimir Prus vladimir@codesourcery.com
Sat Aug 1 07:13:00 GMT 2009


I've noticed that mi_cmd_break_insert does some fairly
contrived logic which amounts to passing either 0 or 1
as the value of 'hardware' parameter to set_breakpoint.
Further, set_breakpoint appears to be trivial and useless
wrapper over break_command_really. This patch cleans that
up. Are breakpoint.{c,h} changes OK?

- Volodya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mi-break-simplify.diff
Type: text/x-patch
Size: 4844 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20090801/935216ac/attachment.bin>


More information about the Gdb-patches mailing list