This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA/dwarf-2] Fix for the null record problem


> I like the idea, but there are two gotchas:
> 
> . update the copyright year in class2.exp
    (sound of a club banging on my head)

> . quote the '{' and '}' chars in class2.exp:
> 
>   "= \{<No data fields>\}"
> 
> With these two changes, and if you re-test, then I approve the patch.

Thanks. Here is what I ended up checking in.

2004-02-26  J. Brobecker  <brobecker@gnat.com>

        * gdb.cp/class2.cc (empty): New class.
        (refer): New function.
        (main): Declare an object of type empty and use it.
        * gdb.cp/class2.exp: Print the value of an object of type empty.

Re-tested on x86-linux.

-- 
Joel

Attachment: empty.diff
Description: Text document


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