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
Andrew Cagney
e707bbc264
* cli/cli-decode.c (add_setshow_boolean_cmd): Replace
...
add_set_boolean_cmd.
(add_setshow_cmd): New function.
* command.h (add_setshow_boolean_cmd): Replace
add_set_boolean_cmd.
* remote-rdi.c (_initialize_remote_rdi): Update ``set rdiheartbeat''
and ``set rdiromatzero''.
* maint.c (_initialize_maint_cmds): Update commented out code.
* cli/cli-decode.h (add_set_boolean_cmd): Delete declaration.
* target.c (initialize_targets): Update `set
trust-readonly-sections'.
* remote.c (_initialize_remote): Update `set remotebreak'.
2002-06-15 21:07:59 +00:00
Mark Kettenis
93924b6b99
* config/i386/tm-i386.h (FUNCTION_START_OFFSET, INNER_THAN,
...
BREAKPOINT, DECR_PC_AFTER_BREAK): Removed.
* i386-tdep.c (i386_skip_prologue): Adjust function signature to
fit into multi-arch framework.
(i386_breakpoint_from_pc): New function.
(i386_gdbarch_init): Adjust for removal of the macros mentioned
above.
2002-06-15 20:41:51 +00:00
Mark Kettenis
42fdc8df2f
* config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION,
...
FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS,
FRAME_ARGS_SKIP, FRAME_INIT_SAVED_REGS): Remove defines.
(i386_frameless_function_invocation, i386_frame_num_args,
i386_frame_init_saved_regs): Remove prototypes.
* i386-tdep.c (i386_gdbarch_init): Adjust for removal of the
macros mentioned above.
2002-06-15 19:59:08 +00:00
Andrew Cagney
9773a94b7a
* cli/cli-decode.c (set_cmd_cfunc): Update.
...
(set_cmd_sfunc): Update.
* command.h (cmd_cfunc_ftype, cmd_sfunc_ftype): Declare.
(set_cmd_sfunc, set_cmd_cfunc): Update.
* cli/cli-decode.h: Update.
2002-06-15 19:54:26 +00:00
Mark Kettenis
6e157172af
* i386-sol2-tdep.c (i386_sol2_osabi_sniffer): New function.
...
(_initialize_i386_sol2_tdep): Register i386_sol2_osabi_sniffer.
2002-06-15 18:49:52 +00:00
Andrew Cagney
7f19b9a2d2
* defs.h (auto_boolean): Declare enum.
...
* command.h (cmd_auto_boolean): Delete enum.
* mips-tdep.c (mask_address_var): Update.
(mips_mask_address_p): Update.
(show_mask_address): Update.
* remote.c (struct packet_config): Update.
(update_packet_config): Update.
(show_packet_config_cmd): Update.
(packet_ok): Update.
(add_packet_config_cmd): Update.
(_initialize_remote):
* command.h: Update.
* cli/cli-setshow.c (parse_auto_binary_operation): Update.
(do_setshow_command): Update.
* cli/cli-decode.c (add_set_auto_boolean_cmd): Update.
* cli/cli-decode.h: Update.
2002-06-15 18:45:32 +00:00
H.J. Lu
72797995ca
2002-06-15 H.J. Lu (hjl@gnu.org)
...
* nm.c (print_size): New variable. Initialize to 0.
(long_options): Add 'S'/"print-size".
(main): Handle 'S'.
(print_symbol_info_bsd): Print size only if print_size is not
0.
* doc/binutils.texi: Document -S/--print-size.
2002-06-15 18:40:26 +00:00
Mark Kettenis
22ba8cf20b
* config/i386/tm-cygwin.h, config/i386/tm-fbsd.h,
...
config/i386/tm-go32.h, config/i386/tm-i386gnu.h,
config/i386/tm-i386sol2.h, config/i386/tm-i386v4.h,
config/i386/tm-linux.h, config/i386/tm-nbsd.h,
config/i386/tm-obsd.h (HAVE_I387_REGS): Remove define.
* config/i386/tm-i386.h: Unconditionally define FLOAT_INFO.
2002-06-15 18:09:31 +00:00
Mark Kettenis
762c5349bd
* i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the
...
list of DJGPP COFF targets.
2002-06-15 17:53:24 +00:00
Mark Kettenis
356a6b3e11
Clean up the mess I made from my last checkin.
2002-06-15 17:51:36 +00:00
Mark Kettenis
091198bb17
* config/i386/tm-i386.h (REGISTER_SIZE): Remove define.
...
(NUM_GREGS, NUM_FREGS, NUM_SSE_REGS): Remove defines.
(FP_REGNUM, SP_REGNUM, PC_REGNUM, PS_REGNUM): Remove defines.
(FP0_REGNUM): Remove define.
(MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE,
MAX_REGISTER_VIRTUAL_SIZE): Remove define.
(i386_register_virtual_size): Remove protoype.
* i386-tdep.c (i386_register_virtual_size): Removed.
(i386_extract_return_value, i386_store_return_value): Use
FP0_REGNUM instead of NUM_FREGS to determine whether the
floating-point registers are available.
(i386_gdbarch_init): Tweak FIXME about FPU registers.
Adjust for removal of macros mentioned above.
* i386-tdep.c (i386_gdbarch_init): Tewak
2002-06-15 17:41:29 +00:00
Mark Kettenis
fcc9bf0139
* i386v4-nat.c: Include "i386-tdep.h". Reformat and tweak various
...
comments.
(fill_gregset, supply_gregset, supply_fpregset, fill_fpregset):
Remove prototypes.
(supply_gregset, fill_gregset): Remove use of register keyword and
remove declaration for regmap. Use I386_NUM_GREGS instead of
NUM_REGS and NUM_FREGS.
(FPREGSET_FSAVE_OFFSET): Remove.
(supply_fpregset, fill_fpregset): Use FPO_REGNUM instead of
NUM_FREGS to determine whether the floating-point registers are
available.
2002-06-15 17:22:04 +00:00
Mark Kettenis
65e7823443
* i386gnu-nat.c (supply_gregset, gnu_fetch_registers,
...
gnu_store_registers): Replace usage of NUM_GREGS with
I386_NUM_GREGS.
2002-06-15 17:04:04 +00:00
Mark Kettenis
98df638700
* i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER,
...
OLD_CANNOT_STORE_REGISTER, supply_gregset, fill_gregset): Replace
usage of NUM_GREGS with I386_NUM_GREGS.
2002-06-15 16:43:54 +00:00
Mark Kettenis
099a94140a
* i386-linux-nat.c (fill_gregset): Remove redundant parentheses.
2002-06-15 14:03:10 +00:00
Mark Kettenis
57976e88bb
* i386bsd-nat.c: Include "i386-tdep.h".
...
(supply_gregset, fill_gregset): Replace usage of NUM_GREGS with
I386_NUM_GREGS.
2002-06-15 13:54:22 +00:00
Mark Kettenis
b335f4a6cd
* i386v-nat.c: Remove copnditional inclusion of <asm/debugreg.h>,
...
and associated comment. They no longer make any sense, since we
don't use this file anymore on Linux.
2002-06-15 13:47:20 +00:00
Mark Kettenis
1cf88de5c5
* config/i386/tm-i386.h (MAX_NUM_REGS): Removed.
...
* i386-tdep.c (i386_register_offset, i386_register_size): Use
I386_SSE_NUM_REGS instead of MAX_NUM_REGS for the number of
elements in these arrays.
(_initialize_i386_tdep): Use I386_SSE_NUM_REGS instead of
MAX_NUM_REGS.
2002-06-15 12:59:09 +00:00