Bug 7671 - 'gdb emacs' breaks on SunOS
Summary: 'gdb emacs' breaks on SunOS
Status: WAITING
Alias: None
Product: gdb
Classification: Unclassified
Component: tdep (show other bugs)
Version: 5.2
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-11 13:18 UTC by deego
Modified: 2014-09-16 20:16 UTC (History)
2 users (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description deego 2002-06-11 20:18:01 UTC
[Converted from Gnats 566]

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

Release:
5.2

Environment:
SunOS (nickel) 5.7 Generic sun4u sparc SUNW, UltraSPARC -IIi-Engine
Comment 1 Sergio Durigan Junior 2014-09-16 20:16:48 UTC
Sorry for taking this absurd amount of time to repost.  Is this bug still valid?  Thank you.