This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On 12/11/2015 06:29 AM, Yao Qi wrote:
Antoine Tremblay <antoine.tremblay@ericsson.com> writes:It also adds a new function to xml-syscall.h/c to compare syscalls numbers called is_syscall.Why don't we use existing get_syscall_by_name in arm_linux_sigreturn_return_addr rather than adding a new function is_syscall?
This is because it complicated the code a lot just to compare a syscall I have to do what is in the is_syscall function.
And I have to do that over and over... so might as well be in a function ?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |