GNU bug report logs - #8354
[macOS] 23.3; GDB doesn't work with C

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: David Reitter <david.reitter@HIDDEN>; dated Sun, 27 Mar 2011 02:31:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
Changed bug title to '[macOS] 23.3; GDB doesn't work with C' from '23.3; GDB doesn't work with C ' Request was from npostavs@HIDDEN to control <at> Full text available.

Message received at submit <at>

Received: (at submit) by; 27 Mar 2011 02:30:31 +0000
From debbugs-submit-bounces <at> Sat Mar 26 22:30:30 2011
Received: from localhost ([]
	by with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at>>)
	id 1Q3fkL-0004KT-Lp
	for submit <at>; Sat, 26 Mar 2011 22:30:30 -0400
Received: from ([])
	by with esmtp (Exim 4.69)
	(envelope-from <david.reitter@HIDDEN>) id 1Q3fkK-0004KF-2x
	for submit <at>; Sat, 26 Mar 2011 22:30:29 -0400
Received: from Debian-exim by with spam-scanned (Exim 4.71)
	(envelope-from <david.reitter@HIDDEN>) id 1Q3fkD-0001sf-Nt
	for submit <at>; Sat, 26 Mar 2011 22:30:23 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.1
Received: from ([]:45668)
	by with esmtp (Exim 4.71)
	(envelope-from <david.reitter@HIDDEN>) id 1Q3fkD-0001sX-Jg
	for submit <at>; Sat, 26 Mar 2011 22:30:21 -0400
Received: from [] (port=54139
	by with esmtp (Exim 4.43) id 1Q3fkC-0000SD-55
	for bug-gnu-emacs@HIDDEN; Sat, 26 Mar 2011 22:30:21 -0400
Received: from Debian-exim by with spam-scanned (Exim 4.71)
	(envelope-from <david.reitter@HIDDEN>) id 1Q3fkA-0001sK-7l
	for bug-gnu-emacs@HIDDEN; Sat, 26 Mar 2011 22:30:20 -0400
Received: from ([]:59930)
	by with esmtp (Exim 4.71)
	(envelope-from <david.reitter@HIDDEN>) id 1Q3fkA-0001sC-3J
	for bug-gnu-emacs@HIDDEN; Sat, 26 Mar 2011 22:30:18 -0400
Received: by vws4 with SMTP id 4so2044788vws.0
	for <bug-gnu-emacs@HIDDEN>; Sat, 26 Mar 2011 19:30:17 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=gamma;
DomainKey-Signature: a=rsa-sha1; c=nofws;; s=gamma;
Received: by with SMTP id m6mr3486406vdu.86.1301193016285;
	Sat, 26 Mar 2011 19:30:16 -0700 (PDT)
Received: from elin.local (
	by with ESMTPS id r5sm469773vch.40.2011.
	(version=TLSv1/SSLv3 cipher=OTHER);
	Sat, 26 Mar 2011 19:30:15 -0700 (PDT)
From: David Reitter <david.reitter@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
Subject: 23.3; GDB doesn't work with C 
Date: Sat, 26 Mar 2011 22:30:12 -0400
References: <0B8F2D38-2D5B-4673-B488-662D9D65751B@HIDDEN>
To: Bug-Gnu-Emacs <bug-gnu-emacs@HIDDEN>
Message-Id: <23ABDBCB-5978-4E77-8043-1DB747615DA8@HIDDEN>
Mime-Version: 1.0 (Apple Message framework v1082)
X-Mailer: Apple Mail (2.1082)
X-detected-operating-system: by GNU/Linux 2.6 (newer, 2)
X-detected-operating-system: by GNU/Linux 2.6 (newer, 2)
X-Spam-Score: -5.9 (-----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at>
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <>
List-Unsubscribe: <>,
	<mailto:debbugs-submit-request <at>>
List-Archive: <>
List-Post: <mailto:debbugs-submit <at>>
List-Help: <mailto:debbugs-submit-request <at>>
List-Subscribe: <>,
	<mailto:debbugs-submit-request <at>>
Sender: debbugs-submit-bounces <at>
Errors-To: debbugs-submit-bounces <at>
X-Spam-Score: -5.9 (-----)

X-Debbugs-CC: emartin@HIDDEN

See below for a report detailing how GDB fails to work with 23 series =
builds on OS X.

FYI, the user refers to Aquamacs 1.9, which was based on the Emacs 22 =
branch (latest revisions), and Aquamacs 2.x, which is based on Emacs =
23.x.   Aquamacs 2.2. uses Emacs 23.3.

Begin forwarded message:

From: Eric Martin <emartin@HIDDEN>
Date: March 26, 2011 9:03:19 PM EDT
To: aquamacs-bugs@HIDDEN
Subject: [Aquamacs-bugs] 23.3;
Reply-To: Bug reports for Aquamacs Emacs <aquamacs-bugs@HIDDEN>

Dear Emacs maintainers,

I am still Using Aquamacs 1.9 as an IDE for C programming as almost no =
feature of gdb works with Aquamacs 2.*. Here is an example of a session =
with two features that do not work:

1. Opening a file in C mode with the following contents:

#include <stdio.h>

int main(void) {
   int a =3D 1;
   return 0;

2. Using Tools ... Compile with a Makefile whose contents is

a.out: aaa.c
	gcc -std=3Dgnu99 -ggdb aaa.c

3. Using Tools... Debugger (GDB)

4. Setting a breakpoint before "return 0;" and starting executing the =
program, that stops on that line.

5. Problem #1: Moving the point over "a" does not display the value of =
"a" in a small box, as it does with Aquamacs 1.9.

6. Problem #2: Selecting "a" and clicking on "Watch expression" opens =
the Speedbar but does not display the value of "a", as it does with =
Aquamacs 1.9 (with Aquamacs 1.9, the behaviour is still not perfect, as =
the values of variables are not displayed dynamically in the Speedbar as =
they change, in contrast to what happens when Emacs is run on some Linux =

Thank you for your attention with respect to these issues.

Best regards,

Eric Martin.

Please write in English if possible, because the Emacs maintainers
usually do not have translators to read other languages for them.

Your report will be posted to the aquamacs-bugs@HIDDEN mailing =
and may appear in other public locations.

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug.  If you can, give
a recipe starting with an Aquamacs without customization
for which see the Help / Diagnose and Report Bug menu:

Enter your bug report here.

If Emacs crashed, and you have the Emacs process in the gdb debugger,
please include the output from the following gdb commands:
   `bt full' and `xbacktrace'.
For information about debugging Emacs, please read the file

In GNU Emacs 23.3.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
of 2011-03-19 on - Aquamacs Distribution 2.2
Windowing system distributor `Apple', version 10.3.1038
configured using `configure  '--with-ns' '--without-x' 'CC=3Dgcc' =
'CFLAGS=3D-O3 -fno-tree-pre -falign-loops -arch i386' 'LDFLAGS=3D-O3 =
-fno-tree-pre -falign-loops -arch i386''

Important settings:
 value of $LC_ALL: nil
 value of $LC_COLLATE: nil
 value of $LC_CTYPE: nil
 value of $LC_MESSAGES: nil
 value of $LC_MONETARY: nil
 value of $LC_NUMERIC: nil
 value of $LC_TIME: nil
 value of $LANG: nil
 value of $XMODIFIERS: nil
 locale-coding-system: nil
 default enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
 savehist-mode: t
 smart-frame-positioning-mode: t
 aquamacs-autoface-mode: t
 recentf-mode: t
 osx-key-mode: t
 tabbar-mwheel-mode: t
 tabbar-mode: t
 show-paren-mode: t
 delete-selection-mode: t
 pc-selection-mode: t
 cua-mode: t
 tooltip-mode: t
 mouse-wheel-mode: t
 tool-bar-mode: t
 menu-bar-mode: t
 file-name-shadow-mode: t
 global-font-lock-mode: t
 font-lock-mode: t
 blink-cursor-mode: t
 auto-encryption-mode: t
 auto-compression-mode: t
 smart-spacing-mode: t
 column-number-mode: t
 line-number-mode: t
 visual-line-mode: t
 transient-mark-mode: t

Recent input:
^X ^F <backspace> ~ / =E2=87=A7D E S <tab> A A A <tab> <return>=20
<menu-bar> <tools> <compile> <return> <menu-bar> <tools>=20
<gdb> <return> ^X B <return> <down-mouse-1> <mouse-1>=20
^X B <return> <help-echo> <help-echo> <help-echo> <down-mouse-1>=20
<mouse-1> <help-echo> <down-mouse-1> <mouse-1> B SPC=20
5 <return> R <return> <help-echo> <down-mouse-1> <mouse-movement>=20
<drag-mouse-1> <tool-bar> <watch> <help-echo> <switch-frame>=20
<switch-frame> <down-mouse-1> <mouse-1> <menu-bar>=20
<help-menu> <bug-diagnosis> <send-emacs-bug-report

Recent messages:
Loading /Users/emartin/Library/Preferences/Aquamacs Emacs/Recent =
Files.el (source)...done
Cleaning up the recentf list...done (0 removed)
26 environment variables imported from login shell (/bin/bash).
Loading =
tex.el (source)...done
one-buffer-one-frame-mode disabled.
Mark set [32 times]
Aquamacs is based on GNU Emacs, a part of the GNU/Linux system. It is =
Free Software: you can improve and redistribute it under the GNU General =
Public License, version 3 or later. Copyright (C) 2011 Free Software =
Foundation, Inc. (C) 2011 D. Reitter. No Warranty.
(No files need saving)
Compilation finished
Refreshing speedbar...done

Load-path shadows:
ipedia-mode hides =
-mode hides =

(shadow sort mail-extr message ecomplete rfc822 mml mml-sec
password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231
rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc
mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util hashcash
mail-utils emacsbug speedbar sb-image ezimage dframe assoc gdb-ui bindat
json gud compile comint ring cc-mode cc-fonts cc-menus cc-cmds cc-styles
cc-align cc-engine cc-vars cc-defs aquamacs-mode-defaults auctex-config
server preview-latex tex-site auto-loads aquamacs-aux savehist mouse-sel
one-buffer-one-frame smart-frame-positioning drews_init
color-theme-autoloads saveplace visual-line aquamacs-bug
aquamacs-autoface-mode aquamacs-editing sendmail recentf tree-widget
cus-edit osxkeys emulate-mac-keyboard-mode frame-cmds strings misc-fns
thingatpt+ thingatpt frame-fns avoid aquamacs-mac-fontsets fit-frame
aquamacs-frame-setup aquamacs-tabbar tabbar-window cl cl-19 cus-start
cus-load tabbar easy-mmode warnings aquamacs-site-start
cocoa-compatibility smart-dnd filladapt aquamacs-redo check-for-updates
aquamacs-menu osx_defaults aquamacs-tool-bar aquamacs
mac-extra-functions aquamacs-tools aquamacs-macros parse-time timezone
time-date paren delsel pc-select cua-base wid-edit regexp-opt advice
advice-preload byte-opt bytecomp byte-compile debug help-fns help-mode
view image-file disp-table tooltip ediff-hook vc-hooks lisp-float-type
mwheel ns-win easymenu tool-bar dnd fontset image fringe lisp-mode
register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse
jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
loaddefs button minibuffer faces cus-face files text-properties overlay
md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process ns multi-tty

Command line: (/Applications/


exec-path: (/usr/bin /bin /usr/sbin /sbin /usr/local/bin /usr/texbin =
/usr/X11/bin /opt/local/bin /Developer/usr/bin /usr/X11R6/bin =
/Applications/pig-0.8.0/bin /Users/emartin/Documents/bin =
/usr/local/texlive/2010/bin /usr/texbin /opt/local/bin =
/Developer/usr/bin /usr/X11R6/bin /Applications/pig-0.8.0/bin =
/Users/emartin/Documents/bin  /usr/bin /bin /usr/sbin /sbin =
/usr/local/bin /usr/texbin /usr/X11/bin /usr/texbin /opt/local/bin =
/Developer/usr/bin /usr/X11R6/bin /Applications/pig-0.8.0/bin =
/Users/emartin/Documents/bin  /usr/bin /bin /usr/sbin /sbin /usr/texbin =
/usr/local/texlive/2010/bin . =

Eric Martin
School of Computer Science and Engineering
UNSW Sydney NSW 2052 Australia=

Acknowledgement sent to David Reitter <david.reitter@HIDDEN>:
New bug report received and forwarded. Copy sent to emartin@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to owner <at>, emartin@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#8354; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Wed, 22 Feb 2017 03:15:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.