all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stephen Berman <Stephen.Berman@gmx.net>
To: emacs-devel@gnu.org
Cc: emacs-pretest-bug@gnu.org
Subject: Re: 23.0.60; Still font problems
Date: Thu, 15 May 2008 12:03:07 +0200	[thread overview]
Message-ID: <874p8zdgv8.fsf@escher.local.home> (raw)
In-Reply-To: 482BF6F4.1050508@gnu.org

On Thu, 15 May 2008 09:40:20 +0100 Jason Rumney <jasonr@gnu.org> wrote:

> Stephen Berman wrote:
>> (gdb) pr spec
>> The history is empty.
>>   
>
> You need to use "pp spec" here. "pr" prints the Lisp object
> corresponding to the last "print" command, and does not take a
> variable as an argument.

Oh, thanks.  Here it is:

(gdb) br xfont_list
Breakpoint 3 at 0x81c9e11: file xfont.c, line 308.
(gdb) run -Q -fn "-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1"
Starting program: /Users/steve/cvsroot/emacs/src/emacs -Q -fn "-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1"
[Thread debugging using libthread_db enabled]
[New Thread 0xb6dee8d0 (LWP 17590)]
[Switching to Thread 0xb6dee8d0 (LWP 17590)]

Breakpoint 3, xfont_list (frame=141326084, spec=138016964) at xfont.c:308
308       FRAME_PTR f = XFRAME (frame);
(gdb) pp spec
#<font-spec nil adobe fixed  iso8859-1 nil nil nil nil nil nil nil ((:name . "-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1"))>

From her I single stepped through the program, but after many hundreds
of iterations I gave up.  Then I tried again, this time using various
combinations of `s 1000', `s 500', `s 100', etc. but still never reached
the place where I could single step until the failure happens before my
patience ran out.  A couple of times I overshot the mark, and gdb
complained:

Warning:
Cannot insert breakpoint -495.
Error accessing memory address 0x7b69477e: Input/output error.

after which:

(gdb) s
Single stepping until exit from function siglongjmp,
which has no line number information.
Font `-adobe-courier-bold-r-normal--*-120-*-*-m-*-iso8859-1' is not defined

Program exited with code 0377.

Is there any gdb command, or any advice, for stopping execution "close
enough" to the point of failure so that I can single step up to it
before my fingers go numb?

Steve Berman





  reply	other threads:[~2008-05-15 10:03 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-05-14 16:52 23.0.60; Still font problems jpff
2008-05-15  0:43 ` Kenichi Handa
2008-05-15  7:05   ` jpff
2008-05-15  7:38     ` Kenichi Handa
2008-05-15  8:32       ` Stephen Berman
2008-05-15  8:40         ` Jason Rumney
2008-05-15 10:03           ` Stephen Berman [this message]
2008-05-15 13:36             ` Stephen Berman
2008-05-16  0:41               ` Kenichi Handa
2008-05-16 14:44                 ` Stephen Berman

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

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

  git send-email \
    --in-reply-to=874p8zdgv8.fsf@escher.local.home \
    --to=stephen.berman@gmx.net \
    --cc=emacs-devel@gnu.org \
    --cc=emacs-pretest-bug@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.