unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Roberts <nick@nick.uklinux.net>
Subject: Emacs mode for GDB - 2 questions
Date: Wed, 29 May 2002 15:19:11 +0100	[thread overview]
Message-ID: <15604.58207.654159.768423@nick.uklinux.net> (raw)


I have updated the mode for Emacs, gdb.el, that I am writing. It acts as a
GUI for gdb and I have reported it previously on this mailing list. Changes 
include :

Two features adapted from gdb.el in XEmacs-21.4 :

1) A buffer to display expressions which is similar to the other buffers
(locals, breakpoints etc) i.e based on gdba.el (`gud-frame-display-buffer'
which can be found on the menu-bar under GDB-Frames)

2) A hypertext help buffer which uses the interactive help within gdb. This
feature has never been part of gdba.el, as far as I know.

and

3) Completion of gdb commands now works.

4) Numerous minor changes

It can be downloaded from http://www.nick.uklinux.net and the current version
will always be at gdbel.tgz.



In relation to this work, I have two questions :

1) I wish to use the same icon for enabled and disabled breakpoints (like
buttons on the toolbar that can be `greyed out' to show that they have been
disabled). However :

(insert-image '(image :file "/home/nick/circle.xpm" :type xpm) "breakpoint symbol")
(insert-image '(image :file "/home/nick/circle.xpm" :type xpm :algorithm "laplace") "breakpoint symbol")
(insert-image '(image :file "/home/nick/circle.xpm" :type xpm :algorithm 'laplace) "breakpoint symbol")

all give the same result. Can someone please tell me what I am doing wrong ?

2) I want to format the displayed expressions more tidily. In particular
I would like to show array slices and the header line would be a good
place to do this e.g.

------------main::a [start:end:step]---------------

Where start, end and step are in editable fields. Could emacs be given this
feature easily ? I guess a related question is does any body else see a need
for this feature ?

Nick

             reply	other threads:[~2002-05-29 14:19 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-05-29 14:19 Nick Roberts [this message]
2002-05-30 17:05 ` Emacs mode for GDB - 2 questions Richard Stallman
2002-05-30 20:58   ` Nick Roberts
2002-05-31 21:27     ` Richard Stallman
2002-05-30 17:05 ` Richard Stallman
2002-05-30 17:33   ` Miles Bader
2002-05-30 20:56     ` Nick Roberts
2002-05-30 17:05 ` Richard Stallman
2002-05-30 21:16   ` Nick Roberts
2002-05-30 23:16     ` Kim F. Storm
2002-05-31  6:38       ` Eli Zaretskii
2002-06-01 20:44         ` Nick Roberts
2002-05-31 21:27     ` Richard Stallman
2002-05-31 23:21       ` Miles Bader
2002-06-01  0:12       ` Kim F. Storm
2002-05-31 23:43         ` Miles Bader
2002-06-01 19:44           ` Alex Schroeder
2002-06-02  2:52             ` Richard Stallman
2002-06-02  2:51         ` Richard Stallman
2002-06-13 21:38           ` Stefan Monnier
2002-06-03  8:57       ` Juanma Barranquero

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=15604.58207.654159.768423@nick.uklinux.net \
    --to=nick@nick.uklinux.net \
    /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).