public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/14992] New: gdb on object file produces: internal error - "Please report this bug"
@ 2013-01-01 7:49 ThomasDHowell at gmail dot com
2013-01-03 12:06 ` [Bug gdb/14992] " palves at redhat dot com
0 siblings, 1 reply; 2+ messages in thread
From: ThomasDHowell at gmail dot com @ 2013-01-01 7:49 UTC (permalink / raw)
To: gdb-prs
http://sourceware.org/bugzilla/show_bug.cgi?id=14992
Bug #: 14992
Summary: gdb on object file produces: internal error - "Please
report this bug"
Product: gdb
Version: 7.1
Status: NEW
Severity: minor
Priority: P2
Component: gdb
AssignedTo: unassigned@sourceware.org
ReportedBy: ThomasDHowell@gmail.com
Classification: Unclassified
I just re-installed gcc and gdb under Windows 7 Professional SP1.
The downloads were these:
mingw-w64-bin_i686-mingw_20111220.zip
x86_64-w64-mingw32-gdb-7.1.90.20100730.zip
I teach a course in which students compile C programs and examine the machine
instructions they generate. I was testing the capability to generate and
examine x86_64 code. The test program is rtsb.c. It reads a command line
argument as a decimal or hex integer prints the bytes representing the argument
and its address.
gcc -m64 -g -c rtsb.c runs and generates rtsb.o
gcc -m64 -g rtsb.c runs and generates a working executable file.
objdump runs fine on either the object file or the executable.
gdb needs to run on the executable file, not the object file, but
I typed the following line in error (should have typed just gdb rtsb).
gdb rtsb.o
It creates the following output.
GNU gdb (GDB) 7.1.90.20100730-cvs
Copyright (C) 2010 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-w64-mingw32".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from C:\MinGW-w64\home\Tom\cs47prg/rtsb.o...BFD: BFD (GNU
Binutils) 2.20.51.20100707 internal error, aborting at
../../gdb-cvs/bfd/reloc.c line 5720 in
bfd_generic_get_relocated_section_contents
BFD: Please report this bug.
This is not an important problem for me. It happens only when I make a typo,
but the error message asks for a bug report, so here it is.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2013-01-03 12:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-01-01 7:49 [Bug gdb/14992] New: gdb on object file produces: internal error - "Please report this bug" ThomasDHowell at gmail dot com
2013-01-03 12:06 ` [Bug gdb/14992] " palves at redhat dot com
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).