Dave Brolley
2b2c676079
2002-06-18 Dave Brolley <brolley@redhat.com>
...
From Catherine Moore, Michael Meissner, Dave Brolley:
* common.h (EM_CYGNUS_FRV): New macro.
* frv.h: New file.
2002-06-18 21:15:57 +00:00
Dave Brolley
0ebb9a87eb
2002-06-18 Dave Brolley <brolley@redhat.com>
...
From Catherine Moore, Michael Meissner, Richard Sandiford, Dave Brolley:
* po/POTFILES.in: Add tc-frv.c, tc-frv.h.
* configure.in: Support frv-*-*.
* Makefile.am (CPU_TYPES): Add frv.
(TARGET_CPU_CFILES): Add tc-frv.c.
(TARGET_CPU_HFILES): Add tc-frv.h.
(DEPTC_frv_coff): New variable.
(DEPTC_frv_elf): New variable.
(DEPOBJ_frv_coff): New variable.
(DEPOBJ_frv_elf): New variable.
(DEP_frv_coff): New variable.
(DEP_frv_elf): New variable.
* tc-frv.c: New file.
* tc-frv.h: New file.
2002-06-18 21:15:21 +00:00
Dave Brolley
af029d496f
2002-06-18 Dave Brolley <brolley@redhat.com>
...
* gas/frv: New testsuite.
2002-06-18 21:14:45 +00:00
Dave Brolley
5c70f934cb
2002-06-18 Dave Brolley <brolley@redhat.com>
...
From Catherine Moore:
* readelf.c (elf/frv.h): #include it.
(guess_is_rela): Support EM_CYGNUS_FRV.
(dump_relocations): Ditto.
(get_machine_name): Ditto.
* Makefile.am (readelf.o): add dependency on $(INCDIR)/elf/frv.h.
2002-06-18 21:11:47 +00:00
Dave Brolley
4e5ba5b7eb
2002-06-18 Dave Brolley <brolley@redhat.com>
...
From Catherine Moore, Michael Meissner, Dave Brolley:
* po/SRC-POTFILES.in: Add cpu-frv.c and elf32-frv.c
* targets.c: Support bfd_elf32_frv_vec.
* reloc.c: Add FRV relocs.
* configure.in: Add support for bfd-elf32-frv-vec.
* config.bfd (targ_cpu): Add support for frv-*-elf.
* archures.c: Add frv arch and machines.
* Makefile.am (ALL_MACHINES): Add cpu-frv.lo.
(ALL_MACHINES_CFILES): Add cpu-frv.c.
(BFD32_BACKENDS): Add elf32-frv.lo.
(BFD32_BACKENDS_CFILES): Add elf32-frv.c
(cpu-frv.lo): New target.
(elf32-frv.lo): New target.
* cpu-frv.c: New file.
* elf32-frv.c: New file.
2002-06-18 21:10:55 +00:00
Dave Brolley
d2a864148e
2002-06-18 Dave Brolley <brolley@redhat.com>
...
* configure.in: Add support for frv.
* config.sub: Add support for frv.
2002-06-18 21:09:34 +00:00
Ben Elliston
bc98a6310f
* Makefile.am (CGENDEPS): Remove unnecessary stamp-cgen.
...
* Makefile.in: Regenerate.
2002-06-18 17:43:07 +00:00
Andrew Cagney
5402eed1c4
* MAINTAINERS: Note that cris-elf target can be compiled with
...
-Werror.
* cris-tdep.c (cris_register_name): Make return type constant.
(cris_breakpoint_from_pc): Ditto.
2002-06-18 16:01:12 +00:00
Joern Rennecke
dc9feb5c97
* interp.c (sim_resume): Fix setting of bus error for
...
instruction fetch.
2002-06-18 15:54:44 +00:00
Jakub Jelinek
7ece0d85fd
binutils/
...
* readelf.c (get_file_header): Only read the first section header if
e_shoff is non-zero.
bfd/
* elfcode.h (elf_object_p): Sanity check eh_shoff == 0 implies
e_shnum == 0.
Only read the first section header if e_shoff is non-zero.
Don't consider e_shstrndx if there are no sections.
2002-06-18 14:09:06 +00:00
Michal Ludvig
cc22880b3e
2002-06-18 Michal Ludvig <mludvig@suse.cz>
...
* frame.h (struct frame_info): Change type of context to
'struct context'.
2002-06-18 09:04:24 +00:00
DJ Delorie
f9c3326aec
merge from gcc
2002-06-18 03:01:43 +00:00
Catherine Moore
2a24298d33
* config/obj-elf.h (TARGET_SYMBOL_FIELDS): Conditionally define.
2002-06-18 01:37:34 +00:00
gdbadmin
6ed58df8f4
*** empty log message ***
2002-06-18 00:00:37 +00:00
Alan Modra
bc67e3a921
daily update
2002-06-18 00:00:06 +00:00
Andrew Cagney
2796179517
* hw-events.c (hw_event_queue_schedule): Initialize `dummy'.
2002-06-17 23:53:45 +00:00
Andrew Cagney
57af9c8bc0
* d10v_sim.h (SET_PSW_BIT): Add cast to avoid inverting an enum.
2002-06-17 23:37:43 +00:00
Andrew Cagney
fa88f6772d
* gdbarch.sh (REGISTER_NAME): Change return type a constant string
...
pointer.
* gdbarch.h, gdbarch.c: Regenerate.
* config/mips/tm-mips.h (mips_register_name): Update.
* i386-tdep.h (i386_register_name): Update.
* mips-tdep.c (mips_register_name): Update
* alpha-tdep.c (alpha_register_name): Update.
* arch-utils.c (legacy_register_name): Update.
* arch-utils.h (legacy_register_name): Update.
* avr-tdep.c (avr_register_name): Update.
* ia64-tdep.c (ia64_register_name): Update.
* i386-tdep.c (i386_register_name): Update.
* sparc-tdep.c (sparc32_register_name): Update.
(sparc64_register_name): Update.
(sparclite_register_name): Update.
(sparclet_register_name):
* sh-tdep.c (sh_generic_register_name): Update.
(sh_sh_register_name): Update.
(sh_sh3_register_name): Update.
(sh_sh3e_register_name): Update.
(sh_sh_dsp_register_name): Update.
(sh_sh3_dsp_register_name): Update.
(sh_sh4_register_name): Update.
(sh_sh64_register_name): Update.
* s390-tdep.c (s390_register_name): Update.
* rs6000-tdep.c (rs6000_register_name): Update.
* ns32k-tdep.c (ns32k_register_name_32082): Update.
(ns32k_register_name_32382): Update.
* d10v-tdep.c (d10v_ts2_register_name): Update.
(d10v_ts3_register_name): Update.
* xstormy16-tdep.c (xstormy16_register_name): Update.
* vax-tdep.c (vax_register_name): Update.
* v850-tdep.c (v850_register_name): Update.
* m68hc11-tdep.c (m68hc11_register_name): Update.
* mn10300-tdep.c (mn10300_generic_register_name): Update.
(am33_register_name): Update.
2002-06-17 23:32:36 +00:00
Andrew Cagney
d62274a397
* simops.c (trace_result): Fix printf formatting.
2002-06-17 21:49:05 +00:00
Grace Sainsbury
ea1e7ef6e5
Indented m68k-tdep.c using gdb_indent.sh
2002-06-17 21:49:03 +00:00
Andrew Cagney
bf96209254
* sim-memopt.c: Include <unistd.h>.
...
(do_memopt_add): Fix printf format.
* sim-events.c (sim_events_schedule): Initialize ``dummy''.
2002-06-17 21:45:55 +00:00
Andrew Cagney
78e731cd36
* gen.c (gen_entry_expand_opcode): Initialize ``value'' to -1 and
...
``t'' to NULL.
* igen.c (main): Add default case to switch.
* gen-icache.c (print_icache_extraction): Ditto.
2002-06-17 21:44:06 +00:00
Grace Sainsbury
b5d78d39b0
Indented file using gdb_indent.sh.
2002-06-17 21:39:01 +00:00
Andrew Cagney
b74317ff8e
* Makefile.in (BUILD_CFLAGS): Remove -O0.
2002-06-17 21:03:40 +00:00
Elena Zannoni
47243d69f7
2002-06-17 Elena Zannoni <ezannoni@redhat.com>
...
* psim.c (psim_options): Don't choke when gdb invokes us with
the --architecture option, just ignore it.
2002-06-17 19:58:39 +00:00
Andrew Cagney
9b02dd1b32
* gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to the
...
list of predefined types.
2002-06-17 19:56:15 +00:00
Keith Seitz
32c95e2031
* gdbmi.texinfo: Update command examples with real MI behavior.
2002-06-17 17:30:57 +00:00
Joern Rennecke
96f31fc79d
* config/tc-sh.c (assemble_ppi): Initialize reg_n.
2002-06-17 15:32:25 +00:00
Joern Rennecke
67fd25c29e
Fix comment.
2002-06-17 15:27:57 +00:00
Joern Rennecke
477ad2e19b
* gas/sh/dsp.s: Add three more instructions.
...
* gas/sh/dsp.d: Update.
2002-06-17 15:25:41 +00:00
Tom Rix
8243435612
Fix ld segfault for some elf targets. Fix default layout for d10v.
2002-06-17 14:08:40 +00:00
Tom Rix
4c0b7915d4
Tests for d10v.
2002-06-17 14:05:53 +00:00
Tom Rix
184e65b1d4
Fix build breakage.
2002-06-17 13:48:59 +00:00
Tom Rix
57fb03ac80
Fix pc relocations.
2002-06-17 13:43:50 +00:00
Alan Modra
767e34d13c
* opncls.c (bfd_openr): Remove redundant bfd_set_error.
...
(bfd_fdopenr): Likewise.
(bfd_openstreamr): Likewise.
(bfd_openw): Likewise.
2002-06-17 02:33:42 +00:00
Alan Modra
341ca62211
* targets.c: Sort target vecs.
...
(_bfd_target_vector): Add aix5coff64_vec, bfd_elf32_sh64_vec,
bfd_elf32_sh64l_vec, bfd_elf32_sh64lnbsd_vec,
bfd_elf32_sh64nbsd_vec, bfd_elf64_sh64_vec, bfd_elf64_sh64l_vec,
bfd_elf64_sh64lnbsd_vec, bfd_elf64_sh64nbsd_vec.
* configure.in: Sort target vecs. Add m88kmach3_vec.
* configure: Regenerate.
2002-06-17 02:27:38 +00:00
gdbadmin
7d5ef90c12
*** empty log message ***
2002-06-17 00:00:34 +00:00
Alan Modra
1e81458254
daily update
2002-06-17 00:00:06 +00:00
Hans-Peter Nilsson
dfbbae4ca3
* elf64-mmix.c (bpo_reloc_request_sort_fn): Use member
...
bpo_reloc_no to break sort order ties, not address of items.
2002-06-16 20:48:46 +00:00
Andrew Cagney
c8cca39f98
Import current --enable-gdb-build-warnings.
2002-06-16 16:33:35 +00:00
Andrew Cagney
3832c25c18
* Makefile.in (autoconf-changelog autoheader-changelog): Let name,
...
id, date and host to be overriden by NAME, ID, DATE and HOST
respectfully. Use ISO dates.
2002-06-16 15:59:34 +00:00
Mark Kettenis
b6197528ed
* config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE,
...
REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
REGISTER_CONVERT_TO_RAW): Remove defines.
(i386_register_virtual_type, i386_register_convertible,
i386_register_convert_to_virtual, i386_register_convert_to_raw):
Remove prototypes.
* i386-tdep.c (i386_gdbarch_init): Adjust for removal of the
macros mentioned above.
2002-06-16 15:32:09 +00:00
Jeff Law
d663e1cd53
* elf-hppa.h (elf_hppa_final_link): Fix formatting in comment.
...
Skip excluded sections in determing __gp value.
(elf_hppa_final_link_relocate): Use the symbol's address in
R_PARISC_FPTR64 relocations that don't need an opd entry.
* elf64-hppa.c (allocate_dynrel_entries): Simplify code.
(elf64_hppa_finalize_dynreloc): Likewise.
(elf64_hppa_size_dynamic_sections): Move comments and fix typo.
(elf64_hppa_finish_dynamic_symbol): Break up assert.
2002-06-16 15:32:08 +00:00
Mark Kettenis
82b47e62fc
* config/i386/tm-i386lynx.h (SAVED_PC_AFTER_CALL): Remove define.
...
(i386lynx_saved_pc_after_call): Remove prototype.
* i386ly-tdep.c: Include "i386-tdep.h".
(i386lynx_saved_pc_after_call): Make static. Use
read_memory_nobpt instead of read_memory. Use
read_memory_unsigned_integer instead of read_memory_integer.
(i386lynx_init_abi): New function.
(i386lynx_coff_osabi_sniffer): New function.
(_initialize_i386bsd_tdep): New function.
2002-06-16 02:19:22 +00:00
gdbadmin
cc51c39866
*** empty log message ***
2002-06-16 00:00:05 +00:00
Alan Modra
b9ab661c81
daily update
2002-06-16 00:00:04 +00:00
Andrew Cagney
c773125567
* sim-arm.h (enum sim_arm_regs): Rename sim_arm_regnum.
2002-06-15 22:49:38 +00:00
Mark Kettenis
8758dec1c5
* config/i386/tm-i386.h (PARM_BOUNDARY, CALL_DUMMY,
...
CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET,
CALL_DUMMY_BREAKPOINT_OFFSET, FIX_CALL_DUMMY): Remove defines.
(i386_fix_call_dummy): Remove prototype.
* i386-tdep.c (i386_call_dummy_words): New variable.
(i386_gdbarch_init): Adjust for removal of the
macros mentioned above.
2002-06-15 22:10:58 +00:00
Andrew Cagney
e9e68a56bc
* command.h (add_setshow_auto_boolean_cmd): Replace
...
add_set_auto_boolean_cmd.
* cli/cli-decode.c (add_setshow_auto_boolean_cmd): Replace
add_set_auto_boolean_cmd.
* cli/cli-decode.h (add_set_auto_boolean_cmd): Delete declaration.
* mips-tdep.c (_initialize_mips_tdep): Update ``set mips
mask-address'' command.
(show_mask_address): Add cmd parameter.
* remote.c (add_packet_config_cmd): Update. Change type of
set_func and show_func to cmd_sfunc_ftype.
(_initialize_remote): Update `set remote Z-packet'
(show_remote_protocol_qSymbol_packet_cmd): Add cmd parameter.
(show_remote_protocol_e_packet_cmd): Ditto.
(show_remote_protocol_E_packet_cmd): Ditto.
(show_remote_protocol_P_packet_cmd): Ditto.
(show_remote_protocol_Z_software_bp_packet_cmd): Ditto.
(show_remote_protocol_Z_hardware_bp_packet_cmd): Ditto.
(show_remote_protocol_Z_write_wp_packet_cmd): Ditto.
(show_remote_protocol_Z_read_wp_packet_cmd): Ditto.
(show_remote_protocol_Z_access_wp_packet_cmd): Ditto.
(show_remote_protocol_Z_packet_cmd): Ditto.
(show_remote_protocol_binary_download_cmd): Ditto.
(show_remote_cmd): Pass NULL to all of above.
2002-06-15 22:05:33 +00:00
Mark Kettenis
fc08ec527f
* config/i386/tm-i386.h (PUSH_ARGUMENTS, STORE_STRUCT_RETURN,
...
DEPRECATED_EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE,
DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS, PUSH_DUMMY_FRAME,
POP_FRAME): Remove defines.
(i386_push_arguments, i386_store_struct_return,
i386_extract_return_value, i386_store_return_value,
i386_extract_struct_value_address, i386_push_dummy_frame,
i386_pop_frame): Renove prototypes.
* i386-tdep.c (i386_gdbarch_init): Adjust for removal of the
macros mentioned above.
2002-06-15 21:15:43 +00:00