This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug gdb/13707] New: "/usr/bin/localc": not in executable format:File format not recognized


http://sourceware.org/bugzilla/show_bug.cgi?id=13707

             Bug #: 13707
           Summary: "/usr/bin/localc": not in executable format: File
                    format not recognized
           Product: gdb
           Version: 7.4
            Status: NEW
          Severity: minor
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: christopher.penalver@gmx.com
    Classification: Unclassified


Downstream bug may be found at:
https://bugs.launchpad.net/ubuntu/+source/gdb/+bug/871940

1) lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

2) apt-cache policy gdb
gdb:
  Installed: 7.4-0ubuntu1
  Candidate: 7.4-0ubuntu1
  Version table:
 *** 7.4-0ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

apt-cache policy libreoffice-calc
libreoffice-calc:
  Installed: 1:3.5.0~beta2-2ubuntu4
  Candidate: 1:3.5.0~beta2-2ubuntu4
  Version table:
 *** 1:3.5.0~beta2-2ubuntu4 0
        500 http://us.archive.ubuntu.com/ubuntu/ precise/main i386 Packages
        100 /var/lib/dpkg/status

3) What is expected to happen at the Terminal:

gdb localc 2>&1 | tee gdb-libreoffice.txt

is LibreOffice Calc opens via gdb for debugging purposes.

4) What happens instead is Calc is not launched with the following shown in the
Terminal:

 GNU gdb (Ubuntu/Linaro 7.4-0ubuntu1) 7.4
Copyright (C) 2012 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 "i686-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
"/usr/bin/localc": not in executable format: File format not recognized
(gdb)

WORKAROUND: Attach to the process ID via the Terminal:

sudo gdb localc 21015 2>&1 | tee gdb-libreoffice.txt

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]