S390 gdb patches

DJBARROW@de.ibm.com DJBARROW@de.ibm.com
Mon Oct 30 07:22:00 GMT 2000


Hi all,
Here are the latest gdb patches for Linux for S/390, which I hope will you
will accept, it is based
on what I checked out on 13/10/00. There is only 1 line modified in
readlines configure.in for s390
 to add -f-signed-char compiler flag,
this may already be in the readlines configure.in script from bash.

The binutils is made up of what was in CVS & a dash of the binutils-2.10
port for s390.

The primary architecture independent changes I made were a few enhancments
to
gdbarch.sh & also added a DWARF2_REG_TO_REGNUM macro to dwarf2read.c,
this was needed for when REGISTER_NAMES indexes don't match the ELF/DWARF2
ABI bindings
for a particular architecture, ( this was the case on 390 ) similar macros
already existed for dwarf1
& stabs debug info.

(See attached file: ChangeLog.301000.bfd)(See attached file:
ChangeLog.301000.gdb)(See attached file: ChangeLog.301000.gdbroot)(See
attached file: ChangeLog.301000.include)(See attached file:
ChangeLog.301000.opcodes)(See attached file:
gdb.s390.301000.binutils.config.diff)(See attached file:
gdb.s390.301000.binutils.core.diff)(See attached file:
gdb.s390.301000.binutils.makefile.diff)(See attached file:
gdb.s390.301000.config.diff)(See attached file: gdb.s390.301000.core.diff)
(See attached file: gdb.s390.301000.readline.config.diff)

Let us know if there are any problems.

Thanks

D.J. Barrow Linux for S/390 kernel developer
eMail: djbarrow@de.ibm.com,barrow_dj@yahoo.com
Phone: +49-(0)7031-16-2583
IBM Germany Lab, Schönaicherstr. 220, 71032 Böblingen
-------------- next part --------------
1999-2000  D.J. Barrow <djbarrow@de.ibm.com>
        Added s390 support
	Various mods to match the s390 binutils-2.10

	The following new files were added
	/bfd/cpu-s390.c
	/bfd/elf32-s390.c


	Files modified
	/bfd/Makefile.am
	/bfd/archures.c
	/bfd/bfd-in2.h
	/bfd/config.bfd
	/bfd/configure.in
	/bfd/targets.c
	/bfd/trad-core.c
-------------- next part --------------
2000-10-25  D.J. Barrow <djbarrow@de.ibm.com>
	Added DWARF2_REG_TO_REGNUM to dwarf2read.c
	this functionality used assume gdb REGISTER_NAMES
	indexes were identical to the Dwarf2 ABI mappings
	for each architecture this functionality already
	existed for stabs & plain dwarf. It was required
	because the linux for s390 dwarf2 register index
	mappings weren't identical to the REGISTER_NAMES
	indexes.
	
	Added STAB_REG_TO_REGNUM
	      DWARF_REG_TO_REGNUM
	      DWARF2_REG_TO_REGNUM to gdbarch.sh
	
2000-10-20  D.J. Barrow <djbarrow@de.ibm.com>
	Various mods to gdbarch.sh
	Added INIT_FRAME_PC_FIRST
	Added ADDR_BITS_REMOVED
	Added CANNOT_FETCH_REGISTER
	Added CANNOT_STORE_REGISTER
	Added allow_null_function null_function_default_retval 
	parameter definitions to gdbarch.sh.
	Added DONT_WANT_GDB_MULTI_ARCH_MACROS so that 
	name space pollution doesn't occur for definintions
	in arch-nat.c & arch-tdep.c. allowing original
	/config/arch definitions to still be used.
	Added EXTRACT_STRUCT_VALUE_ADDRESS_P omitted variable definition.
	Improved PUSH_RETURN_ADDRESS & CALL_DUMMY_BREAKPOINT_OFFSET
	& EXTRACT_STRUCT_VALUE_ADDRESS
	
1999-2000  D.J. Barrow <djbarrow@de.ibm.com>
        Added s390 support

	The following new files were added
	/gdb/s390-tdep.c
	/gdb/s390-nat.c
	/gdb/s390-tdep-multiarch.c
	/gdb/config/s390/s390-gdbregs.h
	/gdb/config/s390/s390-regs-common.h
	/gdb/config/s390/s390.mh
	/gdb/config/s390/s390.mt
	/gdb/config/s390/sigcontext.h
	/gdb/config/s390/tm-linux.h
	/gdb/config/s390/tm-s390.h
	/gdb/config/s390/xm-linux.h


	Files modified
	/gdb/configure.host
	/gdb/configure.tgt
	/gdb/configure.in







-------------- next part --------------
1999-2000  D.J. Barrow <djbarrow@de.ibm.com>
        Added s390 support
	Files modified
	/config.sub
	/configure.in
-------------- next part --------------
2000-10-25  D.J. Barrow    <djbarrow@de.ibm.com>
	Added from linux for s390 binutils-2.10
	/include/elf/s390.h
	/include/opcode/s390.h
	Modified to include s390 support
	/include/dis-asm.h
	/include/elf/common.h
-------------- next part --------------
1999-2000  D.J. Barrow <djbarrow@de.ibm.com>
        Added s390 support
        Various mods to match the s390 binutils-2.10
	The following new files were added
	/opcodes/s390-dis.c
	/opcodes/s390-mkopc.c
	/opcodes/s390-opc.c
	/opcodes/s390-opc.txt


	Files modified
	/opcodes/Makefile.am
	/opcodes/configure.in
	/opcodes/disassemble.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb.s390.301000.binutils.config.diff
Type: text/x-diff
Size: 1843 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20001030/5e849522/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb.s390.301000.binutils.core.diff
Type: text/x-diff
Size: 150414 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20001030/5e849522/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb.s390.301000.binutils.makefile.diff
Type: text/x-diff
Size: 2326 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20001030/5e849522/attachment-0002.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb.s390.301000.config.diff
Type: text/x-diff
Size: 1586 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20001030/5e849522/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb.s390.301000.core.diff
Type: text/x-diff
Size: 84222 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20001030/5e849522/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gdb.s390.301000.readline.config.diff
Type: text/x-diff
Size: 261 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/gdb-patches/attachments/20001030/5e849522/attachment-0005.bin>


More information about the Gdb-patches mailing list