binutils-gdb.git
21 years ago * h8500-opc.h (h8500_table): Add missing initializers to quiet
Alan Modra [Thu, 12 Dec 2002 22:34:05 +0000 (22:34 +0000)]
* h8500-opc.h (h8500_table): Add missing initializers to quiet
warnings.

* config/tc-h8500.c (cons): Delete declaration.
(md_begin <opcode>): Constify.
(displacement_size, immediate_size, absolute_size): Remove.
(build_relaxable_instruction <operand>): Add ATTRIBUTE_UNUSED.
(tc_crawl_symbol_chain <headers>): Likewise.
(md_undefined_symbol <name>): Likewise.
(tc_headers_hook <headers>): Likewise.
(md_parse_option <c,arg>): Likewise.
(md_show_usage <stream>): Likewise.
(md_convert_frag <headers, seg>): Likewise.
(tc_coff_symbol_emit_hook <ignore>): Likewise.
(md_atof): Remove declaration of atof_ieee.
(tc_aout_fix_to_chars): Remove unused function.
(parse_reg): Prototype.
(parse_exp): Prototype.
(skip_colonthing): Prototype.  Use &&, not & in logical expressions.
(parse_reglist): Prototype.
(get_operand): Prototype.
(get_operands): Prototype.
(get_specific): Prototype.  Make "this_index" signed.
(check): Prototype, make static.
(insert): Prototype
(build_relaxable_instruction): Prototype, make static.
(build_bytes): Prototype.
(wordify_scb): Prototype.
* config/tc-h8500.h (start_label): Declare.
(tc_coff_sizemachdep): Declare.

21 years ago * config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
Alan Modra [Thu, 12 Dec 2002 22:29:00 +0000 (22:29 +0000)]
* config/tc-i370.c (i370_ebcdic <unused>): Add ATTRIBUTE_UNUSED.
(i370_rmode <unused>): Likewise.
(i370_csect <unused>): Likewise.
(i370_dc <unused>): Likewise.
(i370_ds <unused>): Likewise.
(i370_elf_lcomm <unused>): Likewise.
(i370_ltorg <ignore>): Likewise.
(i370_using <ignore>): Likewise.
(i370_drop <ignore>): Likewise.
(i370_byte <ignore>): Likewise.
(i370_tc <ignore>): Likewise.
(md_estimate_size_before_relax <fragp, seg>): Likewise.
(md_convert_frag <all args>): Likewise.
(md_undefined_symbol <name>): Likewise.
(md_pcrel_from_section <sec>): Likewise.
(tc_gen_reloc <seg>): Likewise.
(i370_section_letter): #if 0 unused functions.
(i370_section_word, i370_section_type, i370_section_flags): Likewise.
(symbol_locate): Prototype.

21 years ago * config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
Alan Modra [Thu, 12 Dec 2002 22:27:07 +0000 (22:27 +0000)]
* config/tc-i860.c (md_atof): Remove declaration of atof_ieee.
(md_number_to_disp, md_number_to_field): Remove.
(md_apply_fix3): Correct format string and cast "fup".

21 years ago * config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
Alan Modra [Thu, 12 Dec 2002 22:25:00 +0000 (22:25 +0000)]
* config/tc-i960.c (md_convert_frag): Add ATTRIBUTE_UNUSED to args.
(s_endian <ignore>): Likewise.
(md_undefined_symbol <name>): Likewise.
(tc_crawl_symbol_chain <headers>): Likewise.
(tc_set_bal_of_call): Likewise.
(tc_coff_symbol_emit_hook <symbolP>): Likewise.
(i960_handle_align <fragp>): Likewise.
(i960_validate_fix <this_segment_type>): Likewise
(tc_gen_reloc <section>): Likewise.
(tc_coff_symbol_emit_hook): Only define for OBJ_COFF.
(struct memS, struct regop): Forward declare.
(brcnt_emit, brlab_next, cobr_fmt, ctrl_fmt, emit, get_args,
get_cdisp, get_ispec, get_regnum, i_scan, mem_fmt, mema_to_memb,
parse_expr, parse_ldconst, parse_memop, parse_po, parse_regop,
reg_fmt, relax_cobr, s_leafproc, s_sysproc, shift_ok, syntax,
targ_has_sfr, targ_has_iclass, tc_bfd_fix2rtype): Prototype.
(md_chars_to_number, md_number_to_imm): Make static, prototype.
(md_number_to_field): Likewise.
(md_number_to_disp): Remove unused function.
(md_atof): Remove declaration of atof_ieee.
(md_apply_fix3): Correct md_number_to_imm call.

21 years ago * config/tc-ip2k.c (md_assemble): Warning fix.
Alan Modra [Thu, 12 Dec 2002 22:21:04 +0000 (22:21 +0000)]
* config/tc-ip2k.c (md_assemble): Warning fix.

21 years ago * config/tc-m32r.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
Alan Modra [Thu, 12 Dec 2002 22:18:10 +0000 (22:18 +0000)]
* config/tc-m32r.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
(fill_insn <ignore>): Likewise.
(debug_sym <ignore>): Likewise.
(md_undefined_symbol <name>): Likewise.
(m32r_scomm <ignore>): Likewise.
(md_convert_frag <abfd>): Likewise.
(md_cgen_lookup_reloc <insn>): Likewise.
(m32r_record_hi16 <seg>): Likewise.
(md_estimate_size_before_relax): #if 0 old_fr_fix.
(allow_m32rx): Prototype.
(first_writes_to_seconds_operands): Prototype.
(writes_to_pc): Prototype.
(can_make_parallel): Prototype.
(make_parallel): Prototype.
(target_make_parallel): Prototype.
(assemble_two_insns): Prototype.
(m32r_record_hi16): Prototype.
(md_atof): Remove declaration of atof_ieee.
* config/tc-m32r.h (m32r_fix_adjustable): Declare.
(m32r_force_relocation): Prototype.
(m32r_elf_section_change_hook): Prototype.

21 years ago * config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.
Alan Modra [Thu, 12 Dec 2002 22:16:16 +0000 (22:16 +0000)]
* config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.
(md_show_usage): Fix signed/unsigned warning.

21 years ago * config/tc-m88k.c (get_reg): Make reg_prefix param unsigned.
Alan Modra [Thu, 12 Dec 2002 22:14:13 +0000 (22:14 +0000)]
* config/tc-m88k.c (get_reg): Make reg_prefix param unsigned.
(calcop): Ditto for reg_prefix var.
(hexval): Add cast to fix signed/unsigned warning.
(md_number_to_disp): Delete unused function.
(md_number_to_field): Likewise.
(float_cons, cons, s_globl, s_space, s_set, s_lcomm): Remove decl.
(match_name): Prototype.
(get_bf2): Prototype.
(get_bf_offset_expression): Prototype.

21 years ago * config/tc-mcore.c (mcore_s_literals <ignore>): Add ATTRIBUTE_UNUSED.
Alan Modra [Thu, 12 Dec 2002 22:11:32 +0000 (22:11 +0000)]
* config/tc-mcore.c (mcore_s_literals <ignore>): Add ATTRIBUTE_UNUSED.
(md_undefined_symbol <ignore>): Likewise.
(md_create_short_jump <all args>): Likewise.
(md_create_long_jump <all args>): Likewise.
(md_convert_frag <abfd, sec>): Likewise.
(md_apply_fix3 <segment>): Likewise.
(md_section_align <segment>): Likewise.
(md_pcrel_from_section <sec>): Likewise.
(tc_gen_reloc <section>): Likewise.
(reg_m, reg_n, immediate): Delete unused vars.
(dump_literals): Fix signed/unsigned warning.
(enter_literal): Likewise.
(parse_imm): Likewise.  Also fix format string.
(parse_mem): Remove unused var.
(md_assemble <LS>): Abort on unexpected inst.
(md_atof): Remove declaration of atof_ieee.
(md_parse_option): Remove unused vars.
(md_apply_fix3): Fix format strings, cast args.
(tc_gen_reloc): Delete unused var.
* config/tc-mcore.h (tc_coff_sizemachdep): Declare.

21 years ago * config/tc-mn10200.c (md_parse_option <c, arg>): Add ATTRIBUTE_UNUSED.
Alan Modra [Thu, 12 Dec 2002 22:09:12 +0000 (22:09 +0000)]
* config/tc-mn10200.c (md_parse_option <c, arg>): Add ATTRIBUTE_UNUSED.
(md_undefined_symbol <name>): Likewise.
(md_convert_frag <abfd>): Likewise.
(tc_gen_reloc <seg>): Likewise.
(check_operand <insn>): Likewise.
(md_convert_frag): Fix format strings.
(tc_gen_reloc): Delete fx_addsy - fx_subsy code.

21 years ago * config/tc-openrisc.c (ignore_pseudo): Prototype.
Alan Modra [Thu, 12 Dec 2002 22:05:00 +0000 (22:05 +0000)]
* config/tc-openrisc.c (ignore_pseudo): Prototype.
(md_atof): Remove declaration of atof_ieee.
* config/tc-or32.c (parse_operand): Prototype non-BFD too.
(md_apply_fix3): Fix bogus >>='s.
(md_undefined_symbol): Delete unused var.

21 years ago* elf-m10300.c (elf32_mn10300_link_hash_newfunc): Reorder
Alexandre Oliva [Thu, 12 Dec 2002 21:54:32 +0000 (21:54 +0000)]
* elf-m10300.c (elf32_mn10300_link_hash_newfunc): Reorder
initializers to match struct declaration.

21 years ago * pj.h (pj_opc_info_t): Add union.
Alan Modra [Thu, 12 Dec 2002 21:52:06 +0000 (21:52 +0000)]
* pj.h (pj_opc_info_t): Add union.

* pj-dis.c (print_insn_pj): Adjust for pj_opc_info_t change.

* config/tc-pj.c (little, big, parse_exp_save_ilp): Prototype.
(c_to_r, ipush_code, fake_opcode, alias): Likewise.
(fake_opcode): Adjust for pj_opc_int_t change.
(md_begin): Likewise.
(md_assemble): Likewise.
(ipush_code): Correct parse_exp_save_ilp call.  Test pending_reloc
instead of non-existent third arg of parse_exp_save_ilp.
(md_parse_option): Correct "little" and "big" calls.

21 years ago * config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF.
Alan Modra [Thu, 12 Dec 2002 21:37:36 +0000 (21:37 +0000)]
* config/tc-sparc.c (s_register): Only declare #ifdef OBJ_ELF.
(md_apply_fix3 <segment>): Add ATTRIBUTE_UNUSED.
(tc_gen_reloc <section>): Likewise.

21 years ago * config/tc-tic30.c: #include stdarg.h or varargs.h.
Alan Modra [Thu, 12 Dec 2002 21:34:53 +0000 (21:34 +0000)]
* config/tc-tic30.c: #include stdarg.h or varargs.h.
(debug): Rewrite using VA_* macros.
(md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED to args.
(md_convert_frag): Likewise.
(md_parse_option): Likewise.
(md_show_usage): Likewise.
(md_undefined_symbol): Likewise.
(tc_gen_reloc): Likewise.
(md_operand): Likewise.
(tc_aout_pre_write_hook): Delete.
(struct tic30_insn): Make "operands" unsigned.
(struct tic30_par_insn): Likewise.
(md_assemble): Likewise for "count", "i" and "numops".
(tic30_parallel_insn): Likewise for vars here.
(tic30_operand): Likewise.  Remove useless unsigned >= 0 comparison.
* config/tc-tic30.h (tc_aout_pre_write_hook): Define as empty.
* config/tc-tic80.c (obj_coff_section): Delete declaration.
(md_estimate_size_before_relax): Add ATTRIBUTE_UNUSED on args.
(md_undefined_symbol): Likewise.
(md_parse_option): Likewise.
(md_convert_frag): Likewise.
(tc_coff_symbol_emit_hook): Likewise.
(md_atof): Remove declaration of atof_ieee.
(const_overflow): Warning fixes, tidy.
(get_operands): Delete unused vars.
(internal_error_a): Adjust format string to expect a long for arg.
(find_opcode): Warning fixes, simplify.
(build_insn): Cast internal_error_a arg.
(md_begin): Likewise.
(md_apply_fix3): Likewise.
(md_assemble): Delete unused var.
* config/tc-tic80.h (tc_coff_fix2rtype): Prototype.

21 years ago * config/tc-z8k.c (cons, obj_coff_section): Delete declarations.
Alan Modra [Thu, 12 Dec 2002 21:27:58 +0000 (21:27 +0000)]
* config/tc-z8k.c (cons, obj_coff_section): Delete declarations.
(whatreg, parse_reg, parse_exp): Make static, prototype.
(checkfor, regword, regaddr, get_ctrl_operand): Prototype.
(get_flags_operand, get_interrupt_operand, get_cc_operand): Likewise.
(get_operand, get_operands, get_specific, newfix): Likewise.
(apply_fix, build_bytes): Likewise.
(md_atof): Remove declaration of atof_ieee.
(tc_aout_fix_to_chars): Delete.
(md_begin): Constify "opcode".  Don't try to init opcode->idx.
Fix s_unseg call.
(md_parse_option): Fix s_segm and s_unseg calls.

* z8kgen.c: Include "libiberty.h".
(opt, args, toks): Fix initializer warnings.
(chewname): Make "name" a char **.  Return mnemonic trimmed of
operands.
(gas): Improve emitted "DO NOT EDIT" warning.  Format emitted
opcode_entry_type, and make "nicename" and "name" const.  Make
z8k_table const too.  Formatting.  Generate idx as gas needs it.
* z8k-opc.h: Regenerate.

21 years ago * dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
Alan Modra [Thu, 12 Dec 2002 21:10:09 +0000 (21:10 +0000)]
* dlltool.c (mcore_elf_gen_out_file): Replace all occurrences of
dyn_string_append with dyn_string_append_cstr.

* emul_aix.c (ar_emul_aix_create): Remove unused function.

21 years agoComment typo fixes.
Alan Modra [Thu, 12 Dec 2002 10:26:01 +0000 (10:26 +0000)]
Comment typo fixes.

21 years ago * elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset
Alan Modra [Thu, 12 Dec 2002 10:17:14 +0000 (10:17 +0000)]
* elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset
to DT_JMPREL.  Use srelplt input section size for DT_PLTRELSZ and
DT_RELSZ adjustment, not output section.  Avoid writing tags when
unchanged.  Don't assume linker script is sane, adjust DT_REL too.
* elf32-hppa.c (elf32_hppa_finish_dynamic_sections): Just use raw
size of srelplt for DT_PLTRELSZ.  Use srelplt input section size for
DT_RELASZ adjustment, not output section.  Avoid writing tags when
unchanged.  Adjust DT_RELA.
* elf64-ppc.c (ppc64_elf_finish_dynamic_sections): Tweaks for better
formatting.  Avoid writing tags when unchanged.  Adjust DT_RELA.

21 years ago* Makefile.tpl (configure-target-rda): Depend on $(ALL_GCC_C).
Alexandre Oliva [Thu, 12 Dec 2002 07:04:28 +0000 (07:04 +0000)]
* Makefile.tpl (configure-target-rda): Depend on $(ALL_GCC_C).
* Makefile.in: Rebuilt.

21 years ago5.3 released.
Andrew Cagney [Thu, 12 Dec 2002 06:29:25 +0000 (06:29 +0000)]
5.3 released.

21 years ago* elfxx-mips.c (mips_elf_calculate_relocation): Don't divide
Alexandre Oliva [Thu, 12 Dec 2002 04:42:06 +0000 (04:42 +0000)]
* elfxx-mips.c (mips_elf_calculate_relocation): Don't divide
addend by 4.

21 years ago* gas/mips/beq.d: Comment out branches to undefined symbols,
Alexandre Oliva [Thu, 12 Dec 2002 04:40:22 +0000 (04:40 +0000)]
* gas/mips/beq.d: Comment out branches to undefined symbols,
no longer supported.
* gas/mips/beq.s: Likewise.
* gas/mips/bge.d: Likewise.
* gas/mips/bge.s: Likewise.
* gas/mips/bgeu.d: Likewise.
* gas/mips/bgeu.s: Likewise.
* gas/mips/blt.d: Likewise.
* gas/mips/blt.s: Likewise.
* gas/mips/bltu.d: Likewise.
* gas/mips/bltu.s: Likewise.
* gas/mips/mips.exp: Change branch-misc-2 test to run_list_test.
* gas/mips/branch-misc-2.d: Removed.
* gas/mips/branch-misc-2.s: Added branches to undefined symbols.
* gas/mips/branch-misc-2.l: New.

21 years ago* tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
Alexandre Oliva [Thu, 12 Dec 2002 04:40:07 +0000 (04:40 +0000)]
* tc-mips.c (RELAX_BRANCH_ENCODE): Remove reloc_s2 argument.
Adjust callers.
(RELAX_BRANCH_RELOC_S2): Delete.
(append_insn): Use only BFD_RELOC_16_PCREL_S2 for branches.
Do not handle BFD_RELOC_16_PCREL.
(macro_build, mips_ip): Likewise.
(md_pcrel_from): Return 4 for undefined symbols regardless of
mips_pic.
(md_apply_fix3): Use only BFD_RELOC_16_PCREL_S2 for branches.
Don't dereference howto if no such relocation is available.
Do not apply hack for in-place zero addend in NEWABI.
(md_convert_frag): Use only BFD_RELOC_16_PCREL_S2 for branches.

21 years ago* ld-mips-elf/mips-elf.exp: Remove branch-misc-2 test.
Alexandre Oliva [Thu, 12 Dec 2002 04:39:44 +0000 (04:39 +0000)]
* ld-mips-elf/mips-elf.exp: Remove branch-misc-2 test.
* ld-mips-elf/branch-misc-2.d: Removed.

21 years agoAlan Modra <amodra@bigpond.net.au>
Alexandre Oliva [Thu, 12 Dec 2002 04:32:07 +0000 (04:32 +0000)]
Alan Modra  <amodra@bigpond.net.au>

21 years ago* config/tc-mn10300.c (set_arch_mach): Change argument type to
Alexandre Oliva [Thu, 12 Dec 2002 03:16:33 +0000 (03:16 +0000)]
* config/tc-mn10300.c (set_arch_mach): Change argument type to
avoid warnings.
(r_register_name, xr_register_name): Add prototype declarations.

21 years ago* elfxx-mips.c (struct mips_got_entry): New.
Alexandre Oliva [Thu, 12 Dec 2002 02:55:41 +0000 (02:55 +0000)]
* elfxx-mips.c (struct mips_got_entry): New.
(struct mips_got_info): Added got_entries field.
(mips_elf_got_entry_hash, mips_elf_got_entry_eq): New functions.
(mips_elf_local_got_index, mips_elf_got_page,
mips_elf_got16_entry): Re-implement in terms of new...
(mips_elf_create_local_got_entry): Rewrite to use got_entries.
Change return type.
(mips_elf_highest): Warning clean-up.
(mips_elf_create_got_section): Initialize got_entries.
(_bfd_mips_elf_check_relocs): Use got_entries to estimate
local got size.
(_bfd_mips_elf_size_dynamic_sections): Do not account for
GOT_PAGE entries, since we now reuse GOT16 entries.

21 years ago * corelow.c (init_core_ops): Delete references to to_require_attach
Daniel Jacobowitz [Thu, 12 Dec 2002 01:39:34 +0000 (01:39 +0000)]
* corelow.c (init_core_ops): Delete references to to_require_attach
and to_require_detach.
* exec.c (init_exec_ops): Likewise.
* hppah-nat.c (child_follow_fork): Call hppa_require_attach and
hppa_require_detach directly.
* inferior.h (REQUIRE_ATTACH, REQUIRE_DETACH): Delete.
* inftarg.c (child_detach): Remove.
(child_detach_from_process): Rename to child_detach, remove
after_fork argument.
(child_attach): Remove.
(child_attach_to_process): Rename to child_attach, remove after_fork
argument.
(init_child_ops): Delete references to to_require_attach
and to_require_detach.
* infttrace.c (hppa_require_attach): Update comment.
* target.c (cleanup_target, update_current_target)
(init_dummy_target, setup_target_debug): Delete references to
to_require_attach and to_require_detach.
(find_default_require_detach, find_default_require_attach)
(debug_to_require_attach, debug_to_require_detach): Remove
functions.
* target.h (struct target_ops): Remove to_require_attach
and to_require_detach.
(target_require_attach, target_require_detach): Delete macros.
(find_default_require_detach, find_default_require_attach): Delete
prototypes.
* config/pa/nm-hppah.h (REQUIRE_ATTACH, REQUIRE_DETACH): Delete.

21 years ago2002-12-11 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Thu, 12 Dec 2002 00:56:44 +0000 (00:56 +0000)]
2002-12-11  Andrew Cagney  <ac131313@redhat.com>

* frame.c (get_frame_extra_info): New function.
* frame.h (get_frame_extra_info): Declare.

21 years ago*** empty log message ***
gdbadmin [Thu, 12 Dec 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Wed, 11 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2002-12-06 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Wed, 11 Dec 2002 22:34:47 +0000 (22:34 +0000)]
2002-12-06  Andrew Cagney  <ac131313@redhat.com>

* breakpoint.h (struct breakpoint): Replace frame with frame_id.
(set_momentary_breaokpoint): Replace `struct frame_info' parameter
with `struct frame_id'.
(set_longjmp_resume_breakpoint): Ditto.
* infrun.c (handle_inferior_event): Update.
* breakpoint.c (watch_command_1, until_break_command): Update.
* infrun.c (handle_inferior_event, check_sigtramp2): Update.
(handle_inferior_event, step_over_function): Update.
* breakpoint.c (bpstat_stop_status, print_one_breakpoint): Update.
(set_raw_breakpoint, set_longjmp_resume_breakpoint): Update.
(set_momentary_breakpoint, deprecated_frame_in_dummy): Update.
* infcmd.c (finish_command, run_stack_dummy): Update.

21 years agoConvert complain() to complaint().
Kevin Buettner [Wed, 11 Dec 2002 20:55:37 +0000 (20:55 +0000)]
Convert complain() to complaint().

21 years ago2002-12-11 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 11 Dec 2002 20:35:43 +0000 (20:35 +0000)]
2002-12-11  Andrew Cagney  <cagney@redhat.com>

* frame.c (deprecated_get_frame_saved_regs): Rename
get_frame_saved_regs.
* frame.h (deprecated_get_frame_saved_regs): Update declaration.
* sparc-tdep.c: Update.
* hppa-tdep.c: Update.
* h8500-tdep.c: Update.

21 years ago * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_TO_NAME)
Kevin Buettner [Wed, 11 Dec 2002 20:19:39 +0000 (20:19 +0000)]
* gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_TO_NAME)
(ADDRESS_CLASS_NAME_TO_TYPE_FLAGS): Use ``const char *'' instead of
``char *'' for return and parameter types.
* gdbarch.h, gdbarch.c: Regenerate.
* gdbtypes.h, gdbtypes.c (address_space_int_to_name): Change
return type from ``char *'' to ``const char *''.
* c-typeprint.c (c_type_print_modifier): Make ``address_space_id''
const.

21 years ago2002-12-11 David Carlton <carlton@math.stanford.edu>
David Carlton [Wed, 11 Dec 2002 18:45:29 +0000 (18:45 +0000)]
2002-12-11  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/m-data.exp: Add test for members that shadow global
variables: see PR gdb/804.
* gdb.c++/m-data.cc: Ditto.

21 years ago* i386-tdep.c: Include "dummy-frame.h".
Mark Kettenis [Wed, 11 Dec 2002 14:38:23 +0000 (14:38 +0000)]
* i386-tdep.c: Include "dummy-frame.h".
(i386_frame_chain, i386_frame_saved_pc): Replace
DEPRECATED_PC_IN_CALL_DUMMY with call to pc_in_dummy_frame.
(i386_gdbarch_init): Don't set deprecated_pc_in_call_dummy.

21 years ago * configure: Fix bug put in by gremlins.
Nathanael Nerode [Wed, 11 Dec 2002 04:14:47 +0000 (04:14 +0000)]
* configure: Fix bug put in by gremlins.

21 years ago2002-12-10 Nathanael Nerode <neroden@gcc.gnu.org>
Nathanael Nerode [Wed, 11 Dec 2002 04:00:09 +0000 (04:00 +0000)]
2002-12-10  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Substitute more autoconfily.
* configure: Substitute more autoconfily.
* Makefile.in: Regenerate.

21 years agoFix date on changelog entry :-/
Andrew Cagney [Wed, 11 Dec 2002 02:28:34 +0000 (02:28 +0000)]
Fix date on changelog entry :-/

21 years ago2002-12-10 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Wed, 11 Dec 2002 02:26:38 +0000 (02:26 +0000)]
2002-12-10  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_INIT_FRAME_PC): Rename INIT_FRAME_PC.
Change to a function with predicate.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.c (get_prev_frame): Update.  Test
DEPRECATED_INIT_FRAME_PC_P.
* config/sparc/tm-sparc.h (DEPRECATED_INIT_FRAME_PC): Update.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC): Update.
* config/mn10200/tm-mn10200.h (DEPRECATED_INIT_FRAME_PC): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.
* mn10300-tdep.c (mn10300_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* i386-interix-tdep.c (i386_interix_init_abi): Update.
* arm-tdep.c: Update comments.
* h8300-tdep.c (h8300_gdbarch_init): Explicitly set init_frame_pc.
* config/m32r/tm-m32r.h (DEPRECATED_INIT_FRAME_PC): Ditto.
* frv-tdep.c (frv_gdbarch_init): Ditto.
* x86-64-tdep.c (x86_64_init_abi): Ditto.
* ia64-tdep.c (ia64_gdbarch_init): Ditto.
* s390-tdep.c (s390_gdbarch_init): Ditto.
* v850-tdep.c (v850_gdbarch_init): Ditto.
* vax-tdep.c (vax_gdbarch_init): Ditto.
* sh-tdep.c (sh_gdbarch_init): Ditto.
* ns32k-tdep.c (ns32k_gdbarch_init): Ditto.
* m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto.
* mcore-tdep.c (mcore_gdbarch_init): Ditto.
* xstormy16-tdep.c (xstormy16_gdbarch_init): Ditto.
* i386-tdep.c (i386_gdbarch_init): Ditto.
* d10v-tdep.c (d10v_gdbarch_init): Ditto.
* cris-tdep.c (cris_gdbarch_init): Ditto.
* avr-tdep.c (avr_gdbarch_init): Ditto.
* arm-tdep.c (arm_gdbarch_init): Ditto.
* config/z8k/tm-z8k.h (INIT_FRAME_PC_FIRST): Delete macro.
(DEPRECATED_INIT_FRAME_PC): Rename INIT_FRAME_PC.

21 years ago * config/pa/nm-hppah.h (CHILD_POST_FOLLOW_VFORK): Change to
Daniel Jacobowitz [Wed, 11 Dec 2002 02:04:45 +0000 (02:04 +0000)]
* config/pa/nm-hppah.h (CHILD_POST_FOLLOW_VFORK): Change to
CHILD_FOLLOW_FORK.
* hppah-nat.c (saved_vfork_pid): Add.
(child_post_follow_vfork): Remove.
(child_follow_fork): New function.
(child_wait): Call detach_breakpoints after receiving the child vfork.
Call child_resume directly instead of going through resume ().
Make sure we have the exec before reporting the vfork.
* inferior.h (follow_inferior_reset_breakpoints): Add prototype.
* infrun.c (follow_fork, follow_vfork, follow_inferior_fork): Remove.
(follow_fork): New function.  Call target_follow_fork.
(follow_inferior_reset_breakpoints): New function broken out from
old follow_inferior_fork.
(resume): Remove hack to follow exec after vfork.
* inftarg.c (child_post_follow_vfork): Remove.
(child_follow_fork): New function.
(init_child_ops): Replace to_post_follow_vfork with to_follow_fork.
* target.c (cleanup_target): Replace to_post_follow_vfork with
to_follow_fork.
(update_current_target): Likewise.
(setup_target_debug): Likewise.
(debug_to_post_follow_vfork): Remove.
(debug_to_follow_fork): New function.
* target.h (struct target_ops): Replace to_post_folow_vfork with
to_follow_fork.
(child_post_follow_vfork): Remove prototype.
(child_follow_fork): Add prototype.
(target_post_follow_vfork): Remove macro.
(target_follow_fork): Add macro.

testsuite/
* gdb.base/foll-vfork.exp: Re-enable test on HP/UX.

21 years ago * hppah-nat.c (saved_child_execd_pathname, saved_vfork_state): New.
Daniel Jacobowitz [Wed, 11 Dec 2002 02:02:03 +0000 (02:02 +0000)]
* hppah-nat.c (saved_child_execd_pathname, saved_vfork_state): New.
(child_post_follow_vfork): Cancel pending exec event if we follow
the parent.
(child_wait): Only return TARGET_WAITKIND_VFORKED when all necessary
events have been processed.  Return a fake TARGET_WAITKIND_EXECD
event at the following wait call if necessary.
* infrun.c (follow_vfork): Don't follow_exec here.
(handle_inferior_event): Add comment to TARGET_WAITKIND_EXECD
case about HP/UX 10.20.  Remove code pushed down to
hppah-nat.c:child_wait.
* infttrace.c (child_resume): Use TT_PROC_CONTINUE if
vfork_in_flight is set.

21 years ago * hppah-nat.c (child_wait): Return TARGET_WAITKIND_IGNORE
Daniel Jacobowitz [Wed, 11 Dec 2002 01:25:19 +0000 (01:25 +0000)]
* hppah-nat.c (child_wait): Return TARGET_WAITKIND_IGNORE
for the parent's fork event.
* infrun.c (handle_inferior_event): Only expect one fork event.
Call prepare_to_wait for TARGET_WAITKIND_IGNORE.  Update comment.
* target.h: Update comment for TARGET_WAITKIND_IGNORE.

21 years ago*** empty log message ***
gdbadmin [Wed, 11 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Tue, 10 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2002-12-10 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 10 Dec 2002 21:24:47 +0000 (21:24 +0000)]
2002-12-10  Andrew Cagney  <ac131313@redhat.com>

* PROBLEMS: Delete reference to PR gdb/725.

21 years ago2002-12-10 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Tue, 10 Dec 2002 21:19:03 +0000 (21:19 +0000)]
2002-12-10  Andrew Cagney  <ac131313@redhat.com>

* MAINTAINERS (gdb.c++): Add David Carlton.

21 years agofix spelling typo
Nick Clifton [Tue, 10 Dec 2002 17:55:00 +0000 (17:55 +0000)]
fix spelling typo

21 years agoAdd support for displaying extension to DWARF2 used by Unified Parallel C
Nick Clifton [Tue, 10 Dec 2002 17:48:27 +0000 (17:48 +0000)]
Add support for displaying extension to DWARF2 used by Unified Parallel C
compiler.

21 years agoAllow an otherwise unrepresentable read-only section that lies after .text
Nick Clifton [Tue, 10 Dec 2002 16:15:27 +0000 (16:15 +0000)]
Allow an otherwise unrepresentable read-only section that lies after .text
and before .data to be written into the output file and included in a_text.

21 years ago* lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets.
Jason Thorpe [Tue, 10 Dec 2002 15:54:23 +0000 (15:54 +0000)]
* lib/ld-lib.exp (is_elf_format): Match NetBSD ELF targets.

21 years ago * emultempl/elf32.em (struct orphan_save): Add os_tail field.
Alan Modra [Tue, 10 Dec 2002 03:34:43 +0000 (03:34 +0000)]
* emultempl/elf32.em (struct orphan_save): Add os_tail field.
(gld${EMULATION_NAME}_place_orphan): Re-order output_section_statement
list too.

21 years ago2002-12-09 Aldy Hernandez <aldyh@redhat.com>
Aldy Hernandez [Tue, 10 Dec 2002 00:42:53 +0000 (00:42 +0000)]
2002-12-09  Aldy Hernandez  <aldyh@redhat.com>

* gas/ppc/booke.d: Fix msync and mbar to reflect reality.

* gas/ppc/e500.d: Fix m[tf]pmr to reflect reality.

21 years ago2002-12-09 David Carlton <carlton@math.stanford.edu>
David Carlton [Tue, 10 Dec 2002 00:30:43 +0000 (00:30 +0000)]
2002-12-09  David Carlton  <carlton@math.stanford.edu>

* cli/cli-setshow.c: #include <readline/tilde.h> after defs.h.
* cli/cli-cmds.c: Ditto.

21 years ago*** empty log message ***
gdbadmin [Tue, 10 Dec 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Mon, 9 Dec 2002 23:46:37 +0000 (23:46 +0000)]
daily update

21 years ago* gdbarch.sh (gdbarch_dump): Wrap function addresses in <>.
Andrew Cagney [Mon, 9 Dec 2002 22:46:31 +0000 (22:46 +0000)]
* gdbarch.sh (gdbarch_dump): Wrap function addresses in <>.

21 years ago2002-12-09 Andrew Cagney <cagney@redhat.com>
Andrew Cagney [Mon, 9 Dec 2002 22:22:40 +0000 (22:22 +0000)]
2002-12-09  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (gdbarch_dump): Print NAME_OF_MALLOC using %s.
* gdbarch.c: Re-generate.

21 years ago2002-12-09 David Carlton <carlton@math.stanford.edu>
David Carlton [Mon, 9 Dec 2002 20:48:07 +0000 (20:48 +0000)]
2002-12-09  David Carlton  <carlton@math.stanford.edu>

* p-exp.y: Rename TRUE and FALSE to TRUEKEYWORD and FALSEKEYWORD.

21 years ago2002-12-09 David Carlton <carlton@math.stanford.edu>
David Carlton [Mon, 9 Dec 2002 19:49:00 +0000 (19:49 +0000)]
2002-12-09  David Carlton  <carlton@math.stanford.edu>

* linespec.c (symtab_from_filename): New function.
(decode_line_1): Move code into symtab_from_filename.

21 years ago * lin-lwp.c (strsignal): Make extern declaration match that of glibc.
Kevin Buettner [Mon, 9 Dec 2002 18:41:42 +0000 (18:41 +0000)]
* lin-lwp.c (strsignal): Make extern declaration match that of glibc.

21 years ago2002-12-07 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 9 Dec 2002 03:30:44 +0000 (03:30 +0000)]
2002-12-07  Andrew Cagney  <ac131313@redhat.com>

* f-valprint.c (info_common_command): Use get_frame_pc.
* std-regs.c (value_of_builtin_frame_pc_reg): Ditto.
* ax-gdb.c (agent_command): Ditto.
* rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto.
(rs6000_pop_frame): Ditto.
(rs6000_frameless_function_invocation): Ditto.
(rs6000_frame_saved_pc, frame_get_saved_regs): Ditto.
(frame_initial_stack_address, rs6000_frame_chain): Ditto.
* macroscope.c (default_macro_scope): Ditto.
* stack.c (print_frame_info_base): Ditto.
(print_frame, frame_info, print_frame_label_vars): Ditto.
(return_command, func_command, get_frame_language): Ditto.
* infcmd.c (finish_command): Ditto.
* dummy-frame.c (cached_find_dummy_frame): Ditto.
* breakpoint.c (deprecated_frame_in_dummy): Ditto.
(break_at_finish_at_depth_command_1): Ditto.
(break_at_finish_command_1): Ditto.
(until_break_command, get_catch_sals): Ditto.
* blockframe.c (func_frame_chain_valid): Ditto.
(frameless_look_for_prologue): Ditto.
(frame_address_in_block, generic_func_frame_chain_valid): Ditto.

21 years ago2002-12-08 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 9 Dec 2002 02:44:52 +0000 (02:44 +0000)]
2002-12-08  Andrew Cagney  <ac131313@redhat.com>

* config/rs6000/tm-rs6000.h (init_frame_pc_noop): Add declaration.
* dwarf2cfi.c (cfi_init_frame_pc): Cast the PC to a pointer.

21 years ago2002-12-08 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 9 Dec 2002 02:04:17 +0000 (02:04 +0000)]
2002-12-08  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh (INIT_FRAME_PC_FIRST, INIT_FRAME_PC_DEFAULT): Convert
to pure functions.
* gdbarch.h, gdbarch.c: Re-generate.
* frame.c (get_prev_frame): Explictly assign prev's pc with value
returned by INIT_FRAME_PC_FIRST and INIT_EXTRA_FRAME_INFO.

* arch-utils.h (init_frame_pc_default, init_frame_pc_noop): Change
declaration to a function returning a CORE_ADDR.
* x86-64-tdep.h (x86_64_init_frame_pc): Ditto.
* arch-utils.c (init_frame_pc_noop): Return the PC value.
(init_frame_pc_default): Ditto.
* x86-64-linux-tdep.c (x86_64_init_frame_pc): Ditto.
* s390-tdep.c (s390_init_frame_pc_first): Ditto.
* mips-tdep.c (mips_init_frame_pc_first): Ditto.
* dwarf2cfi.h (cfi_init_frame_pc): Ditto.
* dwarf2cfi.c (cfi_init_frame_pc): Ditto.
* alpha-tdep.c (alpha_init_frame_pc_first): Ditto.

* i386-interix-tdep.c (i386_interix_init_abi): Set init_frame_pc
to init_frame_pc_noop.
(i386_interix_init_frame_pc): Delete function.
* z8k-tdep.c (init_frame_pc): Delete function.
* config/z8k/tm-z8k.h (INIT_FRAME_PC): Define as init_frame_pc_noop.
(INIT_FRAME_PC_FIRST): Ditto.
* config/mn10200/tm-mn10200.h (INIT_FRAME_PC): Ditto.
(INIT_FRAME_PC_FIRST): Ditto.
* config/sparc/tm-sparc.h (INIT_FRAME_PC): Ditto.
* config/rs6000/tm-rs6000.h (INIT_FRAME_PC): Redefine as
init_frame_pc_noop.
(INIT_FRAME_PC_FIRST): Convert to an expression.
* config/sparc/tm-sparc.h (INIT_FRAME_PC_FIRST): Ditto.

21 years ago2002-12-08 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 9 Dec 2002 01:40:25 +0000 (01:40 +0000)]
2002-12-08  Andrew Cagney  <ac131313@redhat.com>

* blockframe.c: Use get_frame_base instead of directly accessing
the `struct frame_info' member frame.
* f-valprint.c, std-regs.c, rs6000-tdep.c: Ditto.
* stack.c, dummy-frame.c, breakpoint.c: Ditto.

21 years ago2002-12-08 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 9 Dec 2002 01:28:10 +0000 (01:28 +0000)]
2002-12-08  Elena Zannoni  <ezannoni@redhat.com>

* Makefile.in (readline_h): Define.
(completer.o): Depend on readline_h.
(corelow.o): Ditto.
(event-top.o): Ditto.
(exec.o): Ditto.
(solib.o): Ditto.
(source.o): Ditto.
(symfile.o): Ditto.
(symmisc.o): Ditto.
(top.o): Ditto.
(tracepoint.o): Ditto.
(utils.o): Ditto.
(cli-dump.o): Ditto.
(tui-hooks.o): Ditto.
(tuiWin.o): Ditto.

21 years ago2002-12-08 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Mon, 9 Dec 2002 00:59:27 +0000 (00:59 +0000)]
2002-12-08  Elena Zannoni  <ezannoni@redhat.com>

More cleanup from import of readline 4.3.
* completer.h (complete_line, readline_line_completion_function):
Update prototypes.
(line_completion_function): Removed, not used outside of completer.c.
* completer.c (readline_line_completion_function,
complete_function, line_completion_function): Use const for first
parameter.
(line_completion_function): Make static.
(filename_completer): filename_completion_function is now called
rl_filename_completion_function
* corelow.c: Include <readline/readline.h>.
* exec.c: Ditto.
* solib.c: Ditto.
* source.c: Ditto.
* symfile.c: Ditto.
* symmisc.c: Ditto.
* top.c (init_main): No need to coerce
readline_line_completion_function anymore.
* cli/cli-dump.c: Include <readline/readline.h>.

21 years ago2002-12-08 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Mon, 9 Dec 2002 00:32:08 +0000 (00:32 +0000)]
2002-12-08  Andrew Cagney  <ac131313@redhat.com>

* stack.c (frame_info): Use get_prev_frame.
* blockframe.c (frame_address_in_block): Ditto.
* rs6000-tdep.c (rs6000_init_extra_frame_info): Ditto.
(rs6000_frameless_function_invocation): Ditto.
(rs6000_frame_saved_pc): Ditto.
(rs6000_frame_chain): Ditto.
* arch-utils.c (init_frame_pc_default): Ditto.

21 years ago*** empty log message ***
gdbadmin [Mon, 9 Dec 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sun, 8 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago* Makefile.tpl (all-sim): Depend on maybe-configure-gdb.
DJ Delorie [Sun, 8 Dec 2002 22:39:43 +0000 (22:39 +0000)]
* Makefile.tpl (all-sim): Depend on maybe-configure-gdb.
* Makefile.in (all-sim): Ditto.

21 years ago2002-12-08 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 8 Dec 2002 22:39:09 +0000 (22:39 +0000)]
2002-12-08  Andrew Cagney  <ac131313@redhat.com>

* config/mn10200/tm-mn10200.h (DEPRECATED_PC_IN_CALL_DUMMY):
Delete redundant definition.

21 years agoImport of readline 4.3.
Elena Zannoni [Sun, 8 Dec 2002 22:31:39 +0000 (22:31 +0000)]
Import of readline 4.3.
Non-readline modified files:

src/gdb/ChangeLog src/gdb/defs.h src/gdb/cli/cli-cmds.c
src/gdb/cli/cli-setshow.c src/gdb/tui/ChangeLog
src/gdb/tui/tuiWin.c

In readline directory:

        * compat.c, mbutil.c, misc.c, rlmbutil.h, rltypedefs.h,
        text.c, doc/history.0, doc/history.3, support/wcwidth.c,
        examples/readlinebuf.h, examples/rlcat.c: New files.

        * CHANGELOG, CHANGES, INSTALL,  MANIFEST, Makefile.in, README,
        aclocal.m4, ansi_stdlib.h, bind.c, callback.c, chardefs.h,
        complete.c, config.h.in, configure, configure.in, display.c,
        emacs_keymap.c, funmap.c, histexpand.c, histfile.c, histlib.h,
        history.c, history.h, histsearch.c, input.c, isearch.c,
        keymaps.c, keymaps.h, kill.c, macro.c, nls.c, parens.c,
        posixdir.h, readline.c, readline.h, rlconf.h, rldefs.h,
        rlprivate.h, rlshell.h, rlstdc.h, rltty.c, savestring.c,
        search.c, shell.c, signals.c, terminal.c, tilde.c, tilde.h,
        undo.c, util.c, vi_keymap.c, vi_mode.c, xmalloc.c, xmalloc.h,
        doc/Makefile.in, doc/hist.texinfo, doc/hstech.texinfo,
        doc/hsuser.texinfo, doc/manvers.texinfo, doc/readline.3,
        doc/rlman.texinfo, doc/rltech.texinfo, doc/rluser.texinfo
        doc/rluserman.texinfo, doc/texi2dvi, doc/texi2html,
        shlib/Makefile.in, support/install.sh, support/mkdirs,
        support/mkdist, support/shlib-install, support/shobj-conf,
        examples/Inputrc, examples/Makefile.in, examples/fileman.c,
        examples/histexamp.c, examples/manexamp.c, examples/rl.c,
        examples/rlfe.c, examples/rltest.c, examples/rlversion.c:
        Modified files.

21 years ago2002-12-08 H.J. Lu <hjl@gnu.org>
H.J. Lu [Sun, 8 Dec 2002 21:25:38 +0000 (21:25 +0000)]
2002-12-08  H.J. Lu <hjl@gnu.org>

* config/tc-ia64.c (md_apply_fix3): Remove the PCREL hack
copied from tc-i386.c.

21 years ago * gas/m68hc11/m68hc11.exp (gas_m68hc11_error): New function;
Stephane Carrez [Sun, 8 Dec 2002 21:23:42 +0000 (21:23 +0000)]
* gas/m68hc11/m68hc11.exp (gas_m68hc11_error): New function;
(gas_m68hc11_warning): New function.
(gas_m68hc11_message): New function.
(top): New tests for assembler errors.
(gas_m68hc11_opcode_list): New function.
(top): New tests for opcode list.

21 years agoFix date...
Elena Zannoni [Sun, 8 Dec 2002 21:11:19 +0000 (21:11 +0000)]
Fix date...

21 years ago2002-12-06 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Sun, 8 Dec 2002 21:10:28 +0000 (21:10 +0000)]
2002-12-06  Elena Zannoni  <ezannoni@redhat.com>

        * Makefile.in (thread-db.o): Add explicit rule to ignore the use of
        -Werror on this file.

21 years ago * gas/m68hc11/bug-1825.s: Add some tests.
Stephane Carrez [Sun, 8 Dec 2002 21:08:07 +0000 (21:08 +0000)]
* gas/m68hc11/bug-1825.s: Add some tests.
* gas/m68hc11/bug-1825.d: Update.
* gas/m68hc11/opers12.d: Update.
* gas/m68hc11/opers12-dwarf2.d: Update.

21 years ago * m68hc11-dis.c (print_indexed_operand): Fix PC-relative address
Stephane Carrez [Sun, 8 Dec 2002 20:53:19 +0000 (20:53 +0000)]
* m68hc11-dis.c (print_indexed_operand): Fix PC-relative address
for 9 and 16-bit PC-relative addressing mode.

21 years ago2002-12-07 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Sun, 8 Dec 2002 20:48:17 +0000 (20:48 +0000)]
2002-12-07  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh (TARGET_FLOAT_FORMAT): Use the macro when printing
the format name.
(TARGET_DOUBLE_FORMAT, TARGET_LONG_DOUBLE_FORMAT): Ditto.
* gdbarch.c: Regenerate.

21 years ago * config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
Stephane Carrez [Sun, 8 Dec 2002 20:47:21 +0000 (20:47 +0000)]
* config/tc-m68hc11.c (STATE_INDEXED_PCREL): New relax code.
(md_relax_table): Define specific relax for PC-rel offsets.
(build_indexed_byte): Use a STATE_INDEXED_PCREL relax code.
(m68hc11_relax_frag): Handle the new relax code.
(md_convert_frag): Likewise.
(md_estimate_size_before_relax): Likewise.

21 years ago * ldlang.h: Formatting.
Alan Modra [Sun, 8 Dec 2002 03:56:04 +0000 (03:56 +0000)]
* ldlang.h: Formatting.

21 years ago * subsegs.c (section_symbol): Use the symbol, not the section, name.
Alan Modra [Sun, 8 Dec 2002 03:47:57 +0000 (03:47 +0000)]
* subsegs.c (section_symbol): Use the symbol, not the section, name.

21 years ago * NEWS: Mention that bfd no longer declares a "boolean" type.
Alan Modra [Sun, 8 Dec 2002 03:38:03 +0000 (03:38 +0000)]
* NEWS: Mention that bfd no longer declares a "boolean" type.

21 years ago * bfd-in.h: Comment typo fix. Formatting.
Alan Modra [Sun, 8 Dec 2002 03:34:38 +0000 (03:34 +0000)]
* bfd-in.h: Comment typo fix.  Formatting.
* bfd-in2.h: Regenerate.
* coff64-rs6000.c (xcoff64_openr_next_archived_file): Warning fix.
* elf32-m68hc12.c (m68hc12_elf_set_mach_from_flags): Prototype.
* elf64-mmix.c (mmix_dump_bpo_gregs): Warning fix.

21 years ago*** empty log message ***
gdbadmin [Sun, 8 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Sat, 7 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * readelf.c (process_program_headers): When setting loadaddr, don't
Alan Modra [Sat, 7 Dec 2002 12:49:55 +0000 (12:49 +0000)]
* readelf.c (process_program_headers): When setting loadaddr, don't
assume segment size is 4k.  Use p_align instead.
(loadaddr): Change from int to long.
(dynamic_addr, dynamic_info, version_info): Likewise.
(process_dynamic_segment <syminsz>): Likewise.
(process_dynamic_segment): Adjust print format string.
(rela_addr, rela_size): Delete.
(process_relocs): Formatting.

21 years ago2002-12-06 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Sat, 7 Dec 2002 03:36:46 +0000 (03:36 +0000)]
2002-12-06  Elena Zannoni  <ezannoni@redhat.com>

* tuiStack.c (tuiShowFrameInfo): Fix typo.

21 years ago*** empty log message ***
gdbadmin [Sat, 7 Dec 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
Alan Modra [Fri, 6 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * ldlang.c (init_os): Ensure sections mentioned in load_base
Alan Modra [Fri, 6 Dec 2002 22:33:18 +0000 (22:33 +0000)]
* ldlang.c (init_os): Ensure sections mentioned in load_base
are initialized.

21 years ago* Makefile.tpl: Change configure dependencies to not have real
DJ Delorie [Fri, 6 Dec 2002 20:11:59 +0000 (20:11 +0000)]
* Makefile.tpl: Change configure dependencies to not have real
targets depend on phony targets.

21 years ago2002-12-06 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 6 Dec 2002 19:26:06 +0000 (19:26 +0000)]
2002-12-06  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Rename
INIT_FRAME_PC_FIRST.  Change to a function with predicate.  Do not
provide a default value.
* gdbarch.h, gdbarch.c: Regenerate.
* frame.c (get_prev_frame): Update.  Check
DEPRECATED_INIT_FRAME_PC_FIRST_P.
* s390-tdep.c (s390_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* config/sparc/tm-sparc.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.

21 years ago2002-12-06 David Carlton <carlton@math.stanford.edu>
David Carlton [Fri, 6 Dec 2002 19:21:51 +0000 (19:21 +0000)]
2002-12-06  David Carlton  <carlton@math.stanford.edu>

* gdb.base/store.c: Don't declare functions static.

21 years ago2002-12-06 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 6 Dec 2002 18:38:44 +0000 (18:38 +0000)]
2002-12-06  Elena Zannoni  <ezannoni@redhat.com>

* ia64-linux-nat.c: Include gdb_string.h.
* alpha-nat.c: Ditto.
* ppc-linux-nat.c: Ditto.
* Makefile.in (ia64-linux-nat.o, alpha-nat.o, ppc-linux-nat.o):
Update dependencies.

21 years ago2002-12-06 Elena Zannoni <ezannoni@redhat.com>
Elena Zannoni [Fri, 6 Dec 2002 16:59:05 +0000 (16:59 +0000)]
2002-12-06  Elena Zannoni  <ezannoni@redhat.com>

* ia64-linux-nat.c: Include gdb_string.h.
* alpha-nat.c: Ditto.
* ia64-linux-nat.c: Ditto.

21 years ago2002-12-05 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney [Fri, 6 Dec 2002 07:35:55 +0000 (07:35 +0000)]
2002-12-05  Andrew Cagney  <ac131313@redhat.com>

* gdbthread.h: Include "frame.h".
(struct thread_info): Replace step_frame_address with
step_frame_id.
* inferior.h: Include "frame.h".
(step_frame_id): Replace external variable step_frame_address.
* gdbthread.h (save_infrun_state): Replace step_frame_address
parameter with step_frame_id parameter.
(load_infrun_state): Ditto.
* Makefile.in (gdbthread_h, inferior_h): Add $(frame_h).
* infcmd.c (step_frame_id, step_1, step_once): Update.
* thread.c (load_infrun_state, save_infrun_state): Update.
* infrun.c (clear_proceed_status, save_inferior_status): Update.
(handle_inferior_event, step_over_function): Update.
(normal_stop, context_switch, restore_inferior_status): Update.
(struct inferior_status): Replace step_frame_address with
step_frame_id.