OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years agoFix the reading of the debugging information of Tru64/Alpha binaries that
nickc [Mon, 16 Dec 2002 16:25:06 +0000 (16:25 +0000)]
Fix the reading of the debugging information of Tru64/Alpha binaries that
are produced by recent Compaq compilers.

21 years ago * config/tc-d30v.c (check_range): Warning fixes, formatting.
amodra [Mon, 16 Dec 2002 09:57:48 +0000 (09:57 +0000)]
* config/tc-d30v.c (check_range): Warning fixes, formatting.
Simplify sign extension.  Remove redundant unsigned < 0 test.
* config/tc-i960.c (md_ri_to_chars): Prototype.
* config/tc-mcore.c (md_pseudo_table): Fix typo.
(dump_literals): Init brarsym, and test later instead of isforce.

21 years ago * hppa.h (completer_chars): #if 0 out.
amodra [Mon, 16 Dec 2002 09:57:03 +0000 (09:57 +0000)]
* hppa.h (completer_chars): #if 0 out.

21 years ago * config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
amodra [Mon, 16 Dec 2002 09:54:38 +0000 (09:54 +0000)]
* config/tc-ns32k.c (encode_operand): Constify operandsP and suffixP.
(parse): Constify line and lineptr.
(md_begin): Calculate endop here.

21 years ago * ns32k-dis.c (print_insn_ns32k): Constify "d", remove register
amodra [Mon, 16 Dec 2002 09:54:12 +0000 (09:54 +0000)]
* ns32k-dis.c (print_insn_ns32k): Constify "d", remove register
keyword.

21 years ago * ns32k.h (struct ns32k_opcode): Constify "name", "operands" and
amodra [Mon, 16 Dec 2002 09:53:47 +0000 (09:53 +0000)]
* ns32k.h (struct ns32k_opcode): Constify "name", "operands" and
"default_args".
(struct not_wot): Constify "args".
(struct not): Constify "name".
(numopcodes): Delete.
(endop): Delete.

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

21 years agodaily update
amodra [Sun, 15 Dec 2002 23:35:50 +0000 (23:35 +0000)]
daily update

21 years ago * include/windows.h: Guard inclusion of wingdi.h,
dannysmith [Sun, 15 Dec 2002 20:55:35 +0000 (20:55 +0000)]
* include/windows.h: Guard inclusion of wingdi.h,
commdlg.h, winspool.h, ole2.h with NOGDI.
  * include/winuser.h (ICONMETRICS, NONCLIENTMETRICS,
ChangeDisplaySettings, CreateDesktop, EnumDisplaySettings):
Guard with NOGDI.

21 years ago * infrun.c (handle_inferior_event): Rearrange code to resume if
drow [Sun, 15 Dec 2002 20:38:52 +0000 (20:38 +0000)]
* infrun.c (handle_inferior_event): Rearrange code to resume if
no catchpoint triggers for an event.

21 years ago * infrun.c (handle_inferior_event): Merge TARGET_WAITKIND_FORKED
drow [Sun, 15 Dec 2002 20:15:55 +0000 (20:15 +0000)]
* infrun.c (handle_inferior_event): Merge TARGET_WAITKIND_FORKED
and TARGET_WAITKIND_VFORKED cases.

21 years ago * infrun.c (handle_inferior_event): Assume that catchpoints
drow [Sun, 15 Dec 2002 20:08:02 +0000 (20:08 +0000)]
* infrun.c (handle_inferior_event): Assume that catchpoints
are not affected by DECR_PC_AFTER_BREAK.

21 years ago * target.c (update_current_target): Don't inherit DONT_USE.
drow [Sun, 15 Dec 2002 19:00:33 +0000 (19:00 +0000)]
* target.c (update_current_target): Don't inherit DONT_USE.
* target.h (struct target_ops): Remove DONT_USE.
(target_next): Remove macro.

21 years ago* ui-out.c (MAX_UI_OUT_LEVELS): Raise to 6. Fixes PR cli/654.
kettenis [Sun, 15 Dec 2002 16:05:37 +0000 (16:05 +0000)]
* ui-out.c (MAX_UI_OUT_LEVELS): Raise to 6.  Fixes PR cli/654.

21 years ago * setfacl.c (main): Place a single : after other and mask.
corinna [Sun, 15 Dec 2002 10:09:35 +0000 (10:09 +0000)]
* setfacl.c (main): Place a single : after other and mask.
* getfacl.c (getaclentry): Allow both : and :: for other and mask.
(main): Remove extraneous break.

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

21 years agodaily update
amodra [Sat, 14 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * doc/binutils.texi: Add missing parenthesis.
danglin [Sat, 14 Dec 2002 21:17:40 +0000 (21:17 +0000)]
* doc/binutils.texi: Add missing parenthesis.

21 years ago* fhandler_termios.cc (fhandler_termios::line_edit): Call accept_input() in
cgf [Sat, 14 Dec 2002 19:40:41 +0000 (19:40 +0000)]
* fhandler_termios.cc (fhandler_termios::line_edit): Call accept_input() in
character processing loop.  Set return value independently of input_done.

21 years ago* fhandler.cc (fhandler_base::read): Signal event, if necessary, and raw_read
cgf [Sat, 14 Dec 2002 19:11:42 +0000 (19:11 +0000)]
* fhandler.cc (fhandler_base::read): Signal event, if necessary, and raw_read
hasn't done so.

21 years ago* fhandler.cc (fhandler_base::raw_read): Reset priorities to minimize window
cgf [Sat, 14 Dec 2002 18:01:08 +0000 (18:01 +0000)]
* fhandler.cc (fhandler_base::raw_read): Reset priorities to minimize window
where thread termination may cause data loss.
(fhandler_base::read): Always return at end of function.  Just set len to
copied_chars when len is zero.  Return immediately after raw_read if len <= 0.
Remove in_len setting and just check end instead.  Fix CRLF handling at end of
buffer.

21 years ago2002-12-14 Corinna Vinschen <corinna@vinschen.de>
corinna [Sat, 14 Dec 2002 17:23:41 +0000 (17:23 +0000)]
2002-12-14  Corinna Vinschen  <corinna@vinschen.de>

* dcrt0.cc (dll_crt0_1): Call well known SID initializer function.
* security.h (cygsid::init): Declare new static method.
* sec_helper.cc (cygsid::init): New method for initializing well
known SIDs.

2002-12-14  Pierre Humblet  <pierre.humblet@ieee.org>

* security.h: Declare well_known_creator_group_sid.
* sec_helper.cc: Define and initialize well_known_creator_group_sid.

21 years ago * netdb.cc: Remove strtok_r comment.
corinna [Sat, 14 Dec 2002 16:59:59 +0000 (16:59 +0000)]
* netdb.cc: Remove strtok_r comment.

21 years ago * security.cc (get_user_local_groups): Use LookupAccountSid to find the
corinna [Sat, 14 Dec 2002 16:57:25 +0000 (16:57 +0000)]
* security.cc (get_user_local_groups): Use LookupAccountSid to find the
local equivalent of BUILTIN.

21 years ago* arm-tdep.c (convert_from_extended): New argument to hold the
rearnsha [Sat, 14 Dec 2002 10:42:04 +0000 (10:42 +0000)]
* 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.

21 years ago * Makefile.tpl (check-gcc-c++): Renamed from check-c++. Don't run
jason [Sat, 14 Dec 2002 08:35:48 +0000 (08:35 +0000)]
    * 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.

21 years ago* pipe.cc (make_pipe): Set fork fixup flag for read pipe.
cgf [Sat, 14 Dec 2002 05:44:06 +0000 (05:44 +0000)]
* pipe.cc (make_pipe): Set fork fixup flag for read pipe.

21 years agoadd FIXME
cgf [Sat, 14 Dec 2002 05:10:18 +0000 (05:10 +0000)]
add FIXME

21 years ago* winbase.h: Turn on inline versions of Interlocked* by default.
cgf [Sat, 14 Dec 2002 05:06:59 +0000 (05:06 +0000)]
* winbase.h: Turn on inline versions of Interlocked* by default.
* winbase.h: Fixup inline asm functions.  Add ilockcmpexch.

21 years agoThroughout, change fhandler_*::read and fhandler_*::raw_read to void functions
cgf [Sat, 14 Dec 2002 04:01:31 +0000 (04:01 +0000)]
Throughout, change fhandler_*::read and fhandler_*::raw_read to void functions
whose second arguments are both the lenght and the return value.
* fhandler.cc (fhandler_base::read): Rework slightly to use second argument as
input/output.  Tweak CRLF stuff.
(fhandler_base::readv): Accommodate fhandler_*::read changes.
* cygthread.h (cygthread::detach): Declare as taking optional handle argument.
(cygthread::detach): When given a handle argument, wait for the handle to be
signalled before waiting for thread to detach.  Return true when signal
detected.

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

21 years ago2002-12-13 Michael Snyder <msnyder@to-limbo.toronto.redhat.com>
msnyder [Fri, 13 Dec 2002 23:28:28 +0000 (23:28 +0000)]
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.

21 years ago2002-12-13 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 13 Dec 2002 23:18:55 +0000 (23:18 +0000)]
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.

21 years agodaily update
amodra [Fri, 13 Dec 2002 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago2002-12-13 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Fri, 13 Dec 2002 22:59:14 +0000 (22:59 +0000)]
2002-12-13  Nathanael Nerode  <neroden@gcc.gnu.org>

* configure.in, Makefile.tpl, Makefile.def: Remove tclX.
* Makefile.in: Regenerate.

21 years ago2002-12-13 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 13 Dec 2002 21:57:39 +0000 (21:57 +0000)]
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.

21 years ago* frame.h (frame_id_unwind_ftype): Fix typo in return type.
aoliva [Fri, 13 Dec 2002 20:21:29 +0000 (20:21 +0000)]
* frame.h (frame_id_unwind_ftype): Fix typo in return type.

21 years agoMultiarch NUM_REGS for MIPS.
kevinb [Fri, 13 Dec 2002 18:09:30 +0000 (18:09 +0000)]
Multiarch NUM_REGS for MIPS.

21 years ago2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 13 Dec 2002 17:57:38 +0000 (17:57 +0000)]
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.

21 years ago2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 13 Dec 2002 17:55:49 +0000 (17:55 +0000)]
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.

21 years ago2002-12-13 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 13 Dec 2002 17:00:22 +0000 (17:00 +0000)]
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.

21 years ago2002-12-13 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 13 Dec 2002 16:40:25 +0000 (16:40 +0000)]
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.

21 years ago2002-12-13 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 13 Dec 2002 16:26:01 +0000 (16:26 +0000)]
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.

21 years ago2002-12-13 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 13 Dec 2002 16:11:31 +0000 (16:11 +0000)]
2002-12-13  Andrew Cagney  <ac131313@redhat.com>

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

21 years ago * hppa-tdep.c (hppa_pop_frame): Fix a compilation error introduced
brobecke [Fri, 13 Dec 2002 14:37:41 +0000 (14:37 +0000)]
   * hppa-tdep.c (hppa_pop_frame): Fix a compilation error introduced
       in the previous prototype change to set_momentary_breakpoint.

21 years agoAdded --prefix-symbols <prefix> option to rename all symbols by adding the
nickc [Fri, 13 Dec 2002 13:19:43 +0000 (13:19 +0000)]
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.

21 years ago2002-12-12 Dimitri Papadopoulos <dimitri_at@sourceforge.users.net>
dannysmith [Fri, 13 Dec 2002 01:18:54 +0000 (01:18 +0000)]
2002-12-12  Dimitri Papadopoulos  <dimitri_at@sourceforge.users.net>

* include/oleacc.h (SELFLAG_*): Change to enum.

21 years ago2002-12-12 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 13 Dec 2002 00:36:41 +0000 (00:36 +0000)]
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.

21 years ago * config/obj-vms.c: Formatting. Include fnctl.h.
amodra [Fri, 13 Dec 2002 00:01:45 +0000 (00:01 +0000)]
* 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.

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

21 years ago * config/e-criself.c: Fix typo in last change.
amodra [Thu, 12 Dec 2002 23:12:33 +0000 (23:12 +0000)]
* config/e-criself.c: Fix typo in last change.

21 years agodaily update
amodra [Thu, 12 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * pj-opc.c (pj_opc_info): Add braces around union initializer.
amodra [Thu, 12 Dec 2002 22:56:40 +0000 (22:56 +0000)]
* pj-opc.c (pj_opc_info): Add braces around union initializer.

21 years ago * write.c (write_object_file): Fix signed/unsigned warning.
amodra [Thu, 12 Dec 2002 22:46:44 +0000 (22:46 +0000)]
* 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.

21 years ago * config/tc-a29k.c (insert_sreg): Prototype.
amodra [Thu, 12 Dec 2002 22:43:44 +0000 (22:43 +0000)]
* 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.

21 years ago * config/tc-d30v.c (md_parse_option <arg>): Add ATTRIBUTE_UNUSED.
amodra [Thu, 12 Dec 2002 22:41:24 +0000 (22:41 +0000)]
* 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.

21 years ago * infrun.c (pending_follow): Remove saw_parent_fork, saw_child_fork,
drow [Thu, 12 Dec 2002 22:41:19 +0000 (22:41 +0000)]
* 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.

21 years ago * config/tc-fr30.c (md_parse_option <c,arg>): Add ATTRIBUTE_UNUSED.
amodra [Thu, 12 Dec 2002 22:39:39 +0000 (22:39 +0000)]
* 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.

21 years ago * config/tc-frv.c (frv_insert_vliw_insn): Prototype.
amodra [Thu, 12 Dec 2002 22:37:46 +0000 (22:37 +0000)]
* 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.

21 years ago * h8500-opc.h (h8500_table): Add missing initializers to quiet
amodra [Thu, 12 Dec 2002 22:34:04 +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.
amodra [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.
amodra [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.
amodra [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.
amodra [Thu, 12 Dec 2002 22:21:02 +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.
amodra [Thu, 12 Dec 2002 22:18:08 +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.
amodra [Thu, 12 Dec 2002 22:16:15 +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.
amodra [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.
amodra [Thu, 12 Dec 2002 22:11:31 +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.
amodra [Thu, 12 Dec 2002 22:09:11 +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.
amodra [Thu, 12 Dec 2002 22:04:58 +0000 (22:04 +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
aoliva [Thu, 12 Dec 2002 21:54:31 +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.
amodra [Thu, 12 Dec 2002 21:52:05 +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.
amodra [Thu, 12 Dec 2002 21:37:35 +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.
amodra [Thu, 12 Dec 2002 21:34:52 +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.
amodra [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
amodra [Thu, 12 Dec 2002 21:10:08 +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 ago * include/malloc.h (_alloca): Add definition.
earnie [Thu, 12 Dec 2002 21:00:57 +0000 (21:00 +0000)]
* include/malloc.h (_alloca): Add definition.
(alloca): Ditto.

21 years ago * Makefile.common: Define MINGW_LDFLAGS.
corinna [Thu, 12 Dec 2002 10:34:10 +0000 (10:34 +0000)]
* Makefile.common: Define MINGW_LDFLAGS.
* configure.in: Reorder SUBDIRS to have mingw before cygwin.
* configure: Regenerate from configure.in.
* cygwin/Makefile.in: Add MINGW_LDFLAGS when linking cygrun.exe.

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

21 years ago * elf32-i386.c (elf_i386_finish_dynamic_sections): Add output_offset
amodra [Thu, 12 Dec 2002 10:17:13 +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 * include/shlobj.h (IShellLinkW::GetPath): Correct prototype.
dannysmith [Thu, 12 Dec 2002 09:51:38 +0000 (09:51 +0000)]
* include/shlobj.h (IShellLinkW::GetPath): Correct prototype.

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

21 years ago5.3 released.
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
aoliva [Thu, 12 Dec 2002 04:42:05 +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,
aoliva [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.
aoliva [Thu, 12 Dec 2002 04:40:06 +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.
aoliva [Thu, 12 Dec 2002 04:39:43 +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>
aoliva [Thu, 12 Dec 2002 04:32:06 +0000 (04:32 +0000)]
Alan Modra  <amodra@bigpond.net.au>

21 years ago* config/tc-mn10300.c (set_arch_mach): Change argument type to
aoliva [Thu, 12 Dec 2002 03:16:32 +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 agowhitespace
cgf [Thu, 12 Dec 2002 03:09:38 +0000 (03:09 +0000)]
whitespace

21 years ago* elfxx-mips.c (struct mips_got_entry): New.
aoliva [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
drow [Thu, 12 Dec 2002 01:39:33 +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>
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
amodra [Wed, 11 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago2002-12-06 Andrew Cagney <ac131313@redhat.com>
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().
kevinb [Wed, 11 Dec 2002 20:55:36 +0000 (20:55 +0000)]
Convert complain() to complaint().

21 years ago2002-12-11 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 11 Dec 2002 20:35:41 +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)
kevinb [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>
carlton [Wed, 11 Dec 2002 18:45:28 +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.