Re: [PATCH] GDB: aarch64: Fix inferior function call if GCS is present but disabled

Tom Tromey <[email protected]>
Newsgroups gmane.comp.gdb.patches
Message-ID <[email protected]>
>>>>> Aktemur, Baris <[email protected]> writes:

>> +  gdbarch_get_shadow_stack_pointer (gdbarch, regcache, gcs_is_enabled);

> Some analyzer tools may flag this because the return value is not being used.
> Maybe put a `(void)` in front to indicate the return value is being ignored
> deliberately.

FWIW gdb does not normally do this unless the function is specially
marked.

Tom
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.