This is the mail archive of the gdb-patches@sources.redhat.com 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]

breakpoint error messages


I changed insert_breakpoints to collect all the warning messages from
failed inserts and print them with an error after trying the whole
queue. This changes the functionality slightly -- the old code stopped
after the first failed insert of a breakpoint. I also changed the
error messages to be more explicit about hardware breakpoints.

ok?

grace

2002-08-21  Grace Sainsbury  <graces@redhat.com>

	* infrun.c (normal_stop, proceed): Remove call to print_sys_errmsg
	when breakpoints fail. Move general breakpoint error messages to
	insert_breakpoints.	
	* breakpoint.c (insert_breakpoints): Change warnings when
	breakpoints are nto inserted to specify the type. Remove call to
	memory_error when breakpoints can't be inserted. Remove multiple
	calls to warning so all messages are sent to the user at once.
	(delete_breakpoints): Make insert error messsages more explicit.

Attachment: patch
Description: Text document


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