mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-11 13:02:10 +08:00
* breakpoint.c (breakpoint_address_bits): Visit all locations'
gdbarchs, not the breakpoint's gdbarch.
This commit is contained in:
parent
18d0c96eb9
commit
c561c2760c
@ -1,3 +1,8 @@
|
||||
2009-11-19 Pedro Alves <pedro@codesourcery.com>
|
||||
|
||||
* breakpoint.c (breakpoint_address_bits): Visit all locations'
|
||||
gdbarchs, not the breakpoint's gdbarch.
|
||||
|
||||
2009-11-18 Vladimir Prus <vladimir@codesourcery.com>
|
||||
|
||||
* cli/cli-script.c (process_next_line): Recognize 'end'
|
||||
|
@ -4268,7 +4268,7 @@ breakpoint_address_bits (struct breakpoint *b)
|
||||
|
||||
for (loc = b->loc; loc; loc = loc->next)
|
||||
{
|
||||
int addr_bit = gdbarch_addr_bit (b->gdbarch);
|
||||
int addr_bit = gdbarch_addr_bit (loc->gdbarch);
|
||||
if (addr_bit > print_address_bits)
|
||||
print_address_bits = addr_bit;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user