This is the mail archive of the insight@sourceware.org mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: undefined reference to `set_breakpoint'


On 03/30/2010 01:29 AM, Hui Zhu wrote:
Ping. Did I miss something?


Nope -- I did. After the breakpoint commands API was fiddled with, I worked up the original patch. Some (brief) time after committing my patch, the API was fiddled with again.


I apologize about the confusion. Try this patch, which I've committed.

Keith

ChangeLog
2010-03-30  Keith Seitz  <keiths@redhat.com>

	* generic/gdbtk-bp.c (gdb_get_breakpoint_info): Breakpoint
	commands are now reference counted. Adjust data pointers.
	(gdb_get_tracepoint_info): Likewise.
	(gdb_actions_command): Don't free previous actions. If the
	commands aren't valid, we would prefer to keep the old ones
	any way. break_point_set_commands will also clobber any
	previous results anyway.

Attachment: more-bp-cmd-fixes.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]