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 PR 15180 "May only run agent-printf on the target"


Hi,

This patch is for PR 15180 too.  Because it depends on patch in
http://sourceware.org/ml/gdb-patches/2013-06/msg00139.html
So I post it in another thread.

It make dprintf_after_condition_true doesn't do actions if dprintf
style is agent.  Because the actions is already did in agent.

The test patch test the issue about 15180.

Thanks,
Hui

2013-06-17  Hui Zhu  <hui@codesourcery.com>

	PR gdb/15180
	* breakpoint.c (dprintf_after_condition_true): Check dprintf style
	before do actions.

2013-06-17  Hui Zhu  <hui@codesourcery.com>

	PR gdb/15180
	* gdb.base/dprintf-same-addr.c: New file.
	* gdb.base/dprintf-same-addr.exp: New file.

Attachment: dprintf-same-addr.txt
Description: Text document

Attachment: dprintf-same-addr-test.txt
Description: Text document


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