Alan Modra
9bd1915f75
* ns32k.h (struct ns32k_opcode): Constify "name", "operands" and
...
"default_args".
(struct not_wot): Constify "args".
(struct not): Constify "name".
(numopcodes): Delete.
(endop): Delete.
2002-12-16 09:53:48 +00:00
gdbadmin
90b8a04724
*** empty log message ***
2002-12-16 00:00:03 +00:00
Alan Modra
847b352715
daily update
2002-12-15 23:35:50 +00:00
Daniel Jacobowitz
04e688714f
* infrun.c (handle_inferior_event): Rearrange code to resume if
...
no catchpoint triggers for an event.
2002-12-15 20:38:52 +00:00
Daniel Jacobowitz
deb3b17b03
* infrun.c (handle_inferior_event): Merge TARGET_WAITKIND_FORKED
...
and TARGET_WAITKIND_VFORKED cases.
2002-12-15 20:15:56 +00:00
Daniel Jacobowitz
675bf4cbc8
* infrun.c (handle_inferior_event): Assume that catchpoints
...
are not affected by DECR_PC_AFTER_BREAK.
2002-12-15 20:08:02 +00:00
Daniel Jacobowitz
81e5617914
* target.c (update_current_target): Don't inherit DONT_USE.
...
* target.h (struct target_ops): Remove DONT_USE.
(target_next): Remove macro.
2002-12-15 19:00:33 +00:00
Mark Kettenis
a3edc55b09
* ui-out.c (MAX_UI_OUT_LEVELS): Raise to 6. Fixes PR cli/654.
2002-12-15 16:05:37 +00:00
gdbadmin
d3c18e0f5c
*** empty log message ***
2002-12-15 00:00:32 +00:00
Alan Modra
1b9b1dcc84
daily update
2002-12-14 23:00:05 +00:00
Dave Anglin
c51238bc6d
* doc/binutils.texi: Add missing parenthesis.
2002-12-14 21:17:41 +00:00
Richard Earnshaw
b508a996e6
* arm-tdep.c (convert_from_extended): New argument to hold the
...
type of floating point result we want to convert to. Make input
argument const. Fix all callers.
(convert_to_extended): Similarly.
(arm_extract_return_value): Now takes a regcache argument. Change
code to use regcache accessor functions. Correctly extract
smaller-than-word results on big-endian machines.
(arm_store_return_value): Now takes a regcache argument. Change
code to use regcache accessor functions. Correctly zero/sign extend
smaller than word results before storing into r0.
(arm_gdbarch_init): Register new-style extract_return_value and
store_return_value functions.
2002-12-14 10:42:05 +00:00
Jason Merrill
7d695d0786
* Makefile.tpl (check-gcc-c++): Renamed from check-c++. Don't run
...
library tests.
(check-c++): Just depend on it and check-target-libstdc++-v3.
* Makefile.in: Regenerate.
2002-12-14 08:35:49 +00:00
gdbadmin
7fc94d7187
*** empty log message ***
2002-12-14 00:00:03 +00:00
Michael Snyder
3197744f24
2002-12-13 Michael Snyder <msnyder@to-limbo.toronto.redhat.com>
...
* thread-db.c (thread_from_lwp): Uniquify error msg.
(lwp_from_thread): Ditto.
(check_event): Ditto.
(find_new_threads_callback): Ditto.
(thread_db_pid_to_str): Ditto.
2002-12-13 23:28:28 +00:00
Andrew Cagney
6baff1d2e5
2002-12-13 Andrew Cagney <ac131313@redhat.com>
...
* frame.h (get_frame_saved_regs): Declare.
(frame_saved_regs_zalloc): Change return type to CORE_ADDR
pointer.
* frame.c (get_frame_saved_regs): New function.
(frame_saved_regs_zalloc): Return the allocated saved_regs.
2002-12-13 23:18:56 +00:00
Alan Modra
eaab896093
daily update
2002-12-13 23:00:06 +00:00
Nathanael Nerode
54103d1ef8
2002-12-13 Nathanael Nerode <neroden@gcc.gnu.org>
...
* configure.in, Makefile.tpl, Makefile.def: Remove tclX.
* Makefile.in: Regenerate.
2002-12-13 22:59:14 +00:00
Andrew Cagney
b87efeee0c
2002-12-13 Andrew Cagney <ac131313@redhat.com>
...
* frame.c (deprecated_update_current_frame_pc_hack): New
function.
* frame.h (deprecated_update_current_frame_pc_hack): Declare.
* infrun.c (normal_stop): Use said function instead of directly
modifying the frame's PC.
2002-12-13 21:57:40 +00:00
Alexandre Oliva
3de2dc4ff6
* frame.h (frame_id_unwind_ftype): Fix typo in return type.
2002-12-13 20:21:32 +00:00
Kevin Buettner
fe29b929e2
Multiarch NUM_REGS for MIPS.
2002-12-13 18:09:30 +00:00
Jeff Johnston
93ce5efb0a
2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-basics.exp: Change tests for -environment-directory. Also add
tests for -environment-cd, -environment-pwd, and -environment-path.
Part of fix for PR gdb/741.
2002-12-13 17:57:38 +00:00
Jeff Johnston
c04e0a08c9
2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
...
* defs.h (init_last_source_visited): New prototype.
(add_path): Ditto.
* source.c (add_path): New function that adds to a specified path.
(mod_path): Change to call add_path.
(init_last_source_visited): New function to allow interfaces to
initialize static variable: last_source_visited. Part of fix
for PR gdb/741.
* Makefile.in: Add support for mi/mi-cmd-env.c.
2002-12-13 17:55:49 +00:00
Jeff Johnston
068890be59
2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
...
* mi-cmds.c (-environment-directory) Change to use mi_cmd_env_dir,
(-environment-cd): Change to use mi_cmd_env_cd,.
(-environment-pwd): Change to use mi_cmd_env_pwd.
(-environment-path): Change to use mi_cmd_env_path.
* mi-cmds.h (mi_cmd_env_cd, mi_cmd_env_dir): New prototypes.
(mi_cmd_env_path, mi_cmd_env_pwd): Ditto.
* mi-cmd-env.c: New file. Part of fix for PR gdb/741.
* gdbmi.texinfo (environment-cd): Update output and example.
(environment-pwd): Ditto.
(environment-dir): Update output, description, and examples.
(environment-path): Ditto.
2002-12-13 17:00:22 +00:00
Andrew Cagney
c689142bec
2002-12-13 Andrew Cagney <ac131313@redhat.com>
...
* frame.h (frame_id_unwind): Declare.
(struct frame_info): Add fields id_unwind, id_unwind_cache_p and
id_unwind_cache.
(frame_id_unwind_ftype): Declare.
* frame.c (frame_id_unwind): New function.
(set_unwind_by_pc): Add unwind_id parameter. Initialized.
(create_new_frame, get_prev_frame): Pass id_unwind to
set_unwind_by_pc.
(frame_saved_regs_id_unwind): New function.
(frame_saved_regs_id_unwind): New function.
* dummy-frame.c (dummy_frame_id_unwind): New function.
(struct dummy_frame): Add field id.
(generic_push_dummy_frame): Initialize `id'.
* dummy-frame.h (dummy_frame_id_unwind): Declare.
2002-12-13 16:40:25 +00:00
Andrew Cagney
18ea5ba4f0
2002-12-13 Andrew Cagney <ac131313@redhat.com>
...
* infcmd.c (run_stack_dummy): Create a frame ID directly and then
pass that to set_momentary_breakpoint. Move comments to where they
belong.
* frame.h (set_current_frame): Delete declaration.
* frame.c (set_current_frame): Delete function.
2002-12-13 16:26:02 +00:00
Andrew Cagney
2c517d0eb4
2002-12-13 Andrew Cagney <ac131313@redhat.com>
...
* frame.c (frame_extra_info_zalloc): New function.
* frame.h (frame_extra_info_zalloc): Declare.
2002-12-13 16:11:32 +00:00
Joel Brobecker
516b1f280d
* hppa-tdep.c (hppa_pop_frame): Fix a compilation error introduced
...
in the previous prototype change to set_momentary_breakpoint.
2002-12-13 14:37:41 +00:00
Nick Clifton
d7fb0dd217
Added --prefix-symbols <prefix> option to rename all symbols by adding the
...
given prefix to the begining of the symbol name. This is useful to provide
name space seperation regardless of how the object file was created. Added
--prefix-sections <prefix> and --prefix-alloc-sections <prefix> options to
rename all sections (or all sections with the alloc flag set) by adding the
given prefix to the begining of the symbol name.
2002-12-13 13:19:44 +00:00
Jeff Johnston
4024f1e1c5
2002-12-12 Jeff Johnston <jjohnstn@redhat.com>
...
* COPYING.NEWLIB: Update list of alternate Regent of California
licenses and discuss official revoking of advertising clause.
* COPYING.LIBGLOSS: Ditto.
2002-12-13 00:36:42 +00:00
Alan Modra
4eb4336cef
* config/obj-vms.c: Formatting. Include fnctl.h.
...
(Create_VMS_Object_File): Fix creat call for sane unix systems.
(Object_Record_Offset): Make it a size_t.
(Flush_VMS_Object_Record_Buffer): Fix signed/unsigned warning.
(VMS_TBT_Routine_End <Size>): Make var unsigned long.
(VMS_Fix_Indirect_Reference <Offset>): Make arg addressT.
(synthesize_data_segment <data_size>): Remove ATTRIBUTE_UNUSED.
(vms_fixup_data_section <data_size>): Add here instead.
* config/e-criself.c: Fix typo in last change.
2002-12-13 00:01:47 +00:00
gdbadmin
96f719ab14
*** empty log message ***
2002-12-13 00:00:32 +00:00
Alan Modra
ebd0428ffe
* config/e-criself.c: Fix typo in last change.
2002-12-12 23:12:34 +00:00
Alan Modra
cc6a87da5e
daily update
2002-12-12 23:00:04 +00:00
Alan Modra
94ba77d9f1
* pj-opc.c (pj_opc_info): Add braces around union initializer.
2002-12-12 22:56:41 +00:00
Alan Modra
17fc154eac
* write.c (write_object_file): Fix signed/unsigned warning.
...
* config/e-crisaout.c (crisaout_bfd_name): Prototype.
* config/e-criself.c (criself_bfd_name): Prototype.
* config/obj-aout.c (s_sect): Remove unused function.
* config/obj-bout.c (obj_bout_line <ignore>): Add ATTRIBUTE_UNUSED.
* config/obj-coff.c (coff_last_bf): Don't declare for OBJ_XCOFF.
(fixup_mdeps <h>): Add ATTRIBUTE_UNUSED.
* config/obj-ecoff.c (ecoff_frob_file <addr>): Likewise.
* config/obj-vms.c (setup_basic_type <spnt>): Likewise.
(VMS_RSYM_Parse <Current_Routine>): Likewise.
(vms_fixup_text_section <text_siz>): Likewise.
(synthesize_data_segment <data_size>): Likewise.
(vms_fixup_xtors_section <sect_no>): Likewise.
(structure_count): Don't use implicit int type.
2002-12-12 22:46:47 +00:00
Alan Modra
bfc866a6e6
* config/tc-a29k.c (insert_sreg): Prototype.
...
(define_some_regs): Prototype, make static.
(parse_operand): Likewise.
(md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
(md_show_usage <stream>): Likewise.
(md_section_align <segment>): Likewise.
(md_convert_frag <all args>): Likewise.
(md_estimate_size_before_relax <all args>): Likewise.
(md_apply_fix3): Don't cast valP pointer type. Fix bogus >>='s.
* config/tc-arm.c (arm_validate_fix): Only for OBJ_COFF or OBJ_ELF.
2002-12-12 22:43:45 +00:00
Alan Modra
ebf19f1b15
* config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
...
(md_undefined_symbol <name>): Likewise.
(md_convert_frag <all args>): Likewise.
(write_long <opcode>): Likewise.
(tc_gen_reloc <seg>): Likewise.
(md_estimate_size_before_relax <all args>): Likewise.
(md_apply_fix3 <seg>): Likewise.
(s_d30v_align <ignore>): Likewise.
(build_insn): Correct format string.
(md_apply_fix3): Likewise.
2002-12-12 22:41:25 +00:00
Daniel Jacobowitz
fbb265fcf2
* infrun.c (pending_follow): Remove saw_parent_fork, saw_child_fork,
...
and saw_child_exec.
(follow_fork, init_wait_for_inferior, handle_inferior_event): Remove
references to saw_parent_fork, saw_child_fork, and saw_child_exec.
(stop_stepping): Remove outdated check for child vfork events.
2002-12-12 22:41:21 +00:00
Alan Modra
33b5881a60
* config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
...
(md_undefined_symbol <name>): Likewise.
(md_convert_frag <all args>): Likewise.
(md_cgen_lookup_reloc <insn>): Likewise.
(md_begin): Delete unused vars.
(md_assemble): Likewise.
(md_estimate_size_before_relax): Likewise.
(fr30_relax_frag): #if 0 out, seems unused.
(md_atof): Remove declaration of atof_ieee.
(restore_colon): Prototype.
2002-12-12 22:39:40 +00:00
Alan Modra
a08333bb26
* config/tc-frv.c (frv_insert_vliw_insn): Prototype.
...
(frv_find_in_vliw): Likewise.
(frv_debug_tomcat): Likewise.
(frv_adjust_vliw_count): Likewise.
(frv_tomcat_shuffle): Likewise.
(frv_tomcat_analyze_vliw_chains): Likewise. Correct args to
frv_find_in_vliw call.
(md_atof): Remove declaration of atof_ieee.
2002-12-12 22:37:47 +00:00
Alan Modra
45e85b8790
* 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.
2002-12-12 22:34:05 +00:00
Alan Modra
650f02e951
* 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.
2002-12-12 22:29:00 +00:00
Alan Modra
d444b72608
* 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".
2002-12-12 22:27:07 +00:00
Alan Modra
b9195351ad
* 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.
2002-12-12 22:25:00 +00:00
Alan Modra
64384dfd06
* config/tc-ip2k.c (md_assemble): Warning fix.
2002-12-12 22:21:04 +00:00
Alan Modra
78a0c6fb2d
* 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.
2002-12-12 22:18:10 +00:00
Alan Modra
f1f5ef86e3
* config/tc-m68k.c (tc_gen_reloc <section>): Add ATTRIBUTE_UNUSED.
...
(md_show_usage): Fix signed/unsigned warning.
2002-12-12 22:16:16 +00:00
Alan Modra
38b9ac49eb
* 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.
2002-12-12 22:14:13 +00:00
Alan Modra
aa699a2caf
* 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.
2002-12-12 22:11:32 +00:00