Commit Graph

34749 Commits

Author SHA1 Message Date
Daniel Jacobowitz 9db8d71ff0 2002-05-14 Daniel Jacobowitz <drow@mvista.com>
* ser-tcp.c: Include <netinet/udp.h>.  Rename tcp_open
        and tcp_close to net_open and net_close.
        (net_open): Accept "udp:" and "tcp:" specifications.  Connect
        using UDP if requested.  Don't try to disable Nagle on UDP
        sockets.
        * remote.c (remote_serial_open): New function.  Warn about UDP.
        (remote_open_1, remote_async_open_1, remote_cisco_open): Call it.

2002-05-14  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.texinfo (Debug Session): Document new `udp:' and `tcp:'
        options for `target remote'.
2002-05-14 04:26:25 +00:00
Elena Zannoni 5dbc6baa50 2002-05-13 Elena Zannoni <ezannoni@redhat.com>
* MAINTAINERS: List sh-elf as buildable with ,-Werror.
2002-05-14 01:25:00 +00:00
Elena Zannoni cc3023f779 2002-05-13 Elena Zannoni <ezannoni@redhat.com>
* configure.tgt: Remove sh-hms target.
	* MAINTAINERS: Don't list sh-hms as a separate target.
2002-05-14 01:21:39 +00:00
gdbadmin 6cc7bdfa5c *** empty log message *** 2002-05-14 00:00:06 +00:00
Alan Modra a8a1dd9966 daily update 2002-05-14 00:00:05 +00:00
DJ Delorie 115a77aa65 * configure.in: simplify makefile fragment collection. 2002-05-13 21:19:04 +00:00
DJ Delorie e99daf2b30 * configure.in: remove code to build emacs. 2002-05-13 21:16:43 +00:00
DJ Delorie dbfe7a689c * mh-apollo68: remove unused HDEFINES setting.
* mh-dgux: remove unused HDEFINES setting.
* mh-dgux386: remove unused HDEFINES setting, duplicate RANLIB=true
2002-05-13 21:14:19 +00:00
DJ Delorie 91e060aa2b * configure.in : Remove --srcdir argument from targargs and buildargs
(it's always overridden in the Makefile anyway).  Rearrange a bit.
2002-05-13 21:11:50 +00:00
DJ Delorie c92a0210cd * configure: move some logic to configure.in
* configure.in: move some logic from configure
2002-05-13 20:55:25 +00:00
DJ Delorie 9296c8b21e merge from gcc 2002-05-13 20:01:19 +00:00
Daniel Jacobowitz 8ce2a7dcda 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
* gdb.c++/annota2.exp (annotate-quit): Add comment.
2002-05-13 19:18:52 +00:00
Jason Thorpe 2051e1b512 * config.bfd (shle-*-netbsdelf*): Add target which includes
sh64 support.
2002-05-13 18:35:55 +00:00
Jim Blandy ec2bcbe754 Add first preprocessor macro-expansion files.
* macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files.
* Makefile.in (SFILES): Add macrotab.c, macroexp.c.
(splay_tree_h, macroexp_h, macrotab_h): New variable.
(HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h.
(COMMON_OBS): Add macrotab.o, macroexp.o.
(macroexp.o, macrotab.o): New rules.
2002-05-13 18:13:07 +00:00
Andrew Cagney 6d53172289 * config/m88k/tm-m88k.h: Update copyright.
(m88k_target_write_pc): Declare
(TARGET_WRITE_PC): Redefine using m88k_target_write_pc.
(M88K_NNPC_REGNUM): Rename NNPC_REGNUM.
(SHIFT_INST_REGS): Update definition.
* m88k-tdep.c (m88k_target_write_pc): New function.  Implement
using old definition of TARGET_WRITE_PC.
* regcache.c (generic_target_write_pc): Delete code handling
NNPC_REGNUM.
* gdbarch.sh (NNPC_REGNUM): Delete.
* gdbarch.h, gdbarch.c: Regenerate.

* gdbint.texinfo (Target Architecture Definition): Delete
documentation on NNPC_REGNUM.
2002-05-13 17:20:59 +00:00
Richard Earnshaw 3e3f273960 * builtin-regs.c (value_of_builtin_reg): Correctly calculate the
builtin reg number.
2002-05-13 16:25:08 +00:00
Jason Thorpe 942e7dd911 * configure.in (shle-*-*elf*): Include sh64 support.
* configure: Regenerate.
2002-05-13 15:39:44 +00:00
Daniel Jacobowitz 4c90d51b96 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
* ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary)
        (gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref)
        (gen_address_of, gen_struct_ref, gen_repeat): Use type
        access macros.
        * c-typeprint.c (cp_type_print_method_args): Likewise.
        (c_type_print_args): Likewise.
        * d10v-tdep.c (d10v_push_arguments): Likewise.
        (d10v_extract_return_value): Likewise.
        * expprint.c (print_subexp): Likewise.
        * gdbtypes.c (lookup_primitive_typename): Likewise.
        (lookup_template_type, add_mangled_type, print_arg_types): Likewise.
        * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB)
        (TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE)
        (TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS)
        (TYPE_VECTOR): Likewise.
        * hpread.c (hpread_read_struct_type)
        (fix_static_member_physnames, fixup_class_method_type)
        (hpread_type_lookup): Likewise.
        * mdebugread.c (parse_symbol, parse_type): Likewise.
        * p-lang.c (is_pascal_string_type): Likewise.
        * valops.c (hand_function_call): Likewise.
        * x86-64-tdep.c (classify_argument): Likewise.

        * hpread.c (hpread_read_function_type)
        (hpread_read_doc_function_type): Call replace_type.
        * dstread.c (create_new_type): Delete.
        (decode_dst_structure, process_dst_function): Call alloc_type.
        Use type access macros.
2002-05-13 14:21:12 +00:00
Daniel Jacobowitz 0004e5a2cf 2002-05-13 Daniel Jacobowitz <drow@mvista.com>
* ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary)
        (gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref)
        (gen_address_of, gen_struct_ref, gen_repeat): Use type
        access macros.
        * c-typeprint.c (cp_type_print_method_args): Likewise.
        (c_type_print_args): Likewise.
        * d10v-tdep.c (d10v_push_arguments): Likewise.
        (d10v_extract_return_value): Likewise.
        * expprint.c (print_subexp): Likewise.
        * gdbtypes.c (lookup_primitive_typename): Likewise.
        (lookup_template_type, add_mangled_type, print_arg_types): Likewise.
        * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB)
        (TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE)
        (TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS)
        (TYPE_VECTOR): Likewise.
        * hpread.c (hpread_read_struct_type)
        (fix_static_member_physnames, fixup_class_method_type)
        (hpread_type_lookup): Likewise.
        * mdebugread.c (parse_symbol, parse_type): Likewise.
        * p-lang.c (is_pascal_string_type): Likewise.
        * valops.c (hand_function_call): Likewise.
        * x86-64-tdep.c (classify_argument): Likewise.

        * hpread.c (hpread_read_function_type)
        (hpread_read_doc_function_type): Call replace_type.
        * dstread.c (create_new_type): Delete.
        (decode_dst_structure, process_dst_function): Call alloc_type.
        Use type access macros.
2002-05-13 14:00:36 +00:00
Alan Modra 8395426148 * configure.in: Revert 2002-04-07. Instead, auto-configure
HAVE_ST_C_IMPL.
	* configure: Regenerate.
	* config.in: Regenerate.
	* rs6000-core.c (CNEW_IMPL): Guard use of c_impl with HAVE_ST_C_IMPL
	or AIX_5_CORE.
2002-05-13 13:33:30 +00:00
Nick Clifton f5b4e9e449 Remove redundant call to listing_prev(). 2002-05-13 11:33:07 +00:00
Nick Clifton b6675117d9 Do not reset loc_directive_seen in dwarf2_emit_insn. 2002-05-13 10:24:14 +00:00
Nick Clifton 7193a0e74f Fix grammatical error. 2002-05-13 10:16:36 +00:00
Nick Clifton a9bf115413 Support sparc64-openbsd corefiles as well. 2002-05-13 08:33:26 +00:00
Alan Modra 6fb6397151 * gas/i386/x86-64-opcode.s: Pad out end of .text with zeros.
* gas/i386/x86-64-opcode.d: Adjust.
2002-05-13 01:24:55 +00:00
Alan Modra 50b3122815 * write.c (subsegs_finish): Don't specially align last subseg. 2002-05-13 01:23:51 +00:00
Daniel Jacobowitz df763c7f5b 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
* gdb.base/break.exp: Check 'break "marker2"'.
2002-05-13 01:18:19 +00:00
Alan Modra 3129eb7aaa * Makefile.am (install-data-local): Install headers to
$(exec_prefix)/include.
	* Makefile.in: Regenerate.
2002-05-13 00:58:40 +00:00
gdbadmin 59aa1751ab *** empty log message *** 2002-05-13 00:00:34 +00:00
Alan Modra 297131eb5f daily update 2002-05-13 00:00:06 +00:00
Mark Kettenis dff95cc7a6 * i387-tdep.c (i387_supply_fxsave): Skip the SSE registers if
the're not supported by the current architecture.
(i387_fill_fxsave): Likewise.
2002-05-12 21:16:08 +00:00
Fred Fish bbcd32adda Approved by ezannoni@redhat.com:
2002-05-12  Fred Fish  <fnf@redhat.com>
	* symfile.c (default_symfile_offsets): Arrange for uninitialized
	sect_index_xxx members to index the first slot in section_offsets
	if all of the section_offsets are zero.
2002-05-12 18:13:33 +00:00
Jason Thorpe 1aee598a77 Add a ChangeLog entry that was accidentally not committed
with the change:

2002-05-11  Jason Thorpe  <thorpej@wasabisystems.com>

* Makefile.in (ALLDEPFILES): Remove alphanbsd-nat.c.
(alphanbsd-nat.o): Remove dependency list.
(alphanbsd-tdep.o): Add $(regcache_h) to dependency list.
* alphanbsd-nat.c: Delete.  Contents moved to...
* alphanbsd-tdep.c: ...here.
(_initialize_alphanbsd_tdep): Register core functions.
* config/alpha/nbsd.mh (NATDEPFILES): Remove alphanbsd-nat.o.
2002-05-12 16:37:16 +00:00
Mark Kettenis 89cf478729 * configure.tgt (sparc-*openbsd): Remove entry accidentially
checked in with last change.
2002-05-12 15:07:41 +00:00
Mark Kettenis 1f77ffc533 * configure.tgt (i[3456]86-*-unixware*, i[3456]86-*-unixware2*):
Remove targets.  These are canonicalized to i386-*-sysv4.2uw by
config.sub.
2002-05-12 14:58:56 +00:00
Daniel Jacobowitz 89b8b4a9c6 2002-05-12 Daniel Jacobowitz <drow@mvista.com>
* Makefile.in: Update dependencies.
2002-05-12 07:40:37 +00:00
Andrew Cagney 14a5e76714 * language.c (local_hex_string_custom): Simplify. Do not depend
on PRINTF_HAS_LONG_LONG or CC_HAS_LONG_LONG.

* memattr.c (mem_info_command): Replace calls to
longest_local_hex_string and longest_local_hex_string_custom.
* buildsym.c (make_blockvector): Ditto.
* solib.c (info_sharedlibrary_command): Ditto.
* tracepoint.c (tracepoints_info): Ditto.
* symtab.c (print_msymbol_info): Ditto.

* language.c (local_hex_string): Delete.
(local_hex_string_custom): Delete.
(longest_local_hex_string): Rename to local_hex_string.
(longest_local_hex_string_custom): Rename to
local_hex_string_custom.
* language.h (local_hex_string): Change parameter type to LONGEST.
(local_hex_string_custom): Ditto.
(longest_local_hex_string): Delete declaration.
(longest_local_hex_string_custom): Ditto.

* solib.c: Update copyright.
* memattr.c: Update copyright.
2002-05-12 04:20:06 +00:00
Andrew Cagney 13d0122493 * arch-utils.h (legacy_register_to_value): Declare.
(legacy_value_to_register): Declare.
(legacy_convert_register_p): Declare.
* arch-utils.c (legacy_register_to_value): New function.
(legacy_value_to_register): New function.
(legacy_convert_register_p): New function.

* gdbarch.sh (REGISTER_TO_VALUE): Define.
(VALUE_TO_REGISTER): Define.
(CONVERT_REGISTER_P): Define.
* gdbarch.h, gdbarch.c: Regenerate.

* valops.c (value_assign): Use CONVERT_REGISTER_P and
VALUE_TO_REGISTER.
* findvar.c (value_from_register): Use REGISTER_TO_VALUE and
CONVERT_REGISTER_P.

* gdbint.texinfo (Target Architecture Definition): Document
REGISTER_TO_VALUE and VALUE_TO_REGISTER and CONVERT_REGISTER_P.
(Target Architecture Definition): Revise section `Using Different
Register and Memory Data Representations'.  Add section `Raw and
Virtual Register Representations'.
2002-05-12 03:09:12 +00:00
Daniel Jacobowitz 4a1970e4a4 2005-05-11 Daniel Jacobowitz <drow@mvista.com>
Peter Schauer  <pes@regent.e-technik.tu-muenchen.de>

        * Makefile.in: Update dependencies for valops.c.
        * valops.c: Include "gdb_assert.h".
        (typecmp): Skip THIS parameter to methods.
        (find_method_list): Remove static_memfuncp argument,
        update callers.  Check for stub methods.
        (find_value_oload_method_list): Don't set *static_memfuncp.
        (find_overload_match): Don't check for stub methods.  Assert
        that methods are not stubbed.  Handle static methods.
        (value_find_oload_method_list): Remove static_memfuncp argument.
        * gdbtypes.c (check_stub_method): Do not add THIS pointer
        to the argument list for static stub methods.
        * value.h (value_find_oload_method_list): Update prototype.
2002-05-12 02:20:38 +00:00
Andrew Cagney b2e75d7899 * arch-utils.h (generic_register_size): Declare.
(generic_register_raw_size, generic_register_virtual_size): Delete
declarations.
* arch-utils.c (generic_register_raw_size): Delete.
(generic_register_size): New function.
(generic_register_virtual_size): Delete.

* gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make
default generic_register_size.
* gdbarch.h, gdbarch.c: Re-generate.

* d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for
register_virtual_size.
* x86-64-tdep.c (x86_64_gdbarch_init): Ditto.
* rs6000-tdep.c (rs6000_gdbarch_init): Ditto.

* gdbint.texinfo (Target Architecture Definition): Mention
defaults for REGISTER_VIRTUAL_SIZE and REGISTER_RAW_SIZE.
(Target Architecture Definition): Mention same.  Add references to
web pages.
2002-05-12 02:16:05 +00:00
Andrew Cagney 451fbdda72 * gdbarch.sh (gdbarch_data): Add gdbarch parameter.
* gdbarch.h, gdbarch.c: Regenerate.
* gnu-v3-abi.c: Update copyright.
(vtable_address_point_offset): Update.
(gnuv3_rtti_type): Update.
(gnuv3_baseclass_offset): Update.
* solib-svr4.c (svr4_fetch_link_map_offsets): Update.
(init_fetch_link_map_offsets): Update.
* remote.c (get_remote_state): Update.
2002-05-12 01:02:58 +00:00
gdbadmin b91d9153be *** empty log message *** 2002-05-12 00:00:05 +00:00
Alan Modra 9c1348e4a2 daily update 2002-05-12 00:00:04 +00:00
Daniel Jacobowitz 6d2f5ceaae 2002-05-11 Daniel Jacobowitz <drow@mvista.com>
* TODO: Remove value_headof/value_from_vtable_info comment.
        * printcmd.c (print_command_1): Don't call value_from_vtable_info.
        * values.c (value_headof, value_from_vtable_info): Delete.
        * value.h (value_from_vtable_info): Delete prototype.
2002-05-11 23:48:23 +00:00
Andrew Cagney d2324da42d * Makefile.in: Replace gdb_assert.h with $(gdb_assert_h),
gdb_string.h with $(gdb_string_h) and gdb_regex.h with
$(gdb_regex_h).
(gdb_assert_h): Define.
(gdb_wait_h): Define.
(gdb_regex_h): Define.
2002-05-11 23:14:25 +00:00
Daniel Jacobowitz 5c71744046 2002-05-11 Daniel Jacobowitz <drow@mvista.com>
From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>:
        * linespec.c (find_methods): Handle GCC 3.x template constructors.
2002-05-11 22:46:19 +00:00
Jason Thorpe 6c7861b3c0 * nbsd-tdep.c: Fix comment. 2002-05-11 22:21:26 +00:00
Jason Thorpe ea5bc2a606 * Makefile.in (ALLDEPFILES): Add nbsd-tdep.c.
(alphanbsd-tdep.o): Add nbsd-tdep.h to dependency list.
(nbsd-tdep.o): New dependency list.
* alphanbsd-tdep.c: Don't include solib-svr4.h.  Include
nbsd-tdep.h.
(alphanbsd_solib_svr4_fetch_link_map_offsets): Remove.
(alphanbsd_init_abi): Use nbsd_lp64_solib_svr4_fetch_link_map_offsets.
* nbsd-tdep.c: New file.
* nbsd-tdep.h: New file.
* shnbsd-tdep.c: Don't include solib-svr4.h.  Include
nbsd-tdep.h.
(shnbsd_solib_svr4_fetch_link_map_offsets): Remove.
(shnbsd_init_abi): Use nbsd_ilp32_solib_svr4_fetch_link_map_offsets.
* config/alpha/nbsd.mt (TDEPFILES): Add nbsd-tdep.o.
* config/sh/nbsd.mt (TDEPFILES): Ditto.
2002-05-11 22:14:19 +00:00
Jason Thorpe b28da8653f * config/alpha/nbsd.mh (NATDEPFILES): Remove corelow.o.
* config/alpha/nbsd.mt (TDEPFILES): Add corelow.o.
* config/i386/nbsd.mh (NATDEPFILES): Remove corelow.o.
* config/i386/nbsd.mt (TDEPFILES): Add corelow.o.
* config/i386/nbsdelf.mh (NATDEPFILES): Remove corelow.o.
* config/i386/nbsdelf.mt (TDEPFILES): Add corelow.o.
2002-05-11 21:46:17 +00:00
Jason Thorpe 4b8ff1fad0 * config/i386/nbsd.mh (NATDEPFILES): Use line continuations.
* config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
* config/m68k/nbsd.mh (NATDEPFILES): Likewise.
* config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
* config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
* config/sparc/nbsd.mh (NATDEPFILES): Likewise.
* config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
2002-05-11 21:38:14 +00:00