gdb/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 27 Jul 2011 17:08:06 +0000 (17:08 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Wed, 27 Jul 2011 17:08:06 +0000 (17:08 +0000)
commit3c6e0cb359c01c16799d3aac21e0624c8a5477b4
tree9701bb42b33ff4ba13c34555d5206c76ca92daa1
parent523f3620b87ac8de01a68777bed56e2ede6f68b7
gdb/
* dwarf2expr.c (ctx_no_read_reg): New function.
* dwarf2expr.h (ctx_no_read_reg): New declaration.
* dwarf2read.c (read_2_signed_bytes, read_4_signed_bytes): Remove.
(decode_locdesc_read_mem, decode_locdesc_ctx_funcs): New.
(decode_locdesc): Replace by a caller of dwarf_expr_eval.

gdb/testsuite/
* gdb.dwarf2/dw2-simple-locdesc.S: New file.
* gdb.dwarf2/dw2-simple-locdesc.exp: New file.
* gdb.dwarf2/dw2-stack-boundary.exp (check partial symtab errors):
Change the expected string.
gdb/ChangeLog
gdb/dwarf2expr.c
gdb/dwarf2expr.h
gdb/dwarf2read.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.dwarf2/dw2-simple-locdesc.S [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-simple-locdesc.exp [new file with mode: 0644]
gdb/testsuite/gdb.dwarf2/dw2-stack-boundary.exp