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/508: Segmentation fault on setting extension-language



>Number:         508
>Category:       gdb
>Synopsis:       Segmentation fault on setting extension-language
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr 24 14:58:00 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     marc@dommelstein.net
>Release:        gdb 5.1.90CVS-5,  gdb 5.0rh-5 and gdb 5.1.1-1 (all redhat)
>Organization:
>Environment:
RH 7.1 and 7.2
>Description:
Setting extension-language several times in a row from an input file (or feeding through stdin on the mi interface) results in a segmentation fault (attached part gdb_sf.txt)
Adding extra lines seems to fix it (attached part gdb_ok.txt)
>How-To-Repeat:
On a (bash) prompt issue:
  gdb  < gdb_sf.txt

results in:
marc:~$ gdb  < gdb_sf.txt
GNU gdb Red Hat Linux (5.1.1-1)
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 "i386-redhat-linux".
(gdb) (gdb) (gdb) Segmentation fault
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="gdb.txt"
Content-Disposition: inline; filename="gdb.txt"

--- begin gdb_sf.txt --------------
set extension-language .lpr pascal
set extension-language .dpr pascal
set extension-language .lrs pascal
quit
--- end gdb_sf.txt ----------------

--- begin gdb_ok.txt --------------
set extension-language .lpr pascal


set extension-language .dpr pascal


set extension-language .lrs pascal


quit
--- end gdb_ok.txt ----------------


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