* debugging info in RH 5.1
@ 1998-08-21 19:22 Greg Lindahl
1998-08-21 20:32 ` Alexander V. Lukyanov
1998-08-29 4:13 ` B. James Phillippe
0 siblings, 2 replies; 3+ messages in thread
From: Greg Lindahl @ 1998-08-21 19:22 UTC (permalink / raw)
To: axp-list
Under 5.1/Alpha, are some of binutils confused? I compile with
debugging, the file shows as stripped, but it has full debugging
symbols. If I strip it, it gets smaller. Cosmetic?
[lindahl@zazo lindahl]$ file a.out
a.out: ELF 64-bit LSB executable, Alpha, version 1, stripped
[...]
(gdb) run
Starting program: /.automount/wumpus/part2/lindahl/a.out
Breakpoint 1, main () at hello.c:6
6 printf ("Hello world! %d\n", i);
(gdb) print i
$1 = 3
(gdb) quit
The program is running. Exit anyway? (y or n) y
[lindahl@zazo lindahl]$ ls -l a.out
-rwxrwxr-x 1 lindahl lindahl 18667 Aug 21 15:20 a.out
[lindahl@zazo lindahl]$ strip a.out
[lindahl@zazo lindahl]$ ls -l a.out
-rwxrwxr-x 1 lindahl lindahl 4360 Aug 21 15:20 a.out
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: debugging info in RH 5.1
1998-08-21 19:22 debugging info in RH 5.1 Greg Lindahl
@ 1998-08-21 20:32 ` Alexander V. Lukyanov
1998-08-29 4:13 ` B. James Phillippe
1 sibling, 0 replies; 3+ messages in thread
From: Alexander V. Lukyanov @ 1998-08-21 20:32 UTC (permalink / raw)
To: axp-list
On Fri, Aug 21, 1998 at 03:22:15PM -0400, Greg Lindahl wrote:
> Under 5.1/Alpha, are some of binutils confused? I compile with
> debugging, the file shows as stripped, but it has full debugging
> symbols. If I strip it, it gets smaller. Cosmetic?
I think it is `file' which is confused. BTW, the file util in solaris
uses libelf which is much more reliable in dumping info about elf
files. This also helps to print meaningful info about core files,
unlike the linux `file'.
Alexander.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: debugging info in RH 5.1
1998-08-21 19:22 debugging info in RH 5.1 Greg Lindahl
1998-08-21 20:32 ` Alexander V. Lukyanov
@ 1998-08-29 4:13 ` B. James Phillippe
1 sibling, 0 replies; 3+ messages in thread
From: B. James Phillippe @ 1998-08-29 4:13 UTC (permalink / raw)
To: axp-list
On Fri, 21 Aug 1998, Greg Lindahl wrote:
> Under 5.1/Alpha, are some of binutils confused? I compile with
> debugging, the file shows as stripped, but it has full debugging
> symbols. If I strip it, it gets smaller. Cosmetic?
Yes, I noticed this also. I agree it's annoying. Did you (or anyone else)
find a solution yet?
-bp
--
B. James Phillippe <bryan@terran.org>
Linux, networks, C++ development
http://earth.terran.org/~bryan
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-08-29 4:11 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-08-21 19:22 debugging info in RH 5.1 Greg Lindahl
1998-08-21 20:32 ` Alexander V. Lukyanov
1998-08-29 4:13 ` B. James Phillippe
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox