unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 9684@debbugs.gnu.org
Subject: bug#9684: Emacs 23.3 and 24.0.90 don't build on IRIX 6.5
Date: Fri, 07 Oct 2011 17:57:33 +0200	[thread overview]
Message-ID: <yddipo0bxqq.fsf@manam.CeBiTec.Uni-Bielefeld.DE> (raw)
In-Reply-To: <83wrcgg6y8.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 07 Oct 2011 17:25:03 +0200")

Eli Zaretskii <eliz@gnu.org> writes:

> Please show what these commands produce:
>
>  (gdb) frame 3
>  (gdb) pp fun
>  (gdb) frame 1
>  (gdb) pp args[0]
>  (gdb) pp args[1]

Unfortunately, they don't really work:

Breakpoint 3, xsignal1 (error_symbol=274352730, arg=274355066) at /vol/src/gnu/emacs/emacs-24.0.90/src/eval.c:1773
(gdb) frame 3
#3  0x1029963c in funcall_lambda (fun=272695997, nargs=0, arg_vector=0x7ffb7d14) at /vol/src/gnu/emacs/emacs-24.0.90/src/eval.c:3139
(gdb) pp fun
Address of symbol "print_output_debug_flag" is unknown.
(gdb) frame 1
#1  0x10298f1c in Ffuncall (nargs=2, args=0x7ffb7a10) at /vol/src/gnu/emacs/emacs-24.0.90/src/eval.c:3029
(gdb) pp args[0]
Address of symbol "print_output_debug_flag" is unknown.
(gdb)pp args[1] 
Address of symbol "print_output_debug_flag" is unknown.

This is really strange, though:

ro@columba 221 > nm print.o|grep print_output_debug_flag
[44]    |         0|       4|OBJT |GLOB |DEFAULT  |3      |print_output_debug_flag
ro@columba 222 > nm emacs|grep print_output_debug_flag
[2868]  | 273886352|       4|OBJT |GLOB |DEFAULT  |MIPS_SCOMMON|print_output_debug_flag

Since the save/restore of print_output_debug_flag seems to be for the
benefit of w32 only, I've tried the following instead:

Breakpoint 3, xsignal1 (error_symbol=274352730, arg=274355066) at /vol/src/gnu/emacs/emacs-24.0.90/src/eval.c:1773
(gdb) dis 3
(gdb) frame 3
#3  0x1029963c in funcall_lambda (fun=272695997, nargs=0, arg_vector=0x7ffb7d34) at /vol/src/gnu/emacs/emacs-24.0.90/src/eval.c:3139
(gdb) set $tmp = fun
(gdb) set safe_debug_print ($tmp)
emacs: Invalid function: external-debugging-output
[Inferior 1 (process 24041591) exited with code 01]
The program being debugged exited while in a function called from GDB.
Evaluation of the expression containing the function
(safe_debug_print) will be abandoned.
(gdb) frame 1
No registers.

Seriously ugly.  This is all gdb 7.3, so nothing newer to try (except
perhaps for gdb mainline).

	Rainer

-- 
-----------------------------------------------------------------------------
Rainer Orth, Center for Biotechnology, Bielefeld University





  reply	other threads:[~2011-10-07 15:57 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-06 14:19 bug#9684: Emacs 23.3 and 24.0.90 don't build on IRIX 6.5 Rainer Orth
2011-10-06 17:52 ` Eli Zaretskii
2011-10-07  9:11   ` Rainer Orth
2011-10-07 12:49     ` Eli Zaretskii
2011-10-07 13:40       ` Rainer Orth
2011-10-07 15:25         ` Eli Zaretskii
2011-10-07 15:57           ` Rainer Orth [this message]
2011-10-07 18:13             ` Eli Zaretskii
2011-10-07 18:02     ` Dan Nicolaescu
2011-10-10 14:43       ` Rainer Orth
2011-10-11 10:18         ` Dan Nicolaescu
2011-10-11 14:21           ` Rainer Orth
2013-01-28 22:18             ` Glenn Morris
2013-01-31 12:10               ` Rainer Orth
2011-10-10 15:27       ` Rainer Orth
2011-10-07  0:49 ` Glenn Morris
2011-10-07  9:20   ` bug#7643: " Rainer Orth
2011-10-07 18:48     ` bug#7643: Build failure for SGI IRIX MIPS Glenn Morris
2011-10-07 19:18       ` Glenn Morris
2011-10-08  8:45 ` bug#9684: Emacs 23.3 and 24.0.90 don't build on IRIX 6.5 Paul Eggert
2014-04-13 22:55 ` Paul Eggert
2018-02-13  0:34 ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=yddipo0bxqq.fsf@manam.CeBiTec.Uni-Bielefeld.DE \
    --to=ro@cebitec.uni-bielefeld.de \
    --cc=9684@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).