From: Andrew Burgess <aburgess@broadcom.com>
To: <gdb-patches@sourceware.org>
Subject: [PATCH [1/2] Add support for DW_OP_bit_piece and DW_OP_plus_uconst to DWARF assembler.
Date: Wed, 04 Dec 2013 15:25:00 -0000 [thread overview]
Message-ID: <529F493C.8090201@broadcom.com> (raw)
In-Reply-To: <529F489F.7070805@broadcom.com>
Add some additional DW_OP_ support to the DWARF assembler.
OK to apply?
Thanks,
Andrew
gdb/testsuite/ChangeLog
* lib/gdb.exp (_location): Handle DW_OP_bit_piece and
DW_OP_plus_uconst.
diff --git a/gdb/testsuite/lib/dwarf.exp b/gdb/testsuite/lib/dwarf.exp
index c28b986..e916477 100644
--- a/gdb/testsuite/lib/dwarf.exp
+++ b/gdb/testsuite/lib/dwarf.exp
@@ -716,10 +716,19 @@ namespace eval Dwarf {
_op .sleb128 [lindex $line 1]
}
+ DW_OP_plus_uconst {
+ _op .uleb128 [lindex $line 1]
+ }
+
DW_OP_piece {
_op .uleb128 [lindex $line 1]
}
+ DW_OP_bit_piece {
+ _op .uleb128 [lindex $line 1]
+ _op .uleb128 [lindex $line 2]
+ }
+
DW_OP_GNU_implicit_pointer {
if {[llength $line] != 3} {
error "usage: DW_OP_GNU_implicit_pointer LABEL OFFSET"
next prev parent reply other threads:[~2013-12-04 15:25 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-04 15:22 PATCH [0/2] Convert unavailable vector to be bit, not byte, based Andrew Burgess
2013-12-04 15:25 ` Andrew Burgess [this message]
2013-12-05 16:23 ` [PATCH [1/2] Add support for DW_OP_bit_piece and DW_OP_plus_uconst to DWARF assembler Pedro Alves
2013-12-05 18:53 ` Tom Tromey
2013-12-06 13:30 ` Andrew Burgess
2013-12-04 15:26 ` [PATCH [0/2] Convert the unavailable vector to be bit, not byte, based Andrew Burgess
2013-12-05 16:18 ` [PATCH [2/2] " Pedro Alves
2013-12-09 21:04 ` Andrew Burgess
2013-12-10 11:32 ` Pedro Alves
2013-12-11 16:28 ` Andrew Burgess
2013-12-11 18:45 ` Pedro Alves
2013-12-17 17:30 ` Andrew Burgess
2013-12-05 16:18 ` PATCH [0/2] Convert " Pedro Alves
2013-12-05 18:14 ` Doug Evans
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=529F493C.8090201@broadcom.com \
--to=aburgess@broadcom.com \
--cc=gdb-patches@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox