aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2011-02-28 16:20:21 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2011-02-28 16:20:21 +0000
commit12c5a436a828ea809e4af3946a47c0f59cc77e92 (patch)
tree79560c6f975d1d72bbcbf76a4a131f206659dd00
parent3eebd5eb0363a2a057d2c24854152d99a5e546bf (diff)
downloadgdb-12c5a436a828ea809e4af3946a47c0f59cc77e92.zip
gdb-12c5a436a828ea809e4af3946a47c0f59cc77e92.tar.gz
gdb-12c5a436a828ea809e4af3946a47c0f59cc77e92.tar.bz2
* breakpoint.c (print_one_breakpoint_location): Remove unused
argument PRINT_ADDRESS_BITS. Update callers. (print_one_breakpoint): Likewise.
-rw-r--r--gdb/ChangeLog6
-rw-r--r--gdb/breakpoint.c14
2 files changed, 10 insertions, 10 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index a821470..874d2d8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,11 @@
2011-02-28 Ulrich Weigand <uweigand@de.ibm.com>
+ * breakpoint.c (print_one_breakpoint_location): Remove unused
+ argument PRINT_ADDRESS_BITS. Update callers.
+ (print_one_breakpoint): Likewise.
+
+2011-02-28 Ulrich Weigand <uweigand@de.ibm.com>
+
* breakpoint.c (wrap_indent_at_field): New function.
(print_breakpoint_location): Use it instead of WRAP_INDENT argument.
Allocate ui_stream locally instead of using STB argument.
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index a38fed9..84b1c8d 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -4708,7 +4708,6 @@ print_one_breakpoint_location (struct breakpoint *b,
struct bp_location *loc,
int loc_number,
struct bp_location **last_loc,
- int print_address_bits,
int allflag)
{
struct command_line *l;
@@ -4999,11 +4998,9 @@ print_one_breakpoint_location (struct breakpoint *b,
static void
print_one_breakpoint (struct breakpoint *b,
struct bp_location **last_loc,
- int print_address_bits,
int allflag)
{
- print_one_breakpoint_location (b, NULL, 0, last_loc,
- print_address_bits, allflag);
+ print_one_breakpoint_location (b, NULL, 0, last_loc, allflag);
/* If this breakpoint has custom print function,
it's already printed. Otherwise, print individual
@@ -5025,8 +5022,7 @@ print_one_breakpoint (struct breakpoint *b,
struct bp_location *loc;
int n = 1;
for (loc = b->loc; loc; loc = loc->next, ++n)
- print_one_breakpoint_location (b, loc, n, last_loc,
- print_address_bits, allflag);
+ print_one_breakpoint_location (b, loc, n, last_loc, allflag);
}
}
}
@@ -5070,9 +5066,7 @@ do_captured_breakpoint_query (struct ui_out *uiout, void *data)
{
if (args->bnum == b->number)
{
- int print_address_bits = breakpoint_address_bits (b);
-
- print_one_breakpoint (b, &dummy_loc, print_address_bits, 0);
+ print_one_breakpoint (b, &dummy_loc, 0);
return GDB_RC_OK;
}
}
@@ -5243,7 +5237,7 @@ breakpoint_1 (char *args, int allflag,
/* We only print out user settable breakpoints unless the
allflag is set. */
if (allflag || user_breakpoint_p (b))
- print_one_breakpoint (b, &last_loc, print_address_bits, allflag);
+ print_one_breakpoint (b, &last_loc, allflag);
}
do_cleanups (bkpttbl_chain);