This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [patch] debug compile: Replace confusing debug message
- From: Phil Muldoon <pmuldoon at redhat dot com>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sourceware dot org
- Date: Wed, 01 Jul 2015 13:33:11 +0100
- Subject: Re: [patch] debug compile: Replace confusing debug message
- Authentication-results: sourceware.org; auth=none
- References: <20150701122048 dot GA7170 at host1 dot jankratochvil dot net>
On 01/07/15 13:20, Jan Kratochvil wrote:
> Hi,
>
> It was found that
>
> (gdb) set debug compile 1
> (gdb) compile code 1
> [...]
> allocated 0x7f bytes at 0x7ffff7ff9000 prot 5
> allocated 0x38 bytes at 0x7ffff7ff8000 prot 1
> lookup undefined ELF symbol "_GLOBAL_OFFSET_TABLE_"
> allocated 0x10 bytes at 0x7ffff7ff7000 for registers
> (gdb) _
>
> the message 'lookup undefined ELF symbol' looks as an error to people,
> including to myself once.
>
> ->
> allocated 0x7f bytes at 0x7ffff7ff9000 prot 5
> allocated 0x38 bytes at 0x7ffff7ff8000 prot 1
> ELF symbol "_GLOBAL_OFFSET_TABLE_" relocated to zero
> allocated 0x10 bytes at 0x7ffff7ff7000 for registers
> (gdb) _
>
Fine by me
Cheers
Phil