OSDN Git Service

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)
commite5e563e46e1d5dcdcb40d78086741e8519e865a6
tree9ccc3d9335405b6278954128e4db4c1caccafab5
parent3b1b1d73c10de7143a19d460cabb0543891513be
    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