From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6828 invoked by alias); 7 May 2002 21:35:30 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 6821 invoked from network); 7 May 2002 21:35:29 -0000 Received: from unknown (HELO gash2.peakpeak.com) (207.174.178.17) by sources.redhat.com with SMTP; 7 May 2002 21:35:29 -0000 Received: from creche.cygnus.com (ta0202.peakpeak.com [204.144.244.202]) by gash2.peakpeak.com (8.9.3/8.9.3) with ESMTP id PAA31733; Tue, 7 May 2002 15:35:26 -0600 Received: (from tromey@localhost) by creche.cygnus.com (8.9.3/8.9.3) id PAA22609; Tue, 7 May 2002 15:45:14 -0600 To: Michael Snyder Cc: gdb-patches@sources.redhat.com Subject: Re: Patch: printing java `char' values References: <877kmh8a6r.fsf@creche.redhat.com> <3CD8429E.DA6D6BC7@redhat.com> From: Tom Tromey Reply-To: tromey@redhat.com X-Attribution: Tom X-Zippy: Yow! I'm imagining a surfer van filled with soy sauce! Date: Tue, 07 May 2002 14:35:00 -0000 In-Reply-To: Michael Snyder's message of "Tue, 07 May 2002 14:09:50 -0700" Message-ID: <873cx3vdhy.fsf@creche.redhat.com> X-SW-Source: 2002-05/txt/msg00179.txt.bz2 >>>>> "Michael" == Michael Snyder writes: Michael> D'oh. I just remembered -- GDB always labels chars as Michael> "TYPE_CODE_INT". Sorry I didn't think about it earlier. Don't worry -- I'm just happy anybody read the patch. Michael> TYPE_CODE_INT is more of a class than a type. It includes Michael> all integer-like types, including char, short, int, long, and Michael> long long. Michael> I've no idea what context TYPE_CODE_CHAR might be used in. Ok. Does this mean my patch is ok? Or is there something better way to do it? BTW, if you know about types in gdb, I also sent another Java type related patch last week. Again, to me it looked like a hack, but I don't really understand what is going on. Thanks, Tom