hjl.tools at gmail dot com
2018-05-21 15:56:00 UTC
https://sourceware.org/bugzilla/show_bug.cgi?id=23210
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markus.t.metzger at intel dot com
Summary|Bogus Breakpoint address |[[Regression] Bogus
|adjusted from 0xf7fe7dd3 to |Breakpoint address adjusted
|0xfffffffff7fe7dd3. |from 0xf7fe7dd3 to
| |0xfffffffff7fe7dd3.
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
[***@gnu-skl-1 gdb]$ cat x.c
#include <stdio.h>
int
main ()
{
printf ("hello\n");
return 0;
}
[***@gnu-skl-1 gdb]$ gcc -g x.c -m32 -fPIE -pie
[***@gnu-skl-1 gdb]$ gdb a.out
GNU gdb (GDB) Fedora 8.1-15.fc28
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from a.out...done.
(gdb) b main
Breakpoint 1 at 0x11c6: file x.c, line 6.
(gdb) r
Starting program: /export/build/gnu/gdb/build-x86_64-linux/gdb/a.out
Missing separate debuginfos, use: dnf debuginfo-install
glibc-2.27-14.1.fc28.i686
Breakpoint 1, main () at x.c:6
6 printf ("hello\n");
(gdb) q
A debugging session is active.
Inferior 1 [process 25461] will be killed.
Quit anyway? (y or n) y
[***@gnu-skl-1 gdb]$ ./gdb a.out
Exception caught while booting Guile.
Error in function "open-file":
No such file or directory: "/usr/local/share/gdb/guile/gdb/boot.scm"
./gdb: warning: Could not complete Guile gdb module initialization from:
/usr/local/share/gdb/guile/gdb/boot.scm.
Limited Guile support is available.
Suggest passing --data-directory=/path/to/gdb/data-directory.
Python Exception <type 'exceptions.ImportError'> No module named gdb:
./gdb: warning:
Could not load the Python gdb module from `/usr/local/share/gdb/python'.
Limited Python support is available from the _gdb module.
Suggest passing --data-directory=/path/to/gdb/data-directory.
GNU gdb (GDB) 8.1.50.20180521-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from a.out...done.
(gdb) b main
Breakpoint 1 at 0x11c6: file x.c, line 6.
(gdb) r
Starting program: /export/build/gnu/gdb/build-x86_64-linux/gdb/a.out
warning: Breakpoint address adjusted from 0xf7fd6b51 to 0xfffffffff7fd6b51.
warning: Breakpoint address adjusted from 0xf7fd7529 to 0xfffffffff7fd7529.
warning: Breakpoint address adjusted from 0xf7fd9a8c to 0xfffffffff7fd9a8c.
warning: Breakpoint address adjusted from 0xf7fd9614 to 0xfffffffff7fd9614.
warning: Breakpoint address adjusted from 0xf7fe7dd3 to 0xfffffffff7fe7dd3.
warning: Breakpoint address adjusted from 0xf7fe8a56 to 0xfffffffff7fe8a56.
warning: Breakpoint address adjusted from 0xf7fe8d14 to 0xfffffffff7fe8d14.
Program received signal SIGINT, Interrupt.
Python Exception <type 'exceptions.NameError'> Installation error:
gdb.execute_unwinders function is missing:
0xf7fd6b51 in ?? () from /lib/ld-linux.so.2
(gdb)
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markus.t.metzger at intel dot com
Summary|Bogus Breakpoint address |[[Regression] Bogus
|adjusted from 0xf7fe7dd3 to |Breakpoint address adjusted
|0xfffffffff7fe7dd3. |from 0xf7fe7dd3 to
| |0xfffffffff7fe7dd3.
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> ---
[***@gnu-skl-1 gdb]$ cat x.c
#include <stdio.h>
int
main ()
{
printf ("hello\n");
return 0;
}
[***@gnu-skl-1 gdb]$ gcc -g x.c -m32 -fPIE -pie
[***@gnu-skl-1 gdb]$ gdb a.out
GNU gdb (GDB) Fedora 8.1-15.fc28
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-redhat-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from a.out...done.
(gdb) b main
Breakpoint 1 at 0x11c6: file x.c, line 6.
(gdb) r
Starting program: /export/build/gnu/gdb/build-x86_64-linux/gdb/a.out
Missing separate debuginfos, use: dnf debuginfo-install
glibc-2.27-14.1.fc28.i686
Breakpoint 1, main () at x.c:6
6 printf ("hello\n");
(gdb) q
A debugging session is active.
Inferior 1 [process 25461] will be killed.
Quit anyway? (y or n) y
[***@gnu-skl-1 gdb]$ ./gdb a.out
Exception caught while booting Guile.
Error in function "open-file":
No such file or directory: "/usr/local/share/gdb/guile/gdb/boot.scm"
./gdb: warning: Could not complete Guile gdb module initialization from:
/usr/local/share/gdb/guile/gdb/boot.scm.
Limited Guile support is available.
Suggest passing --data-directory=/path/to/gdb/data-directory.
Python Exception <type 'exceptions.ImportError'> No module named gdb:
./gdb: warning:
Could not load the Python gdb module from `/usr/local/share/gdb/python'.
Limited Python support is available from the _gdb module.
Suggest passing --data-directory=/path/to/gdb/data-directory.
GNU gdb (GDB) 8.1.50.20180521-git
Copyright (C) 2018 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from a.out...done.
(gdb) b main
Breakpoint 1 at 0x11c6: file x.c, line 6.
(gdb) r
Starting program: /export/build/gnu/gdb/build-x86_64-linux/gdb/a.out
warning: Breakpoint address adjusted from 0xf7fd6b51 to 0xfffffffff7fd6b51.
warning: Breakpoint address adjusted from 0xf7fd7529 to 0xfffffffff7fd7529.
warning: Breakpoint address adjusted from 0xf7fd9a8c to 0xfffffffff7fd9a8c.
warning: Breakpoint address adjusted from 0xf7fd9614 to 0xfffffffff7fd9614.
warning: Breakpoint address adjusted from 0xf7fe7dd3 to 0xfffffffff7fe7dd3.
warning: Breakpoint address adjusted from 0xf7fe8a56 to 0xfffffffff7fe8a56.
warning: Breakpoint address adjusted from 0xf7fe8d14 to 0xfffffffff7fe8d14.
Program received signal SIGINT, Interrupt.
Python Exception <type 'exceptions.NameError'> Installation error:
gdb.execute_unwinders function is missing:
0xf7fd6b51 in ?? () from /lib/ld-linux.so.2
(gdb)
--
You are receiving this mail because:
You are on the CC list for the bug.
You are receiving this mail because:
You are on the CC list for the bug.