This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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]

[PATCH] fix Bug 15180 Agent style dprintf does not respect conditions


Hi,

This is because in linux_wait_1, it didn't add any check just call
run_breakpoint_commands (event_child->stop_pc);

So I add a check call run_breakpoint_commands only when condition is true.

Because I don't know howto handle the output in gdbserver.  So I
didn't add test for it.

Thanks,
Hui

2013-04-23  Hui Zhu  <hui@codesourcery.com>

	PR gdb/15180

	* linux-low.c (linux_wait_1): Add a check before call
	run_breakpoint_commands.

Attachment: dprintf-gdbserver-cond.txt
Description: Text document


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