unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#15574: 24.3.50; Can't debug, VALMASK undefined
@ 2013-10-09 16:56 Jan Djärv
  2013-10-09 17:07 ` Jan Djärv
  2013-10-17  3:10 ` Paul Eggert
  0 siblings, 2 replies; 5+ messages in thread
From: Jan Djärv @ 2013-10-09 16:56 UTC (permalink / raw)
  To: 15574

Hello.

When starting gdb, I get:

warning: Got an error handling event: "No symbol "VALMASK" in current context.".

Needles to say, any debugging of Lisp objects and Lisp backtrace doesn't work.
It seems clang optimizes away VALMASK even at zero optimizing level.

Can we rearrange this somehow?  External and defined in a C-file?  Or fix .gdbinit to not use VALMASK?

	Jan D.



In GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.5.0, NS apple-appkit-1187.39)
of 2013-10-02 on zeplin
Bzr revision: 114501 jan.h.d@swipnet.se-20131002185234-b2ye4esar88g5gov
Windowing system distributor `Apple', version 10.3.1187
Configured using:
`configure --verbose --with-ns CFLAGS=-g3'

	Jan D.






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

* bug#15574: 24.3.50; Can't debug, VALMASK undefined
  2013-10-09 16:56 bug#15574: 24.3.50; Can't debug, VALMASK undefined Jan Djärv
@ 2013-10-09 17:07 ` Jan Djärv
  2013-10-17  3:10 ` Paul Eggert
  1 sibling, 0 replies; 5+ messages in thread
From: Jan Djärv @ 2013-10-09 17:07 UTC (permalink / raw)
  To: 15574

Hello.

ARRAY_MARK_FLAG is also optimized away.

	Jan D.

9 okt 2013 kl. 18:56 skrev Jan Djärv <jan.h.d@swipnet.se>:

> Hello.
> 
> When starting gdb, I get:
> 
> warning: Got an error handling event: "No symbol "VALMASK" in current context.".
> 
> Needles to say, any debugging of Lisp objects and Lisp backtrace doesn't work.
> It seems clang optimizes away VALMASK even at zero optimizing level.
> 
> Can we rearrange this somehow?  External and defined in a C-file?  Or fix .gdbinit to not use VALMASK?
> 
> 	Jan D.
> 
> 
> 
> In GNU Emacs 24.3.50.1 (x86_64-apple-darwin12.5.0, NS apple-appkit-1187.39)
> of 2013-10-02 on zeplin
> Bzr revision: 114501 jan.h.d@swipnet.se-20131002185234-b2ye4esar88g5gov
> Windowing system distributor `Apple', version 10.3.1187
> Configured using:
> `configure --verbose --with-ns CFLAGS=-g3'
> 
> 	Jan D.
> 
> 
> 






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

* bug#15574: 24.3.50; Can't debug, VALMASK undefined
  2013-10-09 16:56 bug#15574: 24.3.50; Can't debug, VALMASK undefined Jan Djärv
  2013-10-09 17:07 ` Jan Djärv
@ 2013-10-17  3:10 ` Paul Eggert
  2013-10-17  5:46   ` Jan Djärv
  1 sibling, 1 reply; 5+ messages in thread
From: Paul Eggert @ 2013-10-17  3:10 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 15574

I took a stab at fixing this in trunk bzr 114691; please give it a try.





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

* bug#15574: 24.3.50; Can't debug, VALMASK undefined
  2013-10-17  3:10 ` Paul Eggert
@ 2013-10-17  5:46   ` Jan Djärv
  2013-10-17  6:33     ` Paul Eggert
  0 siblings, 1 reply; 5+ messages in thread
From: Jan Djärv @ 2013-10-17  5:46 UTC (permalink / raw)
  To: Paul Eggert; +Cc: 15574

Hello.

17 okt 2013 kl. 05:10 skrev Paul Eggert <eggert@cs.ucla.edu>:

> I took a stab at fixing this in trunk bzr 114691; please give it a try.

A quick test indicates that it is working.

Thanks,

	Jan D.





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

* bug#15574: 24.3.50; Can't debug, VALMASK undefined
  2013-10-17  5:46   ` Jan Djärv
@ 2013-10-17  6:33     ` Paul Eggert
  0 siblings, 0 replies; 5+ messages in thread
From: Paul Eggert @ 2013-10-17  6:33 UTC (permalink / raw)
  To: Jan Djärv; +Cc: 15574-done

Thanks for checking; marking this as done.





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

end of thread, other threads:[~2013-10-17  6:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-09 16:56 bug#15574: 24.3.50; Can't debug, VALMASK undefined Jan Djärv
2013-10-09 17:07 ` Jan Djärv
2013-10-17  3:10 ` Paul Eggert
2013-10-17  5:46   ` Jan Djärv
2013-10-17  6:33     ` Paul Eggert

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).