This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: gdb-7.5 branch ready for first release?
- From: Tom Tromey <tromey at redhat dot com>
- To: Ralf Corsepius <ralf dot corsepius at googlemail dot com>
- Cc: Joel Brobecker <brobecker at adacore dot com>, gdb-patches at sourceware dot org
- Date: Wed, 08 Aug 2012 14:46:45 -0600
- Subject: Re: gdb-7.5 branch ready for first release?
- References: <20120803134518.GZ27483@adacore.com> <50201D0C.50005@gmail.com>
>>>>> "Ralf" == Ralf Corsepius <ralf.corsepius@googlemail.com> writes:
Ralf> Would such a patch be acceptable or is using inttypes.h/stdint.h being
Ralf> considered a "no-go"?
I can't speak to the sim changes.
For this one:
Ralf> diff --git a/gdb/symfile.c b/gdb/symfile.c
Ralf> index 01252e2..01720fa 100644
Ralf> --- a/gdb/symfile.c
Ralf> +++ b/gdb/symfile.c
Ralf> @@ -2889,8 +2889,8 @@ allocate_symtab (const char *filename, struct objfile *objfile)
Ralf> last_objfile_name);
Ralf> }
Ralf> fprintf_unfiltered (gdb_stdlog,
Ralf> - "Created symtab 0x%lx for module %s.\n",
Ralf> - (long) symtab, filename);
Ralf> + "Created symtab 0x%p for module %s.\n",
Ralf> + symtab, filename);
Ralf> }
Rather than %p I think it is the norm in gdb to use %s with
host_address_to_string.
Tom