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 15184 Cannot change dprintf style to agent for existing dprintfs


Hi,

This bug is because build_target_command_list didn't reset
bl->target_info.tcommands because bl->needs_update is 0 after change
dprintf style.
So Update needs_update in update_dprintf_command_list.

Also I update test for it.

Please help me review it.

Thanks,
Hui

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

	PR gdb/15184

	* breakpoint.c (update_dprintf_command_list): Set needs_update.

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

	PR gdb/15184

	* gdb.base/dprintf.exp: Add test for agent update.

Attachment: dprintf-update.txt
Description: Text document

Attachment: dprintf-update-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]