debug compile: Replace confusing debug message
authorJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 2 Jul 2015 06:01:35 +0000 (08:01 +0200)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Thu, 2 Jul 2015 06:01:35 +0000 (08:01 +0200)
commitb0fd6b3037669534962b1ffe860db178ea7e1239
tree39e5d7a791da0475800cb1239badb876faf9524f
parent78ab7e9d38585cb939c473812e6a472b8f4fd5b9
debug compile: Replace confusing debug message

It was found that from

(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.

Change it to:

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) _

gdb/ChangeLog
2015-07-02  Jan Kratochvil  <jan.kratochvil@redhat.com>

* compile/compile-object-load.c (compile_object_load): Replace debug
message "lookup undefined ELF symbol" by 3 more specific messages.
gdb/ChangeLog
gdb/compile/compile-object-load.c
This page took 0.035719 seconds and 4 git commands to generate.