Commit Graph

32825 Commits

Author SHA1 Message Date
Michael Snyder ba5f2f8ad2 2002-01-11 Michael Snyder <msnyder@redhat.com>
* symfile.c (generic_load): Whitespace and long line cleanups.
        Remove duplicate variable, change several local variables to
        more appropriate data types.
        (print_transfer_performance): Use %lu instead of %ld for ulongs.
2002-01-12 23:44:26 +00:00
Alan Modra 35c04bf5fd daily update 2002-01-12 23:00:09 +00:00
Denis Chertykov c40bbade5d * emulparams/avr1200.sh (DATA_START): Define as 0x60.
* emulparams/avr23xx.sh: Likewise.
	* emulparams/avr4433.sh: Likewise.
	* emulparams/avr44x4.sh: Likewise.
	* emulparams/avr85xx.sh: Likewise.
	* emulparams/avrmega103.sh: Likewise.
	* emulparams/avrmega161.sh: Likewise.
	* emulparams/avrmega603.sh: Likewise.
	* scripttempl/elf32avr.sc: Use DATA_START instead of 0x60.
2002-01-12 20:22:19 +00:00
Andrew Cagney 17df2af65c Use phex_nz() not printf 2002-01-12 20:00:07 +00:00
Elena Zannoni 538a76d6b8 Update Copyright year. 2002-01-12 16:38:47 +00:00
Elena Zannoni ec920329eb 2002-01-12 Elena Zannoni <ezannoni@redhat.com>
* sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in
	the function.
2002-01-12 16:29:44 +00:00
Matthew Green 43c4bab055 * Makefile.in (tmp-igen): Pass -I $(srcdir) to igen.
* igen.c (main): Change -I to add include paths for :include:
files.
Implement -G as per sim/igen, with just gen-icache=N support.
Call load_insn_table() with the built include path.

* ld-insn.c (parse_include_entry): New. Load an :include: file.
(load_insn_table): New `includes' argument.  Look for :include:
entries and call parse_include_entry() for them.
(main): Adjust load_insn_table() call.
* ld-insn.h (model_include_fields): New enum.
(load_insn_table): Update prototype.
* table.c (struct _open_table, struct _table): Rework
structures to handle included files.
(table_push): Move the guts of table_open() here.

* table.c (struct _open table, struct table): Make table object an
indirect ptr to the current table file.
(current_line, new_table_entry, next_line): Make file arg type
open_table.
(table_open): Use table_push.
(table_entry_read): Point variable file at current table, at eof, pop
last open table.

* misc.h (NZALLOC): New macro. From sim/igen.

* table.h, table.c (table_push): New function.
2002-01-12 10:21:12 +00:00
Andrew Cagney 3abd2e019d * language.c (longest_raw_hex_string): Delete unused function. 2002-01-12 05:19:10 +00:00
gdbadmin 6fe757f684 *** empty log message *** 2002-01-12 00:00:03 +00:00
Alan Modra ce17a66bc7 daily update 2002-01-11 23:00:15 +00:00
Michael Snyder 79f1224722 2002-01-11 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (Choosing files): Change @samp to @file.
2002-01-11 20:24:14 +00:00
Richard Earnshaw e28cd48c21 * tc-arm.c ((do_ldst): Fix handling an immediate expression pseudo
op that can be translated into a mvn instruction.

* gas/arm/ldconst.s gas/arm/ldconst.d: New files.  Test ldr with
immediate pseudo-operations.
* gas/arm/arm.exp: Run it.
2002-01-11 18:00:17 +00:00
Petr Sorfa b21b22e068 1) Handling of the DW_AT_byte_size attribute when processing a
DW_TAG_string_type (this is acceptable under the current DWARF 2.1/3.0
standard.)
2) In read_tag_string_type(), a fix for FORTRAN that propagates the
first string length to all string types. This is important as FORTRAN
strings are not delimited as in C/C++.
3) Handling of the DW_LANG_Fortran95.
2002-01-11 16:56:04 +00:00
Petr Sorfa 41ae02c9ea Added Self to Write After Approval 2002-01-11 16:51:03 +00:00
Richard Earnshaw 747fe7125b * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid ->
GETPID(inferior_ptid).
(store_inferior_registers): Likewise.
2002-01-11 10:46:15 +00:00
Jason Merrill f1bea926d1 * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup.
Fix DW_OP_minus.
2002-01-11 09:32:50 +00:00
Nick Clifton a0c1c92088 Add ia64-hpux target. LD and GDB are not currently supported. 2002-01-11 09:29:18 +00:00
Nick Clifton 1cd8ff3882 Add support for ia64-hpux target. 2002-01-11 09:27:39 +00:00
Matthew Green 1951c6f7f8 [cgen/ChangeLog]
* cpu/xstormy16.cpu (gr-Rbj-names): Rename this ...
	(gr-Rb-names): ... to this.
	(h-Rb): New hardware peice.
	(h-Rbj): Use gr-Rb-names.
	(Rb): Use h-Rb.

	(holdx): New instruction.

[opcodes/ChangeLog]
	* xstormy16-asm.c: Regenerate.
	* xstormy16-desc.c: Likewise.
	* xstormy16-desc.h: Likewise.
	* xstormy16-dis.c: Likewise.
	* xstormy16-opc.c: Likewise.
	* xstormy16-opc.h: Likewise.

[gas/testsuite/ChangeLog]
	* gas/xstormy16/allinsn.sh (movf, jmp, call, icall): Update.
	* gas/xstormy16/allinsn.d: Regenerate.
	* gas/xstormy16/allinsn.s: Regenerate.

[sid/component/cgen-cpu/xstormy16/ChangeLog]
	* xstormy16.cxx (do_holdx): Define.
	* xstormy16.h (do_holdx): Declare.
2002-01-11 07:24:59 +00:00
Michael Snyder 352ed7b4c2 2002-01-10 Michael Snyder <msnyder@redhat.com>
* NEWS: Mention --pid and corefile/proc-id behavior change.
2002-01-11 01:46:17 +00:00
Andrew Cagney ae940673aa * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001
and bfd/elf32-sh-nbsd.c.
2002-01-11 01:13:26 +00:00
gdbadmin 32e230beae *** empty log message *** 2002-01-11 00:00:35 +00:00
Michael Snyder c18be923ef 2002-01-10 Michael Snyder <msnyder@redhat.com>
* Makefile.in: Add rules for gcore.o and linux-proc.o.
	* gcore.c: Include cli/cli-decode.h instead of command.h.
2002-01-10 23:32:25 +00:00
Michael Snyder b87011e952 2002-01-10 Michael Snyder <msnyder@redhat.com>
* elf.c (elfcore_write_prstatus): Use long instead of pid_t;
	(elfcore_write_pstatus): Use long instead of pid_t;
	* elf-bfd.h: Change prototypes to use long instead of pid_t;
2002-01-10 23:05:21 +00:00
Michael Snyder 198377909c 2002-01-05 Michael Snyder <msnyder@redhat.com>
* gdb.texinfo (--pid): Document new command line option (attach).
2002-01-10 23:03:35 +00:00
Michael Snyder 00546b04b2 2002-01-10 Michael Snyder <msnyder@redhat.com>
* main.c (captured_main): Add new command line option "--pid".
	If the second command line argument (following the symbol-file)
	begins with a digit, try to attach to it before trying to open
	it as a corefile.
	(print_gdb_help): Document the "--pid" argument.
2002-01-10 23:03:08 +00:00
Alan Modra a873495b95 daily update 2002-01-10 23:00:05 +00:00
Jason Merrill 1bc05c3a56 * gdb.c++/namespace.exp: Accept trailing const for 'this'.
* gdb.c++/classes.exp: Accept 'A const' or 'const A' in copy
        constructors.
        * gdb.c++/derivation.exp: Likewise.
        * gdb.c++/templates.exp: Likewise.
        * gdb.c++/virtfunc.exp: Likewise.
2002-01-10 20:46:16 +00:00
Michael Snyder 7b2ac63ba0 2002-01-10 Michael Snyder <msnyder@redhat.com>
* gdb.c++/namespace.exp: Accept both '\0' and '\000'.
2002-01-10 18:27:09 +00:00
Jason Merrill ce520b11b3 update copyright 2002-01-10 17:48:03 +00:00
Jason Merrill ffcb195b51 * gdb.c++/namespace.exp: '\0', not '\000'. 2002-01-10 13:21:58 +00:00
Richard Earnshaw 6c43fab6fb * tc-arm.c (struct reg_entry): Move before prototypes.
(int_register, cp_register, fp_register): Delete.
(reg_table): Delete.  Replaced with ...
(rn_table, cp_table, cn_table, fn_table, mav_mvf_table)
(mav_mvd_table, mav_mvfx_table, mav_mvdx_table, mav_mvax_table)
(mav_dspsc_table): ... one table per register set.
(arm_reg_hsh): Delete.
(struct reg_map): New structure.
(all_reg_maps): New array.
(enum arm_reg_type): New enums.
(build_reg_hsh): New function.
(insert_reg_alias): Use hash table passed by caller.  Adjust all
callers.
(create_register_alias): New function, split out from ...
(md_assemble): ... here.
(md_begin): Build new register hash tables.
(arm_reg_parse): New argument for the hash table to search.  Adjust all
callers.
(arm_reg_parse_any): New function.
(co_proc_number): Look up the processor number in the processor hash
table.
(cirrus_regtype): Delete.
(cirrus_register, cirrus_mvf_register, cirrus_mvd_register)
(cirrus_mvfx_register, cirrus_mvdx_register, cirrus_mvax_register)
(ARM_EXT_MAVERICKsc_register): Delete.
(do_c_binops_1, do_c_binops_2, do_c_binops_3): Delete.
(do_c_binops_1[a-o], do_c_binops_2[a-c], do_c_binops_3[a-d]): New
functions.
(do_c_triple_4, do_c_triple_5): Delete.
(do_c_triple_4[ab], do_c_triple_5[a-h]): New functions.
(do_c_quad_6): Delete.
(do_c_quad_6[ab]): New functions.
(do_c_binops, do_c_triple, do_c_quad, do_c_shift, do_c_ldst): Rework
arguments to use new register parsing methods.
(cirrus_reg_required_here): Likewise.
(insns): Reclassify cirrus maverick worker functions.
(cirrus_valid_reg): Delete.
2002-01-10 11:47:35 +00:00
Nick Clifton 00125dd034 Add myself as ARM sim maintainer 2002-01-10 11:15:35 +00:00
Nick Clifton 57165fb4bb Fix parameters passed to CPRead[13] and CPRead[14]. 2002-01-10 11:14:57 +00:00
Eli Zaretskii db60ec6263 * completer.c (command_completer): New function.
* completer.h <command_completer>: Add prototype.

	* cli/cli-cmds.c (init_cli_cmds): Make command_completer be the
	completer for the "help" command.
2002-01-10 08:15:58 +00:00
Jason Merrill 39c22d1ade * c-typeprint.c (is_type_conversion_operator): Fix thinko. 2002-01-10 00:06:02 +00:00
gdbadmin 155ca243e1 *** empty log message *** 2002-01-10 00:00:34 +00:00
Alan Modra 09a6cfe9bf daily update 2002-01-09 23:00:07 +00:00
Michael Snyder 975aec09bd 2002-01-09 Michael Snyder <msnyder@redhat.com>
* i386-linux-nat.c (fill_fpxregset): Make global.
	(store_fpxregset): Ditto.
2002-01-09 22:32:16 +00:00
Michael Snyder db4a10fae4 2002-01-09 Michael Snyder <msnyder@redhat.com>
* gregset.h (gdb_fpxregset_t): Define.
	(supply_fpxregset): Prototype.
	(fill_fpxregset): Prototype.
2002-01-09 20:48:43 +00:00
Jason Thorpe b4db1224b7 include/elf:
* common.h: Update copyright years.
(NT_NETBSDCORE_PROCINFO): Define.
(NT_NETBSDCORE_FIRSTMACH): Define.

bfd:
* elf.c: Update copyright years.
(elfcore_grok_netbsd_note): Use NT_NETBSDCORE_PROCINFO
and NT_NETBSDCORE_FIRSTMACH.  Improve a comment.

bintuils:
* readelf.c (get_netbsd_elfcore_note_type): Use
NT_NETBSDCORE_PROCINFO and NT_NETBSDCORE_FIRSTMACH.
2002-01-09 18:59:11 +00:00
Michael Snyder c564377fea 2002-01-09 Michael Snyder <msnyder@redhat.com>
* exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo.
2002-01-09 18:49:22 +00:00
Richard Earnshaw c3d45d70a5 * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS.
* config/arm/nm-nbsd.h (arm_register_u_addr): Likewise.
* config/arm/tm-nbsd.h (get_longjmp_target): Likewise.
2002-01-09 18:39:37 +00:00
Andrew Cagney fcc87af1cf Update target section. 2002-01-09 18:33:21 +00:00
Richard Earnshaw d4297db931 Fix formatting of ChangeLog entry in previous commit. 2002-01-09 18:27:53 +00:00
Richard Earnshaw dd96c05b5f MAINTAINERS (write-after-approval): Add myself.
arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to
IN_SIGTRAMP.
2002-01-09 18:07:48 +00:00
Jason Thorpe 9437c45bc1 * readelf.c: Update copyright years.
(get_note_type): Return a const char *.
(get_netbsd_elfcore_note_type): New function.
(process_note): Use get_netbsd_elfcore_note_type to get
the note type string for NetBSD ELF core files.
2002-01-09 18:05:49 +00:00
Richard Earnshaw 52fe395a0d * gas/arm/float.s: Don't use VFP register names in fpa instructions. 2002-01-09 16:59:06 +00:00
Nick Clifton 86c735a526 General format tidy ups 2002-01-09 15:08:21 +00:00
Nick Clifton 272fcdcd59 Fix bug detected by GDB testsuite - when fetching registers more than 4
bytes wide return 0 for the other bytes.
2002-01-09 14:59:22 +00:00