public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "ThomasDHowell at gmail dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/14992] New: gdb on object file produces: internal error - "Please report this bug" Date: Tue, 01 Jan 2013 07:49:00 -0000 [thread overview] Message-ID: <bug-14992-4717@http.sourceware.org/bugzilla/> (raw) 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.
next reply other threads:[~2013-01-01 7:49 UTC|newest] Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top 2013-01-01 7:49 ThomasDHowell at gmail dot com [this message] 2013-01-03 12:06 ` [Bug gdb/14992] " palves at redhat dot com
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-14992-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
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).