diff options
author | Nick Roberts <nickrob@snap.net.nz> | 2005-11-03 02:03:24 +0000 |
---|---|---|
committer | Nick Roberts <nickrob@snap.net.nz> | 2005-11-03 02:03:24 +0000 |
commit | 6fadcdd038508964f7d11b343d6d4e4054e0f79c (patch) | |
tree | 1df7eaf210e2b106da1f95877a5d55092d27beac /etc/DEBUG | |
parent | 8efa52054291cac90a79ce204220e0f26fc8fa7b (diff) | |
download | emacs-6fadcdd038508964f7d11b343d6d4e4054e0f79c.tar.gz |
(Note): GDB can sometimes expand macros.
Diffstat (limited to 'etc/DEBUG')
-rw-r--r-- | etc/DEBUG | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/etc/DEBUG b/etc/DEBUG index 27f563a7405..773737c65c7 100644 --- a/etc/DEBUG +++ b/etc/DEBUG @@ -158,8 +158,9 @@ we want the address of the l-value expression near the bottom of XVECTOR (this_command_keys)->contents[this_command_key_count++] = key; -XVECTOR is a macro, and therefore GDB does not know about it. -GDB cannot evaluate "p XVECTOR (this_command_keys)". +XVECTOR is a macro, and therefore, in general, GDB does not know about it. +Unless Emacs has been compiled with preprocessor macro info, GDB cannot +evaluate "p XVECTOR (this_command_keys)" . However, you can use the xvector command in GDB to get the same result. Here is how: |