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/566: 'gdb emacs' breaks on SunOS


>Number:         566
>Category:       gdb
>Synopsis:       'gdb emacs' breaks on SunOS
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jun 11 13:18:01 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     deego
>Release:        5.2
>Organization:
>Environment:
SunOS (nickel) 5.7 Generic sun4u sparc SUNW, UltraSPARC -IIi-Engine
>Description:
Folks, i don't know if i filled in the above fields correctly.  i help out with emacs pretesting. 

while testing the emacs-21.3 preprelease, My 'gdb emacs-21.2.90' breaks..  I was careful to be in the source tree of emacs-21.2.90.. i then tried 'gdb emacs-21.1' in its source-tree.. it breaks with a similar problem.  The problem appears below.

This problem was 'examined' by the emacs-gurus list :), and then RMS suggested I submit a bug-report.  BTW, i did a 'file' on gdb as well as on emacs, and both return:
 "ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped".

(On another sun, 'gdb emacs' (none of which were installed by me), runs just fine.)  The unique thing about the Solaris in questino though is that both gcc and emacs are installed in *my* home-directory rather than the usual place, (i donot have root priviledge. )

Also, i think i built emacs-21.2.90 using gcc, whereas i probably did not specify any build-option for gdb, which may mean that it used sun's cc...   

Finally, here is the session which shows where gdb breaks... and there seems to be no way out of that 'break'---->


+----
| dgoel :/home/dgoel >
| dgoel :/home/dgoel >
| dgoel :/home/dgoel >
| dgoel :/home/dgoel > cd emacs/src/src
| dgoel :/home/dgoel/emacs/src/src >
| dgoel :/home/dgoel/emacs/src/src >
| dgoel :/home/dgoel/emacs/src/src >
| dgoel :/home/dgoel/emacs/src/src >
| dgoel :/home/dgoel/emacs/src/src > gdb -v
| GNU gdb 5.2
| 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 "sparc-sun-solaris2.7".
| dgoel :/home/dgoel/emacs/src/src > gdb /home/dgoel/pub/usr/local/bin/emacs-21\
.2.90
| GNU gdb 5.2
| 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 "sparc-sun-solaris2.7"...
| DISPLAY = :0.0
| TERM = dumb
| Breakpoint 1 at 0xe8798: file emacs.c, line 387.
| Breakpoint 2 at 0xcd34c: file xterm.c, line 12005.
| (gdb) set args -q -nw -no-site-file
| (gdb) run
| Starting program: /home/dgoel/pub/usr/local/bin/emacs-21.2.90 -q -nw -no-site\
-file
| procfs: init_inferior, get_traced_signals line 4745, /proc/24209: Value too l\
arge for defined data type.
| (gdb) c
| Continuing.
| procfs: fetch_registers, get_gregs line 3672, /proc/24209: Value too large fo\
r defined data type.
| (gdb) c
| Continuing.
| procfs: fetch_registers, get_gregs line 3672, /proc/24209: Value too large fo\
r defined data type.
| (gdb) c
| Continuing.
| procfs: fetch_registers, get_gregs line 3672, /proc/24209: Value too large fo\
r defined data type.
| (gdb) q
| The program is running.  Exit anyway? (y or n) y
| dgoel :/home/dgoel/emacs/src/src >
| dgoel :/home/dgoel/emacs/src/src >
+----


Thanks
deego@glue.umd.edu

 



 




>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


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