This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PUSHED] Handle OP_STRING in dump_subexp_body_standard
- From: Simon Marchi <simon dot marchi at ericsson dot com>
- To: Joel Brobecker <brobecker at adacore dot com>
- Cc: <gdb-patches at sourceware dot org>
- Date: Tue, 15 Jul 2014 11:44:46 -0400
- Subject: Re: [PUSHED] Handle OP_STRING in dump_subexp_body_standard
- Authentication-results: sourceware.org; auth=none
- References: <1405437917-1170-1-git-send-email-simon dot marchi at ericsson dot com> <20140715154254 dot GH4888 at adacore dot com>
On 14-07-15 11:42 AM, Joel Brobecker wrote:
>> (gdb) set debug expression 1
>> (gdb) print "hello"
>> ... (random garbage, possibly segfault)
> [...]
>> 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
>>
>> * expprint.c (dump_subexp_body_standard): Handle OP_STRING.
>
> I forgot something! Do you think you could add a test for that?
> It should be fairly straightforward to add one, I think.
Oh, indeed. That would go in gdb.base/debug-expr.exp I presume.