[Bug 1348275] Re: gdb message "Got object file from memory but can't read symbols: File truncated."
Rolf Leggewie
1348275 at bugs.launchpad.net
Sun Apr 24 10:42:16 UTC 2016
utopic has seen the end of its life and is no longer receiving any
updates. Marking the utopic task for this ticket as "Won't Fix".
** Changed in: gdb (Ubuntu Utopic)
Status: In Progress => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/1348275
Title:
gdb message "Got object file from memory but can't read symbols: File
truncated."
Status in Python:
New
Status in gdb package in Ubuntu:
Fix Released
Status in gdb source package in Utopic:
Won't Fix
Bug description:
Test Case
---------
$ cat >>foo.c<<EOT
#include <stdio.h>
#include <stdlib.h>
int
main (int argc, char *argv[])
{
printf ("hello world\n");
exit (EXIT_SUCCESS);
}
EOT
$ gcc -ggdb -O0 foo.c
$ ./a.out
hello world
$ gdb ./a.out
GNU gdb (Ubuntu 7.7.91.20140723-0ubuntu1) 7.7.91.20140723-cvs
Copyright (C) 2014 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-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) r
Starting program: /tmp/a.out
Got object file from memory but can't read symbols: File truncated. # XXX: <<< What is this? XXX:
hello world
[Inferior 1 (process 21518) exited normally]
(gdb)
ProblemType: BugDistroRelease: Ubuntu 14.10
Package: gdb 7.7.91.20140723-0ubuntu1
ProcVersionSignature: Ubuntu 3.16.0-5.10-generic 3.16.0-rc6
Uname: Linux 3.16.0-5-generic x86_64
ApportVersion: 2.14.4-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Thu Jul 24 17:55:11 2014
InstallationDate: Installed on 2014-04-11 (103 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Daily amd64 (20140409)SourcePackage: gdb
UpgradeStatus: Upgraded to utopic on 2014-05-08 (77 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/python/+bug/1348275/+subscriptions
More information about the foundations-bugs
mailing list