Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/sys



> Module Name:  src
> Committed By: dsl
> Date:         Tue Jan  7 07:59:03 UTC 2014
> 
> Modified Files:
>       src/sys/kern: core_netbsd.c
>       src/sys/uvm: uvm_coredump.c
> 
> Log Message:
> Re-instate the zero length sections in elf core dumps (they probably help
>   describe the process memory layout).
> Fudge the a.out core code to not dump the entire contents.
> I'm not sue that anything can read a.out core files - more progress might
>   be made on such dumps by converting the a.out file to elf!

i386 can, but amd64 can't it seems, but probably could without
too much effort.  eg, in gdb/configure.tgt:

x86_64-*-netbsd* | x86_64-*-knetbsd*-gnu)
        # Target: NetBSD/amd64
        gdb_target_obs="amd64-tdep.o amd64nbsd-tdep.o i386-tdep.o i387-tdep.o \
                        nbsd-tdep.o solib-svr4.o"

is missing i386bsd-tdep.o that supports a.out.  other amd64
targets have it, so it should compile and maybe work.



.mrg.


Home | Main Index | Thread Index | Old Index