public inbox for gdb@sourceware.org
 help / color / mirror / Atom feed
* Problems with gdb after 5.1 upgrade (Tru64)
@ 2001-02-15 14:04 Trevor Ellermann
  2001-02-16  0:47 ` Arnaud Charlet
  0 siblings, 1 reply; 2+ messages in thread
From: Trevor Ellermann @ 2001-02-15 14:04 UTC (permalink / raw)
  To: gdb

I am the admin of a server that C programming classes are taught on at a
university. About 2 weeks ago we did the Tru64 5.0 -> 5.0a -> 5.1 upgrade
and we have been having problems with the system ever since. I have
gotten most of the resolved but I cant seem to get gdb to work anymore.
Gdb segfaults any time I run a program through it. This happens with both
gdb 5.0 and 4.18 and using gcc 2.95.2 and 2.8.1. I have contacted Comapq
about it but of cource they dont support GNU software. Any help would be
much appreciated. Here is an example with a simple hello world program.

The hello.c program
--------
#include <stdio.h>

int main(void)
{
        printf("\nHello world!\n\n");
}
--------

intermix.engr.arizona.edu:/home3/t/trevore/projects/tmp> gcc -g hello.c
intermix.engr.arizona.edu:/home3/t/trevore/projects/tmp> ./a.out

Hello world!

intermix.engr.arizona.edu:/home3/t/trevore/projects/tmp> gdb a.out
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you
are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for
details.
This GDB was configured as "alpha-dec-osf5.1"...
(gdb) break main
Breakpoint 1 at 0x120001178: file hello.c, line 5.
(gdb) run
Starting program: /home3/t/trevore/projects/tmp/a.out
Unaligned access pid=379013 <gdb> va=0x1400a4e9b pc=0x120140000
ra=0x12013ffff inst=0xa4290018
Unaligned access pid=379013 <gdb> va=0x1400a4e93 pc=0x120140004
ra=0x12013ffff inst=0xa4c90010
Unaligned access pid=379013 <gdb> va=0x1400a4e9b pc=0x120140010
ra=0x12013ffff inst=0xb4290018
Unaligned access pid=379013 <gdb> va=0x1400a4eb3 pc=0x120140024
ra=0x12013ffff inst=0xa0690030
Unaligned access pid=379013 <gdb> va=0x1400a4e9b pc=0x120140028
ra=0x12013ffff inst=0xa4290018
Unaligned access pid=379013 <gdb> va=0x1400a4e8b pc=0x12014002c
ra=0x12013ffff inst=0xa4890008
Unaligned access pid=379013 <gdb> va=0x1400a4ea3 pc=0x120140030
ra=0x12013ffff inst=0xa4a90020
Unaligned access pid=379013 <gdb> va=0x1400a4e9b pc=0x120140040
ra=0x12013ffff inst=0xb4690018
Unaligned access pid=379013 <gdb> va=0x1400a4e9b pc=0x120140058
ra=0x12013ffff inst=0x8d490018
Unaligned access pid=379013 <gdb> va=0x1400a4e93 pc=0x12014006c
ra=0x12013ffff inst=0x9d490010
Segmentation fault
intermix.engr.arizona.edu:/home3/t/trevore/projects/tmp>

TIA!

_____________________
Trevor R. Ellermann
System Administrator
Engineering and Mines
University of Arizona






^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Problems with gdb after 5.1 upgrade (Tru64)
  2001-02-15 14:04 Problems with gdb after 5.1 upgrade (Tru64) Trevor Ellermann
@ 2001-02-16  0:47 ` Arnaud Charlet
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaud Charlet @ 2001-02-16  0:47 UTC (permalink / raw)
  To: Trevor Ellermann; +Cc: gdb

There has been major changes in Tru64 5.1, in particular wrt internal
structures that gdb relies upon.

Also, there are problems in GCC itself that prevents it from compiling
gdb properly on Tru64 5.1.

Arno

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2001-02-16  0:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-15 14:04 Problems with gdb after 5.1 upgrade (Tru64) Trevor Ellermann
2001-02-16  0:47 ` Arnaud Charlet

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