* breakpoint.c (break_command_really): Change return type to int.
authorPedro Alves <palves@redhat.com>
Fri, 12 Feb 2010 00:47:53 +0000 (00:47 +0000)
committerPedro Alves <palves@redhat.com>
Fri, 12 Feb 2010 00:47:53 +0000 (00:47 +0000)
commitfd9b8c249a7a95cc869675f09634e62c808483bc
tree136ef6ae930765c16ca569db55da63002254e2b5
parent28ed0eccaa5aaede7dd1b3bc3396814ca9d86939
* breakpoint.c (break_command_really): Change return type to int.
Return false if no breakpoint was created, true otherwise.
(trace_command): Don't set the tracepoint count if no tracepoint
was created.
(ftrace_command): Ditto.
(create_tracepoint_from_upload): Bail out if the tracepoint wasn't
created in the breakpoints table.
gdb/ChangeLog
gdb/breakpoint.c