all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Question regarding GDB/GUD/Speedbar as part of Gnu Emacs
@ 2009-04-23  8:23 Erik Bleckhorns
  2009-04-24 11:25 ` Nick Roberts
  0 siblings, 1 reply; 2+ messages in thread
From: Erik Bleckhorns @ 2009-04-23  8:23 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 572 bytes --]

Hi,

Is there any way to have GUD/GDB/Speedbar show char arrays, e.g. char
mystring [10] in the same way as a char* - and not as separate leaves?

I have a number of character strings (in structs) which sometimes are up to
1024 bytes in length, and displaying them as Watch expression (in Speedbar)
as a vertical list of chars is somewhat inconveniate.

Preferrable if I can still get other arrays, e.g. int myints [10], to still
be displayed as a vertical list.

I've Googled for a while but can't find the best approach to accomplishing
this.

Regards,

Erik Bleckhorns

[-- Attachment #2: Type: text/html, Size: 742 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Question regarding GDB/GUD/Speedbar as part of Gnu Emacs
  2009-04-23  8:23 Question regarding GDB/GUD/Speedbar as part of Gnu Emacs Erik Bleckhorns
@ 2009-04-24 11:25 ` Nick Roberts
  0 siblings, 0 replies; 2+ messages in thread
From: Nick Roberts @ 2009-04-24 11:25 UTC (permalink / raw)
  To: Erik Bleckhorns; +Cc: help-gnu-emacs

Erik Bleckhorns writes:
 > Hi,
 > 
 > Is there any way to have GUD/GDB/Speedbar show char arrays, e.g. char
 > mystring [10] in the same way as a char* - and not as separate leaves?

In GUD buffer:

 C-u C-c C-w
 
In minibuffer:

Name of variable: (char*)mystring

(no spaces)


-- 
Nick                                           http://www.inet.net.nz/~nickrob




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-04-24 11:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-23  8:23 Question regarding GDB/GUD/Speedbar as part of Gnu Emacs Erik Bleckhorns
2009-04-24 11:25 ` Nick Roberts

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.