This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH]: fix compiler warning in java val_print.
- To: gdb-patches at sources dot redhat dot com
- Subject: Re: [PATCH]: fix compiler warning in java val_print.
- From: "Michael Snyder" <msnyder at cygnus dot com>
- Date: Thu, 27 Apr 2000 08:23:22 -0700
- Newsgroups: cygnus.patches.gdb
- Organization: Cygnus Solutions
- References: <39076237.3F6A@cygnus.com> <3907C293.FC355931@cygnus.com>
Andrew Cagney wrote in message <3907C293.FC355931@cygnus.com>...
>Michael Snyder wrote:
>>
>> This (a declaration for a function argument) gets rid of
>> a gcc -Wall warning in jv-valprint.c:
>>
>> 2000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>
>>
>> * jv-valprint.c (java_val_print): add arg declaration,
>> fix compiler warning.
>
>Michael,
>
>Just assume you can check these changes in.
Checked in.
>> Index: jv-valprint.c
>> ===================================================================
>> RCS file: /cvs/src/src/gdb/jv-valprint.c,v
>> retrieving revision 1.1.1.6
>> diff -p -r1.1.1.6 jv-valprint.c
>> *** jv-valprint.c 2000/02/02 00:21:08 1.1.1.6
>> --- jv-valprint.c 2000/04/26 21:19:11
>> *************** java_val_print (type, valaddr, embedded_
>> *** 454,459 ****
>> --- 454,460 ----
>> deref_ref, recurse, pretty)
>> struct type *type;
>> char *valaddr;
>> + int embedded_offset;
>> CORE_ADDR address;
>> struct ui_file *stream;
>> int format;