Andrew Burgess
a500c3d8e0
gdb/breakpoint: use warning function instead of gdb_printf
...
Noticed that in breakpoint.c, in one place, we do this:
gdb_printf (_("warning: Error removing "
"breakpoint %d\n"),
old_loc->owner->number);
Instead of using the `warning` function. There are a number of
differences between using gdb_printf like this and calling `warning`,
the main one is probably that real warnings are sent to gdb_stderr,
while the above gdb_printf call will go to gdb_stdout.
In this commit I:
1. Change to call `warning`, we can drop the "warning: " prefix from
the string in breakpoint.c,
2. Update the warning text, I now start with a lower case 'e', which
I believe is the GDB style for warnings,
3. And I have included the address of the bp_location in the warning
messsage,
4. Finally, I update all the tests (2) that include this error
message.
Reviewed-By: Tom Tromey <tom@tromey.com >
2023-05-19 10:15:01 +01:00
..
2023-03-18 17:50:56 +01:00
2023-02-28 10:56:28 +00:00
2023-04-06 16:52:34 +01:00
2023-03-10 08:21:46 -07:00
2023-03-18 10:16:30 +01:00
2023-03-18 10:16:30 +01:00
2023-02-15 20:58:10 +00:00
2023-03-03 14:13:00 -05:00
2023-05-12 13:45:52 +01:00
2023-03-10 08:21:46 -07:00
2023-04-03 14:46:32 +01:00
2023-04-03 14:46:32 +01:00
2023-03-10 08:21:46 -07:00
2023-05-19 10:15:01 +01:00
2023-03-07 15:20:18 +01:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-04-27 13:56:37 +01:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-02-27 19:12:28 +00:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-03-10 08:21:46 -07:00
2023-04-03 14:46:32 +01:00
2023-03-10 08:21:46 -07:00
2023-03-06 16:55:22 -08:00
2023-03-06 16:55:22 -08:00
2023-04-27 13:56:37 +01:00
2023-03-10 08:21:46 -07:00
2023-04-27 13:56:34 +01:00
2023-05-05 17:59:21 +01:00
2023-04-27 13:56:38 +01:00
2023-02-23 12:50:30 -07:00
2023-03-03 16:51:57 +01:00
2023-03-03 16:51:57 +01:00
2023-03-03 16:51:57 +01:00
2023-04-27 13:56:37 +01:00
2023-04-27 13:56:37 +01:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-04-14 20:06:20 +08:00
2023-04-07 10:26:02 +02:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-04-28 10:43:20 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-16 22:59:34 +08:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-04-27 13:56:37 +01:00
2023-03-07 15:28:52 +01:00
2023-02-28 10:56:28 +00:00
2023-03-18 10:16:30 +01:00
2023-03-01 20:54:56 -05:00
2023-03-01 20:54:56 -05:00
2023-03-01 20:54:56 -05:00
2023-04-27 13:56:38 +01:00
2023-02-21 12:36:15 -07:00
2023-04-03 14:46:32 +01:00
2023-03-10 08:21:46 -07:00
2023-05-19 10:15:01 +01:00
2023-03-27 13:58:09 +02:00
2023-04-03 14:46:32 +01:00
2023-04-03 14:46:32 +01:00
2023-03-10 08:21:46 -07:00
2023-03-18 10:16:30 +01:00
2023-03-18 10:16:30 +01:00
2023-03-10 08:21:46 -07:00
2023-04-28 22:50:46 +01:00
2023-03-10 08:21:46 -07:00
2023-04-27 13:56:37 +01:00
2023-03-01 20:54:56 -05:00
2023-02-27 19:12:28 +00:00
2023-03-10 08:21:46 -07:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-03-10 08:21:46 -07:00
2023-05-08 09:19:29 +02:00
2023-05-08 09:19:29 +02:00
2023-03-10 08:21:46 -07:00
2023-04-07 10:26:02 +02:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-05-12 13:45:52 +01:00
2023-03-22 15:13:17 -04:00
2023-02-24 13:52:12 +01:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-04-27 13:56:38 +01:00
2023-04-27 13:56:38 +01:00
2023-04-27 13:56:38 +01:00
2023-05-05 18:57:06 +02:00
2023-03-10 08:21:46 -07:00
2023-04-07 10:26:02 +02:00
2023-04-17 10:43:06 -06:00
2023-04-27 13:56:37 +01:00
2023-04-27 13:56:37 +01:00
2023-03-10 08:21:46 -07:00
2023-05-16 12:27:47 +00:00
2023-03-10 08:21:46 -07:00
2023-04-29 10:47:46 +02:00
2023-03-10 08:21:46 -07:00
2023-04-27 13:56:37 +01:00
2023-03-18 17:50:56 +01:00
2023-03-20 10:37:15 +00:00
2023-03-10 08:21:46 -07:00
2023-04-27 13:56:37 +01:00
2023-05-12 13:45:52 +01:00
2023-02-15 20:58:00 +00:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-07 14:46:24 +01:00
2023-04-27 13:56:38 +01:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-10 08:21:46 -07:00
2023-03-07 15:45:47 +01:00
2023-03-18 10:16:30 +01:00
2023-03-18 10:16:30 +01:00
2023-03-10 08:21:46 -07:00
2023-02-23 12:50:30 -07:00
2023-03-10 08:21:46 -07:00
2023-04-07 10:26:02 +02:00
2023-03-31 17:15:37 +02:00
2023-04-27 13:56:37 +01:00
2023-02-20 12:20:14 +01:00
2023-02-20 12:20:14 +01:00
2023-03-10 08:21:46 -07:00
2023-04-24 14:48:06 +02:00
2023-03-18 17:50:56 +01:00
2023-03-18 17:50:56 +01:00
2023-03-18 10:16:30 +01:00
2023-03-18 10:16:30 +01:00
2023-03-10 08:21:46 -07:00
2023-04-27 13:56:37 +01:00
2023-03-10 08:21:46 -07:00
2023-05-02 22:51:10 +02:00
2023-04-27 13:56:38 +01:00
2023-03-03 16:51:57 +01:00
2023-04-27 13:56:38 +01:00
2023-05-12 13:45:52 +01:00
2023-04-27 13:56:37 +01:00