This is the mail archive of the
mailing list for the GDB project.
Problems with gdb after 5.1 upgrade (Tru64)
- To: <gdb at sourceware dot cygnus dot com>
- Subject: Problems with gdb after 5.1 upgrade (Tru64)
- From: Trevor Ellermann <trevore at engr dot arizona dot edu>
- Date: Thu, 15 Feb 2001 15:04:37 -0700 (MST)
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
intermix.engr.arizona.edu:/home3/t/trevore/projects/tmp> gcc -g hello.c
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
welcome to change it and/or distribute copies of it under certain
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for
This GDB was configured as "alpha-dec-osf5.1"...
(gdb) break main
Breakpoint 1 at 0x120001178: file hello.c, line 5.
Starting program: /home3/t/trevore/projects/tmp/a.out
Unaligned access pid=379013 <gdb> va=0x1400a4e9b pc=0x120140000
Unaligned access pid=379013 <gdb> va=0x1400a4e93 pc=0x120140004
Unaligned access pid=379013 <gdb> va=0x1400a4e9b pc=0x120140010
Unaligned access pid=379013 <gdb> va=0x1400a4eb3 pc=0x120140024
Unaligned access pid=379013 <gdb> va=0x1400a4e9b pc=0x120140028
Unaligned access pid=379013 <gdb> va=0x1400a4e8b pc=0x12014002c
Unaligned access pid=379013 <gdb> va=0x1400a4ea3 pc=0x120140030
Unaligned access pid=379013 <gdb> va=0x1400a4e9b pc=0x120140040
Unaligned access pid=379013 <gdb> va=0x1400a4e9b pc=0x120140058
Unaligned access pid=379013 <gdb> va=0x1400a4e93 pc=0x12014006c
Trevor R. Ellermann
Engineering and Mines
University of Arizona