This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PUSHED] Handle OP_STRING in dump_subexp_body_standard


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]