Fix auxv data parsing on 64-bit solaris
authorVladimir Prus <vladimir@codesourcery.com>
Sun, 4 May 2008 09:28:27 +0000 (09:28 +0000)
committerVladimir Prus <vladimir@codesourcery.com>
Sun, 4 May 2008 09:28:27 +0000 (09:28 +0000)
commitc47ffbe3b159da69fcc66cb7ad3a69077641b384
tree2b2787dd5be1f1afca6ee3cb7c9ad40950507445
parent55cd6f92dce132108458c2b1bcdba08fc7feb5da
    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