Jump to page: 1 2
Thread overview
[Issue 13519] Debugging issues when main()-containing module not listed first in DMD commandline
Dec 17, 2022
Iain Buclaw
September 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13519

hsteoh@quickfur.ath.cx changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |hsteoh@quickfur.ath.cx

--- Comment #1 from hsteoh@quickfur.ath.cx ---
Unable to reproduce problem on Debian Linux / x86_64. I get $1 = 0 for `print count` in both goodsymbols and badsymbols. What version of gdb are you using?

--
September 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13519

--- Comment #2 from erikas.aubade@gmail.com ---
My gdb reports 'GNU gdb (GDB) 7.5.91.20130417-cvs-ubuntu'

--
September 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13519

--- Comment #3 from hsteoh@quickfur.ath.cx ---
Hmm, I'm using gdb 7.7.1, and I don't see this problem.

Oh, btw, what version of dmd are you running? That's probably the more likely cause of the problem.

--
September 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13519

--- Comment #4 from erikas.aubade@gmail.com ---
I've had the issue with 2.065, 2.066, and 2.066.1-rc2.

Are you compiling 64-bit executables? I don't have the problem when I compile into 32bit mode.

--
September 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13519

--- Comment #5 from hsteoh@quickfur.ath.cx ---
I'm compiling with -m64, as you indicated in the bug report. Don't see the problem.

Could be something recently fixed, as I'm using dmd git HEAD.

--
September 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13519

--- Comment #6 from hsteoh@quickfur.ath.cx ---
Just tested with 2.064.2 (with -m64 -g), still can't reproduce this problem.

--
September 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13519

--- Comment #7 from hsteoh@quickfur.ath.cx ---
Could you try with 2.067.0-b1 to see if it makes a difference?

--
September 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13519

--- Comment #8 from erikas.aubade@gmail.com ---
Hrm. 2.067-b1 has the same problem. So it might just be a system-local issue.

--
September 23, 2014
https://issues.dlang.org/show_bug.cgi?id=13519

--- Comment #9 from hsteoh@quickfur.ath.cx ---
That's very intriguing. I wonder what could be causing this problem? Unfortunately, I have no way to investigate it since I can't reproduce it. Somebody else would have to step up to look into it.

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=13519

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
« First   ‹ Prev
1 2