[design change] record-replay linux ABI level

Tom Tromey tromey@redhat.com
Wed May 16 14:57:00 GMT 2012


>>>>> "oza" == oza Pawandeep <oza.pawandeep@gmail.com> writes:

oza> b) I am not much familiar with xml generated C files, and where to
oza> change in gdb, but with that, will the record_linux_system_call be
oza> able to incorporate all conflicting syscall numbers in that case ?

The idea is to extend the current approach.  That is, have a single
generic enum; then map the system-specific numbers to this enum.  The
difference is that the mappings would be generated from the XML files.

oza> define as follows
oza> enum gdb_syscall
oza> {
oza>            /* i386 related syscalls */
oza>            /* ARM related syscalls */
oza>            /* MIPS related syscalls */
oza>            so on..
oza> }

Yeah, I don't like this much.

Tom



More information about the Gdb mailing list