24.10.2019 22:51, Iain Buclaw пишет:
On Thu, 24 Oct 2019 at 19:20, drug via D.gnu wrote:
On 10/24/19 8:01 PM, Iain Buclaw wrote:
You can do the following:
void somefunc()
{
asm {
"990: nop" ~
".pushsection .note.stapsdt,\"?\",\"
On 10/24/19 8:01 PM, Iain Buclaw wrote:
You can do the following:
void somefunc()
{
asm {
"990: nop" ~
".pushsection .note.stapsdt,\"?\",\"note\"" ~
".balign 4" ~
".4byte 992f-991f, 994f-993f, 3" ~
"991: .asciz \"stapsdt\"" ~
"992: .balign
On 10/24/19 5:41 PM, Iain Buclaw wrote:
It looks like this is a top-level inline asslembler declaration? D
doesn't support top-level inline assembler, however I think this would
be a useful feature to allow.
As for the syntax, it's `asm { ... }`
This is in fact DTrace probe generated by usi
Hello!
I have the following assebly:
```C
__asm__ __volatile__ (
"990: nop\n" \
".pushsection .note.stapsdt,\"?\",\"note\"\n"\
".balign 4\n"\
".4byte 992
21.10.2015 21:04, Iain Buclaw via D.gnu пишет:
I meant enum : MyStruct { ... }
I guess DMD does not support emitting enums to debug then.
I see. Thanks!
21.10.2015 18:22, Johannes Pfau пишет:
Am Wed, 21 Oct 2015 11:45:58 +0300
schrieb drug :
Using gdb `print` instead of enum value I see `incomplete type`. Did
I miss something? (I use gdb 7.10 from ttp://ftp.gnu.org/gnu/gdb/)
Thanks
Which gdc branch/version? And please provide a testcase as I
21.10.2015 19:31, Iain Buclaw via D.gnu пишет:
On 21 October 2015 at 10:45, drug via D.gnu mailto:d.gnu@puremagic.com>> wrote:
Using gdb `print` instead of enum value I see `incomplete type`. Did
I miss something? (I use gdb 7.10 from ttp://ftp.gnu.org/gnu/gdb/
<http://ft
Using gdb `print` instead of enum value I see `incomplete type`. Did I
miss something? (I use gdb 7.10 from ttp://ftp.gnu.org/gnu/gdb/)
Thanks
On 27.04.2015 17:57, Iain Buclaw via D.gnu wrote:
I'm not sure, but I checked it double. I downloaded here
https://packages.debian.org/jessie/gdc-4.9
https://packages.debian.org/sid/gdc-4.9
https://packages.debian.org/experimental/gdc-4.9
the same result
That's the debian package, which would b
On 27.04.2015 16:43, Iain Buclaw via D.gnu wrote:
On 27 April 2015 at 15:15, drug via D.gnu wrote:
I download gdc from official gdc downloading page but it give me error
compiling this code:
```
class Foo
{
this(long timestamp) nothrow @nogc
{
...
}
}
```
the error
I download gdc from official gdc downloading page but it give me error
compiling this code:
```
class Foo
{
this(long timestamp) nothrow @nogc
{
...
}
}
```
the error message is
```
error: user defined attributes cannot appear as postfixes
```
Looks like gdc doesn't know what
11 matches
Mail list logo