Re: How do I find out which info table a continuation belongs to?

2019-09-02 Thread Ömer Sinan Ağacan
Fixed in https://gitlab.haskell.org/ghc/ghc/merge_requests/1654 Ömer Ömer Sinan Ağacan , 10 Şub 2019 Paz, 10:49 tarihinde şunu yazdı: > > I'm currently working on a bug and one of the things I often want to know is > what's on the stack. The problem is I can't see labels of continuations so the

Re: How do I find out which info table a continuation belongs to?

2019-05-02 Thread Ömer Sinan Ağacan
: Sunday, February 10, 2019 6:45 PM > > To: Simon Marlow > > Cc: ghc-devs; Sergei Azovskov > > Subject: Re: How do I find out which info table a continuation belongs to? > > > > I'm already using -g3. Here's my build.mk: > > > > BuildFlavour = quick >

Re: How do I find out which info table a continuation belongs to?

2019-04-24 Thread Ömer Sinan Ağacan
M > To: Simon Marlow > Cc: ghc-devs; Sergei Azovskov > Subject: Re: How do I find out which info table a continuation belongs to? > > I'm already using -g3. Here's my build.mk: > > BuildFlavour = quick > > ifneq "$(BuildFlavour)" "" > in

Re: How do I find out which info table a continuation belongs to?

2019-02-10 Thread Ömer Sinan Ağacan
I'm already using -g3. Here's my build.mk: BuildFlavour = quick ifneq "$(BuildFlavour)" "" include mk/flavours/$(BuildFlavour).mk endif GhcRtsHcOpts += -O0 -g3 SRC_HC_OPTS += -g3 GhcStage1HcOpts += -g3 GhcStage2HcOpts += -g3 GhcLibHcOpts += -g3 STRIP_CMD

Re: How do I find out which info table a continuation belongs to?

2019-02-10 Thread Simon Marlow
I believe this is due to https://phabricator.haskell.org/D4722 (cc Sergei Azovskov) I'm a bit surprised that gdb isn't showing anything though, it should know that the address corresponds to a temporary symbol like `.L1234`. Perhaps you need to compile with -g to make this work, I'm not sure.

How do I find out which info table a continuation belongs to?

2019-02-09 Thread Ömer Sinan Ağacan
I'm currently working on a bug and one of the things I often want to know is what's on the stack. The problem is I can't see labels of continuations so the information is really useless. Example: >>> call printStack(((StgTSO*)0x42000e0198)->stackobj) 0x42000c8788: RET_SMALL (0x512d70)