This is the mail archive of the gdb-prs@sources.redhat.com mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdb/767: alpha Unix Tru64


>Number:         767
>Category:       gdb
>Synopsis:       alpha Unix Tru64
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Sep 28 09:38:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     lumaca82@inwind.it
>Release:        GNU gdb 20020926
>Organization:
>Environment:
OSF1 xxx.xxx.xx V5.1 1885 alpha
gcc version 3.0.3
This GDB was configured as "alphaev56-dec-osf5.1"...

>Description:
GDb crashes as soon as it starts running an executable code.
test.c is attached, but it fails with any program.
I compiled gdb myself.

-----------------
$ gdb test
GNU gdb 20020926
Copyright 2002 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 "alphaev56-dec-osf5.1"...
(gdb) r
Starting program: test 
Segmentation fault (core dumped)
-------------------

So I tried "gdb gdb core"
---------------------
$ gdb gdb /path/to/core
GNU gdb 20020926
Copyright 2002 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 "alphaev56-dec-osf5.1"...
BFD: Unhandled OSF/1 core file section type 528

BFD: Unhandled OSF/1 core file section type 32768

Core was generated by `'.
Program terminated with signal 1, Hangup.

warning: Couldn't find general-purpose registers in core file.


warning: Couldn't find general-purpose registers in core file.

#0  0x0000000000000000 in ?? ()
(gdb) 
--------------

Symbols are loaded correctly (list works as it should).
Settting a breakpoint at the beginning of the code doesn't help.
>How-To-Repeat:
gcc -g -o test test.c
gdb test
> r
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
 
----gnatsweb-attachment----
Content-Type: application/octet-stream; name="test.c"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="test.c"

I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKQp7CiAgICBwcmludGYoIkhlbGxvLCB3
b3JsZCFcbiIpOwp9Cgo=


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]