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] |
The text changes are up to JimB or MichaelS.I fixed up the error mesages the user gets when gdb can't insert breakpoints.
target_terminal_ours_for_output ();memory_error() eventually calls error() which ``bombs us out'' (long jump's back to main ...). The above changes the behavour in a number of ways.
- warning ("Cannot insert breakpoint %d:", b->number);
+ if (b->type == bp_hardware_breakpoint)
+ {
+ warning ("Cannot insert hardware breakpoint %d:", b->number);
+ }
+ else + {
+ warning ("Cannot insert breakpoint %d:", b->number);
+ }
#ifdef ONE_PROCESS_WRITETEXT
warning ("The same program may be running in another process.");
#endif
- memory_error (val, b->address); /* which bombs us out */
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |