summaryrefslogtreecommitdiff
path: root/gdb/dwarf2read.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>2000-02-05 07:30:26 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>2000-02-05 07:30:26 +0000
commitb7ebfe07f32e9873605d6ff420e63f1c9b627559 (patch)
treedd19e577ac6d8d46f92d0bbe9af1626df8aece50 /gdb/dwarf2read.c
parent1b6027a5b62e0290ef2ca2e514f98a904e8c01d0 (diff)
downloadgdb-b7ebfe07f32e9873605d6ff420e63f1c9b627559.tar.gz
import gdb-2000-02-04 snapshot
Diffstat (limited to 'gdb/dwarf2read.c')
-rw-r--r--gdb/dwarf2read.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gdb/dwarf2read.c b/gdb/dwarf2read.c
index 83679fe5778..68c2f8e33a3 100644
--- a/gdb/dwarf2read.c
+++ b/gdb/dwarf2read.c
@@ -5749,6 +5749,14 @@ decode_locdesc (blk, objfile)
i += bytes_read;
break;
+ case DW_OP_bregx:
+ offreg = 1;
+ basereg = read_unsigned_leb128 (NULL, (data + i), &bytes_read);
+ i += bytes_read;
+ stack[++stacki] = read_signed_leb128 (NULL, (data + i), &bytes_read);
+ i += bytes_read;
+ break;
+
case DW_OP_fbreg:
stack[++stacki] = read_signed_leb128 (NULL, (data + i), &bytes_read);
i += bytes_read;