From: Nick Roberts <nickrob@snap.net.nz>
To: Andrew Cagney <cagney@gnu.org>
Cc: gdb@sources.redhat.com
Subject: Re: internal-error: insert_step_resume_breakpoint_at_sal
Date: Thu, 27 Jan 2005 01:02:00 -0000 [thread overview]
Message-ID: <16888.15318.746005.711735@farnswood.snap.net.nz> (raw)
In-Reply-To: <41F80DD9.6030503@gnu.org>
[-- Attachment #1: message body text --]
[-- Type: text/plain, Size: 1001 bytes --]
> We're going to need more info, try
>
> $ script -c gdb
$ script -c gdb
script: invalid option -- c
usage: script [-a] [-f] [-q] [-t] [file]
I don't know why script needs to be used but this is roughly what I've done:
$ gdb gdb
(top-gdb) set logging on
(top-gdb) cd ~/emacs/src (to get in the right directory for Emacs)
(top-gdb) set debug target 1
(top-gdb) set debug infrun 1
(top-gdb) run emacs
...
.
(gdb) b Fsplit_window
(gdb) run
Starting program: /home/nick/emacs/src/emacs -geometry 80x40+0+0
...
.
C-x 2 in Emacs
...
.
Breakpoint 3, Fsplit_window (window=137731057, size=137731057,
horflag=137731057) at window.c:3697
3697 if (NILP (window))
(gdb) n
...
.
^C (kills Emacs)
^C (kills GDB)
Program received signal SIGINT, Interrupt.
0x401563d4 in poll () from /lib/libc.so.6
(top-gdb) ^D
The program is running. Exit anyway? (y or n) y
(I'm looking at gdb.base/sigrepeat.exp now.)
Nick
[-- Attachment #2: gdb infrun target log --]
[-- Type: application/octet-stream, Size: 3006 bytes --]
next prev parent reply other threads:[~2005-01-27 1:02 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-24 4:02 Nick Roberts
2005-01-16 10:54 ` Nick Roberts
2005-01-18 18:59 ` Andrew Cagney
2005-01-18 21:53 ` Nick Roberts
2005-01-19 15:55 ` Andrew Cagney
2005-01-20 0:59 ` Nick Roberts
2005-01-20 10:23 ` Dave Korn
2005-01-20 10:58 ` Nick Roberts
2005-01-20 17:07 ` Andrew Cagney
2005-01-21 2:47 ` Nick Roberts
2005-01-24 21:59 ` Andrew Cagney
2005-01-26 10:19 ` Nick Roberts
2005-01-26 16:26 ` Andrew Cagney
2005-01-26 20:48 ` Nick Roberts
2005-01-26 21:39 ` Andrew Cagney
2005-01-27 1:02 ` Nick Roberts [this message]
2005-02-06 7:16 ` Andrew Cagney
2005-02-06 7:26 ` Andrew Cagney
2005-02-06 20:11 ` Nick Roberts
2005-02-08 16:57 ` Andrew Cagney
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=16888.15318.746005.711735@farnswood.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=cagney@gnu.org \
--cc=gdb@sources.redhat.com \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox