mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-30 12:44:10 +08:00
gdb
PR symtab/8399: * dwarf2loc.c (locexpr_describe_location_piece): Don't call error for unrecognized frame base expression. gdb/testsuite PR symtab/8399: * gdb.threads/tls.exp: Remove kfail. Update expected output.
This commit is contained in:
parent
515ed53230
commit
7155d5780a
@ -1,3 +1,9 @@
|
||||
2010-09-14 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
PR symtab/8399:
|
||||
* dwarf2loc.c (locexpr_describe_location_piece): Don't call error
|
||||
for unrecognized frame base expression.
|
||||
|
||||
2010-09-14 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
PR exp/11803:
|
||||
|
@ -1940,7 +1940,7 @@ locexpr_describe_location_piece (struct symbol *symbol, struct ui_file *stream,
|
||||
struct symbol *framefunc;
|
||||
int frame_reg = 0;
|
||||
LONGEST frame_offset;
|
||||
const gdb_byte *base_data, *new_data;
|
||||
const gdb_byte *base_data, *new_data, *save_data = data;
|
||||
size_t base_size;
|
||||
LONGEST base_offset = 0;
|
||||
|
||||
@ -1984,10 +1984,7 @@ locexpr_describe_location_piece (struct symbol *symbol, struct ui_file *stream,
|
||||
{
|
||||
/* We don't know what to do with the frame base expression,
|
||||
so we can't trace this variable; give up. */
|
||||
error (_("Cannot describe location of symbol \"%s\"; "
|
||||
"DWARF 2 encoding not handled, "
|
||||
"first opcode in base data is 0x%x."),
|
||||
SYMBOL_PRINT_NAME (symbol), base_data[0]);
|
||||
return save_data;
|
||||
}
|
||||
|
||||
regno = gdbarch_dwarf2_reg_to_regnum (gdbarch, frame_reg);
|
||||
|
@ -1,3 +1,8 @@
|
||||
2010-09-14 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
PR symtab/8399:
|
||||
* gdb.threads/tls.exp: Remove kfail. Update expected output.
|
||||
|
||||
2010-09-14 Tom Tromey <tromey@redhat.com>
|
||||
|
||||
PR exp/11803:
|
||||
|
@ -284,8 +284,8 @@ runto spin
|
||||
gdb_test "info address a_global" \
|
||||
".*a_global.*static storage at address.*" "info address a_global"
|
||||
|
||||
setup_kfail "gdb/1294" "*-*-*"
|
||||
gdb_test "info address me" ".*me.*is a variable at offset.*" "info address me"
|
||||
gdb_test "info address me" ".*me.*is a complex DWARF expression:.*" \
|
||||
"info address me"
|
||||
|
||||
|
||||
# Test LOC_UNRESOLVED references resolving for `extern' TLS variables.
|
||||
|
Loading…
Reference in New Issue
Block a user