OSDN Git Service

Fix auxv data parsing on 64-bit solaris
authorvprus <vprus>
Sun, 4 May 2008 09:28:26 +0000 (09:28 +0000)
committervprus <vprus>
Sun, 4 May 2008 09:28:26 +0000 (09:28 +0000)
commit0a899e3d6db2275570ed747dadbb7efcc09709b1
tree13231ba827f99747867199b9a7fa68ef7a6e09e3
parent439037dde125829212c9444c0c30c29a7c5602ed
    Fix auxv data parsing on 64-bit solaris
* target.h (struct target_ops): New field to_auxv_parse.
* auxv.c (default_auxv_parse): New, renamed from previous
target_auxv_parse.
(target_auxv_parse): Try to call target method.  Fallback to
default_auxv_parse if not found.
* procfs.c (procfs_auxv_parse): New.
(init_procfs_ops): On Solaris, in 64-bit mode, install
procfs_auxv_parse.
gdb/ChangeLog
gdb/auxv.c
gdb/procfs.c
gdb/target.h