Re: New ARI warning Wed May 23 01:55:03 UTC 2012

Doug Evans
2012-05-23T07:27:59Z

Hmmm, there's more than a few uses of long long in gdb (not all
conditioned on CC_HAS_LONG_LONG, though most are in target files) and
gdbserver (I was pretty sure I checked at the time).

So is this ARI check outdated?

I'm happy to change the code as necessary.
If we can't use C++ can we at least use a modern C? 1/2 :-)

On Wed, May 23, 2012 at 12:10 AM, Doug Evans <dje@google.com> wrote:
> Well, blech.
> src/include/leb128.h uses long long per request, so that's what I used here.
> src/include/anything obviously cannot use LONGEST/ULONGEST.
>
> Are long long's really verboten?
>
> I suppose I could create a gdb-leb128.h that used LONGEST/ULONGEST,
> but blech.
>
>
> On Tue, May 22, 2012 at 9:17 PM, Sergio Durigan Junior
> <sergiodj@redhat.com> wrote:
>> WDYT about the following patch?  I would like you to take a look at the
>> gdb/dwarf2expr.h's castings that I had to make in order to get the
>> compilation right.