This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [PATCH]: gdb/769 - segv fault on "info shared" on GDB 5.2.1 HPUX64 11.00
- From: Kevin Buettner <kevinb at redhat dot com>
- To: Josh Martin <Josh dot Martin at abq dot sc dot philips dot com>, gdb-patches at sources dot redhat dot com
- Date: Mon, 25 Nov 2002 16:08:20 -0700
- Subject: Re: [PATCH]: gdb/769 - segv fault on "info shared" on GDB 5.2.1 HPUX64 11.00
- References: <200210092342.g99Ngrp05819@atoae450.abq.sc.philips.com>
On Oct 9, 5:42pm, Josh Martin wrote:
> 2002-09-28 Josh Martin <timeslice@iname.com>
>
> * solib.c (info_sharedlibrary_command): Added catch for potential
> dereference of NULL pointer (current_target_so_ops).
> Fix PR gdb/769.
Josh,
Your patch looks reasonable. I think I'd prefer to see a call to error()
instead of printf_unfiltered() though:
> > + printf_unfiltered("Shared library info is not yet implemented on this "
> > + "platform\n");
Sorry for taking so long on this.
Kevin