Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* 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

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