From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "D. Goel" Newsgroups: gmane.emacs.devel Subject: can't do 'gdb emacs' Date: 10 Jun 2002 14:20:26 -0400 Sender: emacs-devel-admin@gnu.org Message-ID: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1023733305 13301 127.0.0.1 (10 Jun 2002 18:21:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 10 Jun 2002 18:21:45 +0000 (UTC) Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 17HTnV-0003SJ-00 for ; Mon, 10 Jun 2002 20:21:45 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 17HUAR-00078e-00 for ; Mon, 10 Jun 2002 20:45:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17HTmx-0007Oi-00; Mon, 10 Jun 2002 14:21:11 -0400 Original-Received: from benfranklin.physics.umd.edu ([129.2.42.9]) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 17HTmZ-0007NV-00 for ; Mon, 10 Jun 2002 14:20:47 -0400 Original-Received: from student1.physics.umd.edu (root@student1.physics.umd.edu [129.2.172.16]) by benfranklin.physics.umd.edu (8.11.6/8.11.6) with ESMTP id g5AIKb012422 for ; Mon, 10 Jun 2002 14:20:38 -0400 (EDT) Original-Received: from student1.physics.umd.edu (sendmail@localhost [127.0.0.1]) by student1.physics.umd.edu (8.9.3/8.9.3) with SMTP id OAA20102 for ; Mon, 10 Jun 2002 14:20:37 -0400 (EDT) Original-Received: (from deego@localhost) by student1.physics.umd.edu (8.9.3/8.9.3) id OAA13403; Mon, 10 Jun 2002 14:20:37 -0400 (EDT) X-Authentication-Warning: student1.physics.umd.edu: deego set sender to deego@glue.umd.edu using -f Original-To: emacs-devel@gnu.org Original-Lines: 65 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.1 Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:4712 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:4712 On my primary work-machine (not a umd.edu machine), i cannot run gdb emacs successfully.. If someone knows offhand what i am doing wrong below, that would be very helpful. Thanks. ==================================================== ;; 2002-06-10 T14:04:10-0400 (Monday) Deepak Goel Below is a session for emacs-21.2.90, run on a machine--> ~/emacs $ uname -snvrmapi SunOS nickel 5.7 Generic sun4u sparc SUNW,UltraSPARC-IIi-Engine i was careful to cd to the source-directory of emacs-21.2.90 (and not some other emacs). Om this machine, the same behavior occurred for emacs-21.1.1 when i ran gdb from *its* source-directory. This failure to start emacs seems to be specific to this machine.. for instance, On all the umd.edu machines, be they alpha's or sunOs's, i can start emacs-21.1 under gdb-4.18 (after the breakpoints) just fine. +---- | 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 large for defined data type. | (gdb) c | Continuing. | procfs: fetch_registers, get_gregs line 3672, /proc/24209: Value too large for defined data type. | (gdb) c | Continuing. | procfs: fetch_registers, get_gregs line 3672, /proc/24209: Value too large for defined data type. | (gdb) c | Continuing. | procfs: fetch_registers, get_gregs line 3672, /proc/24209: Value too large for 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 > +----