OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
22 years ago2002-04-15 Don Howard <dhoward@redhat.com>
dhoward [Mon, 15 Apr 2002 17:23:54 +0000 (17:23 +0000)]
2002-04-15  Don Howard  <dhoward@redhat.com>

From Eli Zaretskii <eliz@is.elta.co.il>
* gdb.texinfo (show max-user-call-depth): Correct formatting.
Provide a better explaination of this feature.

22 years ago2002-04-15 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 15 Apr 2002 16:32:55 +0000 (16:32 +0000)]
2002-04-15  Elena Zannoni  <ezannoni@redhat.com>

        * sim_calls.c (sim_fetch_register, sim_store_register): Return -1 for
        AltiVec registers as a temporary stopgap.

22 years agoWrite contents if writeable.
nickc [Mon, 15 Apr 2002 14:32:26 +0000 (14:32 +0000)]
Write contents if writeable.

22 years agoAllow two to five parameter in FONT statement of DIALOGEX resources.
nickc [Mon, 15 Apr 2002 14:12:37 +0000 (14:12 +0000)]
Allow two to five parameter in FONT statement of DIALOGEX resources.

22 years ago * elf32-ppc.c (ppc_elf_add_symbol_hook): Check the hash table type.
amodra [Mon, 15 Apr 2002 08:47:02 +0000 (08:47 +0000)]
* elf32-ppc.c (ppc_elf_add_symbol_hook): Check the hash table type.

22 years ago* bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h".
cagney [Mon, 15 Apr 2002 05:23:01 +0000 (05:23 +0000)]
* bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h".
Update copyright.

22 years agotipo
cagney [Mon, 15 Apr 2002 04:52:39 +0000 (04:52 +0000)]
tipo

22 years ago* hpread.c (hpread_getlntt): Add declaration.
cagney [Mon, 15 Apr 2002 04:52:07 +0000 (04:52 +0000)]
* hpread.c (hpread_getlntt): Add declaration.
Also fix PR gdb/391.

22 years ago* acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6.
cagney [Mon, 15 Apr 2002 04:28:41 +0000 (04:28 +0000)]
* acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6.
* aclocal.m4, configure: Re-generate.
Fix PR gdb/391.

22 years ago2002-04-14 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 15 Apr 2002 02:24:38 +0000 (02:24 +0000)]
2002-04-14  Elena Zannoni  <ezannoni@redhat.com>

        * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN
        instead of tm_print_insn.

22 years ago2002-04-14 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 15 Apr 2002 01:28:37 +0000 (01:28 +0000)]
2002-04-14  Elena Zannoni  <ezannoni@redhat.com>

* baseboards/powerpc-sim.exp: Don't disable inferior
function calls.

22 years ago2002-04-14 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 15 Apr 2002 01:09:55 +0000 (01:09 +0000)]
2002-04-14  Elena Zannoni  <ezannoni@redhat.com>

* ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo.

22 years ago*** empty log message ***
gdbadmin [Mon, 15 Apr 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Mon, 15 Apr 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago * lib/remote.exp (check_for_board_status): Remove both CR and LF
jason [Sun, 14 Apr 2002 21:08:17 +0000 (21:08 +0000)]
    * lib/remote.exp (check_for_board_status): Remove both CR and LF
        at the beginning of the status wrapper output.

22 years agofix typo
jason [Sun, 14 Apr 2002 20:54:54 +0000 (20:54 +0000)]
fix typo

22 years ago* config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro.
cagney [Sun, 14 Apr 2002 13:38:06 +0000 (13:38 +0000)]
* config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro.
* blockframe.c (FRAME_CHAIN_COMBINE): Delete macro.
(get_prev_frame): Do not call FRAME_CHAIN_COMBINE.
* gdbint.texinfo (Target Architecture Definition): Remove
FRAME_CHAIN_COMBINE.

22 years agowrap _exit() in tesglue.c
nickc [Sun, 14 Apr 2002 08:27:53 +0000 (08:27 +0000)]
wrap _exit() in tesglue.c

22 years agodaily update
amodra [Sun, 14 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Sun, 14 Apr 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-04-12 Michael Chastain <mec@shout.net>
chastain [Sat, 13 Apr 2002 15:56:42 +0000 (15:56 +0000)]
2002-04-12  Michael Chastain  <mec@shout.net>

* gdbint.texinfo (Obsolete Conditionals): Remove reference to
REG_STACK_SEGMENT.

22 years ago* libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
aoliva [Sat, 13 Apr 2002 10:26:59 +0000 (10:26 +0000)]
* libc/stdlib/mallocr.c (malloc_extend_top): If correction sbrk
fails, don't bail out, and try to correct next time.

22 years ago* libc/include/sys/config.h: Include limits.h.
aoliva [Sat, 13 Apr 2002 10:09:59 +0000 (10:09 +0000)]
* libc/include/sys/config.h: Include limits.h.

22 years ago2002-04-12 Michael Snyder <msnyder@redhat.com>
msnyder [Sat, 13 Apr 2002 00:21:39 +0000 (00:21 +0000)]
2002-04-12  Michael Snyder  <msnyder@redhat.com>
From Jim Blandy  <jimb@redhat.com>
        * gdb.base/foo.c (foox): Remove section attribute; the linker
script can handle this instead.
* gdb.base/bar.c (barx): Same.
* gdb.base/baz.c (bazx): Same.
* gdb.base/grbx.c (grbxx): Same.

        * gdb.base/overlays.exp: New test: check that GDB's manual overlay
manager doesn't automatically unmap overlays unnecessarily.

22 years ago2002-04-12 Michael Snyder <msnyder@redhat.com>
msnyder [Sat, 13 Apr 2002 00:12:27 +0000 (00:12 +0000)]
2002-04-12  Michael Snyder  <msnyder@redhat.com>

        * Remote.c: Spelling fix.

22 years ago*** empty log message ***
gdbadmin [Sat, 13 Apr 2002 00:01:04 +0000 (00:01 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Sat, 13 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago2002-04-12 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 12 Apr 2002 23:09:48 +0000 (23:09 +0000)]
2002-04-12  Michael Snyder  <msnyder@redhat.com>

* gcore.c (default_derive_heap_segment): Use bfd_section_name.
If no symbol found for "sbrk", try "_sbrk".
(make_output_phdrs): Use bfd_section_name.
(gcore_copy_callback): Use bfd_section_name.

22 years ago2002-04-12 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 12 Apr 2002 23:02:11 +0000 (23:02 +0000)]
2002-04-12  Michael Snyder  <msnyder@redhat.com>

* bfd-in.h (bfd_get_section_lma): New access macro.
Minor white-space fix-up.

22 years ago2002-04-12 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 12 Apr 2002 22:54:17 +0000 (22:54 +0000)]
2002-04-12  Michael Snyder  <msnyder@redhat.com>

* eval.c: Indentation fix-ups.

22 years ago2002-04-12 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 12 Apr 2002 22:50:40 +0000 (22:50 +0000)]
2002-04-12  Michael Snyder  <msnyder@redhat.com>

* d10v-tdep.c (d10v_make_iaddr): Make it idempotent,
in case it gets applied to an address that is already
in the instruction space.

22 years ago2002-04-12 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 12 Apr 2002 22:44:17 +0000 (22:44 +0000)]
2002-04-12  Michael Snyder  <msnyder@redhat.com>

* cli/cli-decode.c (help_list): Allow long lines to wrap.

22 years ago2002-04-12 Don Howard <dhoward@redhat.com>
dhoward [Fri, 12 Apr 2002 22:31:21 +0000 (22:31 +0000)]
2002-04-12  Don Howard  <dhoward@redhat.com>

* cli/cli-cmds.c (init_cli_cmds): Add new user settable value:
max_user_call_depth.
(init_cmd_lists): Initialize the new value;
* cli/cli-script.c (execute_user_command): Limit the call depth of
user defined commands.  This avoids a core-dump when user commands
are infinitly recursive.

22 years ago2002-04-12 Eric Norum <eric.norum@usask.com>
jjohnstn [Fri, 12 Apr 2002 21:12:18 +0000 (21:12 +0000)]
2002-04-12  Eric Norum  <eric.norum@usask.com>

        * libc/sys/rtems/crt0.c (rtems_gxx_mutex_init): Dummy
        routine to allow autoconf to determine that building executables
        for rtems works.
        (rtems_gxx_mutex_lock, rtems_gxx_mutex_unlock): Ditto.
        (rtems_gxx_mutex_once): Ditto.

22 years agoDelete DEFAULT_LR_SAVE.
kevinb [Fri, 12 Apr 2002 19:48:35 +0000 (19:48 +0000)]
Delete DEFAULT_LR_SAVE.

22 years ago2002-04-12 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 12 Apr 2002 19:46:25 +0000 (19:46 +0000)]
2002-04-12  Michael Snyder  <msnyder@redhat.com>

* source.c: White space fix-up.

22 years ago* defs.h (read_relative_register_raw_bytes): Delete declaration.
cagney [Fri, 12 Apr 2002 18:18:56 +0000 (18:18 +0000)]
* defs.h (read_relative_register_raw_bytes): Delete declaration.
* frame.c (frame_register_read): New function.  Return non-zero on
success.
(read_relative_register_raw_bytes_for_frame): Delete.
(read_relative_register_raw_bytes): Delete.
* frame.h (frame_register_read): Declare.
* d30v-tdep.c: Update Copyright.  Use frame_register_read.
* sh-tdep.c: Ditto.
* infcmd.c (do_registers_info): Ditto.
* hppa-tdep.c: Ditto.
* rs6000-tdep.c: Ditto.
* h8500-tdep.c: Ditto.
* mips-tdep.c: Ditto.
* h8300-tdep.c: Ditto.
* z8k-tdep.c: Ditto.

22 years ago From Jimi X <jimix@watson.ibm.com>:
kevinb [Fri, 12 Apr 2002 17:12:22 +0000 (17:12 +0000)]
From Jimi X <jimix@watson.ibm.com>:
* rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for
64-bit SysV ABI.

22 years ago * net.cc (cygwin_accept): Set socket type for accepted socket.
corinna [Fri, 12 Apr 2002 14:52:35 +0000 (14:52 +0000)]
* net.cc (cygwin_accept): Set socket type for accepted socket.
(socketpair): Set socket type for both sockets.

From Egor Duda <deo@logos-m.ru>:

* fhandler.h (class fhandler_socket): New member to store socket type.
(fhandler_socket::get_socket_type): Access it.
(fhandler_socket::set_socket_type): Ditto.
* net.cc (cygwin_socket): Store socket type.
(cygwin_connect): Disable security checks for connectionless sockets.
(cygwin_accept): Ditto.

22 years ago From Jimi X <jimix@watson.ibm.com>:
kevinb [Fri, 12 Apr 2002 07:37:17 +0000 (07:37 +0000)]
From Jimi X <jimix@watson.ibm.com>:
* rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from
bfd info.

22 years ago From Jimi X <jimix@watson.ibm.com>:
kevinb [Fri, 12 Apr 2002 07:20:32 +0000 (07:20 +0000)]
From Jimi X <jimix@watson.ibm.com>:
* rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define
register sets for these processor variants.

22 years ago * elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or
amodra [Fri, 12 Apr 2002 03:30:56 +0000 (03:30 +0000)]
* elf.c (prep_headers): Don't zero EI_OSABI, EI_ABIVERSION or
header pad.

22 years agosync with gcc
dj [Fri, 12 Apr 2002 01:23:53 +0000 (01:23 +0000)]
sync with gcc
2001-10-07  Joseph S. Myers  <jsm28@cam.ac.uk>

* acinclude.m4: Fix spelling error of "separate" as "seperate".

2001-05-22  Jason Merrill  <jason_merrill@redhat.com>

* mt-linux (CXXFLAGS_FOR_TARGET): Lose -fvtable-thunks.

2001-01-27  Richard Henderson  <rth@redhat.com>

* mt-alphaieee: New file.

2001-01-02  Laurynas Biveinis  <lauras@softhome.net>

* mh-djgpp: do not set CFLAGS.

2000-08-04  Mark Elbrecht  <snowball3@bigfoot.com>

* mh-djgpp: Conditionally set 'target_alias' to djgpp. Conditionally
modify 'gcc_version'.

2000-07-21  Andrew Haley  <aph@cygnus.com>

* mh-ia64pic: New file.
* mt-ia64pic: New file.

22 years ago*** empty log message ***
gdbadmin [Fri, 12 Apr 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

22 years agodaily update
amodra [Fri, 12 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago* configure.in: Don't use libutil.a on cygwin.
cgf [Thu, 11 Apr 2002 23:13:38 +0000 (23:13 +0000)]
* configure.in: Don't use libutil.a on cygwin.
* configure: Regenerate.

22 years ago2002-04-11 Daniel Jacobowitz <drow@mvista.com>
drow [Thu, 11 Apr 2002 20:30:02 +0000 (20:30 +0000)]
2002-04-11  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/linux-low.c (usr_store_inferior_registers): Support
        registers which are allowed to fail to store.
        * gdbserver/linux-low.h (linux_target_ops): Likewise.
        * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR.
        (ppc_cannot_store_register): FPSCR may not be storable.
        * regformats/reg-ppc.dat: Support FPSCR.

22 years agoAdd support for the fpscr register for Power / PowerPC targets.
kevinb [Thu, 11 Apr 2002 19:08:53 +0000 (19:08 +0000)]
Add support for the fpscr register for Power / PowerPC targets.

22 years ago2002-04-11 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 11 Apr 2002 18:32:48 +0000 (18:32 +0000)]
2002-04-11  Michael Snyder  <msnyder@redhat.com>

* configure.in: Autoconfiscate _SYSCALL32 define for solaris.
* configure: Regenerate.
* config.in: Regenerate.
* acconfig.h: Add define for _SYSCALL32.
* core-sol2.c: Remove #define _SYSCALL32.
* solib-legacy.c: Remove #define _SYSCALL32.

22 years ago2002-02-14 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 11 Apr 2002 18:24:08 +0000 (18:24 +0000)]
2002-02-14  Michael Snyder  <msnyder@redhat.com>

* gdb.base/gcore.exp: Relax recognition of function breakpoint.

22 years ago2002-02-13 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 11 Apr 2002 18:13:19 +0000 (18:13 +0000)]
2002-02-13  Michael Snyder  <msnyder@redhat.com>

* config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES.

22 years agoAdd 'n' in order to prevent "-n" from being taken as an abbreviation for
nickc [Thu, 11 Apr 2002 16:55:26 +0000 (16:55 +0000)]
Add 'n' in order to prevent "-n" from being taken as an abbreviation for
"--no-pipeline-knowledge".

22 years agoUse 'file delete' instead of 'exec rm -f'.
nickc [Thu, 11 Apr 2002 13:42:03 +0000 (13:42 +0000)]
Use 'file delete' instead of 'exec rm -f'.

22 years agoreorder cmpsd, movsd
amodra [Thu, 11 Apr 2002 11:58:30 +0000 (11:58 +0000)]
reorder cmpsd, movsd

22 years agoFix thinko in last commit.
rsandifo [Thu, 11 Apr 2002 11:21:01 +0000 (11:21 +0000)]
Fix thinko in last commit.

22 years ago * doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
rsandifo [Thu, 11 Apr 2002 11:11:33 +0000 (11:11 +0000)]
* doc/invoke.texi (TC_LARGEST_EXPONENT_IS_NORMAL): Document.
* config/atof-ieee.c (TC_LARGEST_EXPONENT_IS_NORMAL): Add an
argument for the precision.
(gen_to_words): Update accordingly.

22 years ago * i386.h: Add intel mode cmpsd and movsd.
amodra [Thu, 11 Apr 2002 10:21:57 +0000 (10:21 +0000)]
* i386.h: Add intel mode cmpsd and movsd.

22 years ago2002-04-10 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 11 Apr 2002 03:31:25 +0000 (03:31 +0000)]
2002-04-10  Martin M. Hunt  <hunt@redhat.com>

* gdb.base/ending-run.exp: Fix pattern for Mips targets
stepping out of main.

22 years agodaily update
amodra [Thu, 11 Apr 2002 00:00:05 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Thu, 11 Apr 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago* stack.c (select_frame): Cleanup internal error message, do not
cagney [Wed, 10 Apr 2002 23:32:32 +0000 (23:32 +0000)]
* stack.c (select_frame): Cleanup internal error message, do not
use %p.

22 years ago* stack.c (select_frame): Check that selected_frame and the
cagney [Wed, 10 Apr 2002 22:14:02 +0000 (22:14 +0000)]
* stack.c (select_frame): Check that selected_frame and the
specified level are as expected.
* blockframe.c (get_prev_frame): Set the `level' from next_frame.
Update copyright.
* frame.h (struct frame_info): Add field `level'.  Update
copyright.
Work-in-progress PR gdb/464.

22 years ago* maint.c (maint_print_section_info): Rename print_section_info.
cagney [Wed, 10 Apr 2002 22:00:19 +0000 (22:00 +0000)]
* maint.c (maint_print_section_info): Rename print_section_info.
(print_bfd_section_info, print_objfile_section_info): Update.
* inferior.h (struct gdbarch): Add opaque declaration.
* gdbarch.sh: Add include of "inferior.h" to gdbarch.sh.
* gdbarch.h: Regenerate.

22 years ago2002-04-09 Dave Brolley <brolley@redhat.com>
brolley [Wed, 10 Apr 2002 19:48:22 +0000 (19:48 +0000)]
2002-04-09  Dave Brolley  <brolley@redhat.com>

* hw-mapper-basic.xml: Describe <mapped_base> usage.
* compMapper.cxx (struct mapping_record): New field, 'mapped_base'.
(class generic_mapper_bus): Remove 'transparent_t' parameter,
'low_multiplier' member  and 'is_transparent' member.
(generic_mapper_bus::write_strideoffset_any): Compute mapped_address
relative to mapped_base.
(generic_mapper_bus::read_strideoffset_any): Ditto.
(generic_mapper_bus::write_any): Ditto.
(generic_mapper_bus::read_any): Ditto.
(make_name_mapping): Remove 'garbage1' -- not used. Detect wordsize and
mapped_base specifications using their operators.

22 years ago* elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks.
dj [Wed, 10 Apr 2002 16:45:29 +0000 (16:45 +0000)]
* elfarm-nabi.c (elf32_arm_howto_table): Fix ABS16 masks.

22 years ago * as.c (parse_args <OPTION_VERSION>): Use VERSION is
amodra [Wed, 10 Apr 2002 12:59:56 +0000 (12:59 +0000)]
* as.c (parse_args <OPTION_VERSION>): Use VERSION is
BFD_VERSION_STRING unavailable.
* config/tc-i386.c (INLINE): Define (for non-BFD assembler).

22 years ago * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete.
mludvig [Wed, 10 Apr 2002 12:12:27 +0000 (12:12 +0000)]
* x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete.
(PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h.
(kernel_u_size): Added.
* config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete.
(PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h.

22 years agoDelete created files upon successful completeion of the test.
nickc [Wed, 10 Apr 2002 08:21:57 +0000 (08:21 +0000)]
Delete created files upon successful completeion of the test.

22 years agoRegernated recently created expected output files using MSVC.
nickc [Wed, 10 Apr 2002 08:14:27 +0000 (08:14 +0000)]
Regernated recently created expected output files using MSVC.
Set MEMFLAG_PURE by default - bug exposed by regenerated files.

22 years ago2002-04-09 Michael Chastain <mec@shout.net>
chastain [Wed, 10 Apr 2002 05:11:35 +0000 (05:11 +0000)]
2002-04-09  Michael Chastain  <mec@shout.net>

* gdbint.texinfo (Obsolete Conditionals): Remove references to
PYRAMID_* macros.

22 years ago2002-04-09 Michael Chastain <mec@shout.net>
chastain [Wed, 10 Apr 2002 03:52:57 +0000 (03:52 +0000)]
2002-04-09  Michael Chastain  <mec@shout.net>

* gdb.c++/local.cc (main): Move call to marker1() inside nested
scope so that the nested scope tests will make sense.
* gdb.c++/local.exp: Write patterns that actually work with gcc
(the HP patterns "were never known to work with gcc").
Keep the old aCC patterns too.

22 years ago2002-04-09 Michael Chastain <mec@shout.net>
chastain [Wed, 10 Apr 2002 03:52:21 +0000 (03:52 +0000)]
2002-04-09  Michael Chastain  <mec@shout.net>

* gdb.c++/local.cc (main): Move call to marker1() inside nested
scope so that the nested scope tests will make sense.
* gdb.c++/local.exp: Write patterns that actually work with gcc
(the HP patterns "were never known to work with gcc").
Keep the old aCC patterns too.

22 years ago* configure.in: Add *-*-freebsd* configurations.
dj [Wed, 10 Apr 2002 02:13:43 +0000 (02:13 +0000)]
* configure.in: Add *-*-freebsd* configurations.

22 years ago * hashtab.c (higher_prime_number): Use 7 as minimum.
rth [Wed, 10 Apr 2002 00:43:27 +0000 (00:43 +0000)]
    * hashtab.c (higher_prime_number): Use 7 as minimum.
        (find_empty_slot_for_expand): Don't compute hash2 unless needed.
        (htab_find_slot_with_hash): Likewise.

22 years ago2002-04-04 Jim Ingham <jingham@apple.com>
jingham [Wed, 10 Apr 2002 00:11:51 +0000 (00:11 +0000)]
2002-04-04  Jim Ingham  <jingham@apple.com>

       * valarith.c (find_size_for_pointer_math): New function, either returns
       the size for a pointer's target, returns 1 for void *, or errors for
       incomplete types.
       (value_add, value_sub): use find_size_for_pointer_math.

22 years agodaily update
amodra [Wed, 10 Apr 2002 00:00:06 +0000 (00:00 +0000)]
daily update

22 years ago*** empty log message ***
gdbadmin [Wed, 10 Apr 2002 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 9 Apr 2002 23:52:02 +0000 (23:52 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * linux-low.c (linux_look_up_symbols): New hook.
        (linux_target_ops): Add linux_look_up_symbols.
        * remote-utils.c (decode_address): New function.
        (look_up_one_symbol): New function.
        * server.c (handle_query): Call target look_up_symbols hook.
        * server.h (look_up_one_symbol): Add prototype.
        * target.h (struct target_ops): Add look_up_symbols hook.

22 years ago * include/w32api.h: Increment version.
earnie [Tue, 9 Apr 2002 23:49:09 +0000 (23:49 +0000)]
* include/w32api.h: Increment version.
* Makefile.in: Ditto.

22 years ago* cygwin.din: Add strptime.
cgf [Tue, 9 Apr 2002 23:47:25 +0000 (23:47 +0000)]
* cygwin.din: Add strptime.
* include/cygwin/version.h: Increment API version number.

22 years ago * include/_mingw.h: Increment version.
earnie [Tue, 9 Apr 2002 23:47:00 +0000 (23:47 +0000)]
* include/_mingw.h: Increment version.
* Makefile.in: Ditto.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 9 Apr 2002 22:57:57 +0000 (22:57 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/server.h: Include <string.h> if HAVE_STRING_H.
        * ChangeLog: Correct paths in last ChangeLog entry.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 9 Apr 2002 22:44:42 +0000 (22:44 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

* linux-low.h: Remove obsolete prototypes.
(struct linux_target_ops): New.
(extern the_low_target): New.
* linux-low.c (num_regs, regmap): Remove declarations.
(register_addr): Use the_low_target explicitly.
(fetch_register): Likewise.
(usr_fetch_inferior_registers): Likewise.
(usr_store_inferior_registers): Likewise.
* linux-arm-low.c (num_regs): Remove.
(arm_num_regs): Define.
(arm_regmap): Renamed from regmap, made static.
(arm_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(arm_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-i386-low.c (num_regs): Remove.
(i386_num_regs): Define.
(i386_regmap): Renamed from regmap, made static.
(i386_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(i386_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-ia64-low.c (num_regs): Remove.
(ia64_num_regs): Define.
(ia64_regmap): Renamed from regmap, made static.
(ia64_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(ia64_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-m68k-low.c (num_regs): Remove.
(m68k_num_regs): Define.
(m68k_regmap): Renamed from regmap, made static.
(m68k_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(m68k_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-mips-low.c (num_regs): Remove.
(mips_num_regs): Define.
(mips_regmap): Renamed from regmap, made static.
(mips_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(mips_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-ppc-low.c (num_regs): Remove.
(ppc_num_regs): Define.
(ppc_regmap): Renamed from regmap, made static.
(ppc_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(ppc_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-s390-low.c (num_regs): Remove.
(s390_num_regs): Define.
(s390_regmap): Renamed from regmap, made static.
(s390_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(s390_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-sh-low.c (num_regs): Remove.
(sh_num_regs): Define.
(sh_regmap): Renamed from regmap, made static.
(sh_cannot_fetch_register): Renamed from cannot_fetch_register,
made static.
(sh_cannot_store_register): Renamed from cannot_store_register,
made static.
(the_low_target): New.
* linux-x86-64-low.c (x86_64_regmap): Renamed from regmap.
(the_low_target): New.

22 years ago2002-04-05 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 9 Apr 2002 22:33:24 +0000 (22:33 +0000)]
2002-04-05  Michael Snyder  <msnyder@redhat.com>

* breakpoint.c (clear_command): Rewrite middle section to
combine two loops with identical control conditions.
Add a cleanup to eliminate a memory leak.

22 years ago * Makefile.in: Use bzip2 compression for Cygwin target.
earnie [Tue, 9 Apr 2002 22:22:17 +0000 (22:22 +0000)]
* Makefile.in: Use bzip2 compression for Cygwin target.

22 years ago* frame.c (read_relative_register_raw_bytes_for_frame): Do not
cagney [Tue, 9 Apr 2002 22:14:39 +0000 (22:14 +0000)]
* frame.c (read_relative_register_raw_bytes_for_frame): Do not
override FP_REGNUM with frame->fp.  Update copyright.
* parse.c (num_std_regs, std_regs): Delete.
(target_map_name_to_register): Do not search std_regs.  Update
function description.
* parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete
declarations.  Update copyright.
Fix PR gdb/251.

22 years ago * Makefile.in (bindist): Use * instead of . for file list for tar
earnie [Tue, 9 Apr 2002 22:06:54 +0000 (22:06 +0000)]
* Makefile.in (bindist): Use * instead of . for file list for tar
command.

22 years agoFix typo.
trix [Tue, 9 Apr 2002 21:52:03 +0000 (21:52 +0000)]
Fix typo.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 9 Apr 2002 21:25:23 +0000 (21:25 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/Makefile.in: Add stamp-h target.
        * gdbserver/configure.in: Create stamp-h.
        * gdbserver/configure: Regenerated.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 9 Apr 2002 21:17:45 +0000 (21:17 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/inferiors.c: New file.
        * gdbserver/target.c: New file.
        * gdbserver/target.h: New file.
        * gdbserver/Makefile.in:  Add target.o and inferiors.o.  Update
        dependencies.
        * gdbserver/linux-low.c (inferior_pid): New static variable,
        moved from server.c.
        (linux_create_inferior): Renamed from create_inferior.
        Call add_inferior.  Return 0 on success instead of a PID.
        (linux_attach): Renamed from myattach.
        (linux_kill): Renamed from kill_inferior.  Call clear_inferiors ().
        (linux_thread_alive): Renamed from mythread_alive.
        (linux_wait): Renamed from mywait.  Call clear_inferiors () if the
        child dies.
        (linux_resume): Renamed from myresume.  Add missing ``return 0''.
        (regsets_store_inferior_registers): Correct error message.
        Add missing ``return 0''.
        (linux_fetch_registers): Renamed from fetch_inferior_registers.
        (linux_store_registers): Renamed from store_inferior_registers.
        (linux_read_memory): Renamed from read_inferior_memory.
        (linux_write_memory): Renamed from write_inferior_memory.
        (linux_target_ops): New structure.
        (initialize_low): Call set_target_ops ().
        * gdbserver/remote-utils.c (unhexify): New function.
        (hexify): New function.
        (input_interrupt): Send signals to ``signal_pid''.
        * gdbserver/server.c (inferior_pid): Remove.
        (start_inferior): Update create_inferior call.
        (attach_inferior): Call add_inferior.
        (handle_query): New function.
        (main): Call handle_query for `q' packets.
        * gdbserver/server.h: Include "target.h".  Remove obsolete prototypes.
        Add prototypes for "inferiors.c", "target.c", hexify, and unhexify.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 9 Apr 2002 21:16:15 +0000 (21:16 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/inferiors.c: New file.
        * gdbserver/target.c: New file.
        * gdbserver/target.h: New file.
        * gdbserver/Makefile.in:  Add target.o and inferiors.o.  Update
        dependencies.
        * gdbserver/linux-low.c (inferior_pid): New static variable,
        moved from server.c.
        (linux_create_inferior): Renamed from create_inferior.
        Call add_inferior.  Return 0 on success instead of a PID.
        (linux_attach): Renamed from myattach.
        (linux_kill): Renamed from kill_inferior.  Call clear_inferiors ().
        (linux_thread_alive): Renamed from mythread_alive.
        (linux_wait): Renamed from mywait.  Call clear_inferiors () if the
        child dies.
        (linux_resume): Renamed from myresume.  Add missing ``return 0''.
        (regsets_store_inferior_registers): Correct error message.
        Add missing ``return 0''.
        (linux_fetch_registers): Renamed from fetch_inferior_registers.
        (linux_store_registers): Renamed from store_inferior_registers.
        (linux_read_memory): Renamed from read_inferior_memory.
        (linux_write_memory): Renamed from write_inferior_memory.
        (linux_target_ops): New structure.
        (initialize_low): Call set_target_ops ().
        * gdbserver/remote-utils.c (unhexify): New function.
        (hexify): New function.
        (input_interrupt): Send signals to ``signal_pid''.
        * gdbserver/server.c (inferior_pid): Remove.
        (start_inferior): Update create_inferior call.
        (attach_inferior): Call add_inferior.
        (handle_query): New function.
        (main): Call handle_query for `q' packets.
        * gdbserver/server.h: Include "target.h".  Remove obsolete prototypes.
        Add prototypes for "inferiors.c", "target.c", hexify, and unhexify.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 9 Apr 2002 21:11:34 +0000 (21:11 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * gdbserver/Makefile.in: Add WARN_CFLAGS.  Update configury
        dependencies.
        * gdbserver/configure.in: Check for <string.h>
        * gdbserver/configure: Regenerate.
        * gdbserver/config.in: Regenerate.
        * gdbserver/gdbreplay.c: Include needed system headers.
        (remote_open): Remove strchr prototype.
        * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS.
        * gdbserver/regcache.c (supply_register): Change buf argument to const void *.
        (supply_register_by_name): Likewise.
        (collect_register): Change buf argument to void *.
        (collect_register_by_name): Likewise.
        * gdbserver/regcache.h: Add missing prototypes.
        * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa.
        * gdbserver/server.c (handle_query): New function.
        (attached): New static variable, moved out of main.
        (main): Quiet longjmp clobber warnings.
        * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT.  Update prototypes.
        * gdbserver/utils.c (error): Remove NORETURN.
        (fatal): Likewise.

22 years ago * moldname-crtdll.def: Remove CR from end of line.
earnie [Tue, 9 Apr 2002 21:03:59 +0000 (21:03 +0000)]
* moldname-crtdll.def: Remove CR from end of line.
* moldname-msvcrt.def: Ditto.

22 years ago2002-04-09 Mark Bradshaw <bradshaw@staff.crosswalk.com>
jjohnstn [Tue, 9 Apr 2002 20:55:54 +0000 (20:55 +0000)]
2002-04-09  Mark Bradshaw  <bradshaw@staff.crosswalk.com>

        * libc/include/time.h: Fix strptime declaration.
        * libc/time/Makefile.am: Add strptime.c.
        * libc/time/Makefile.in: Regenerated.
        * libc/time/strptime.c: New file.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 9 Apr 2002 20:51:32 +0000 (20:51 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer
        after the last symbol in a block.

22 years ago2002-04-09 Daniel Jacobowitz <drow@mvista.com>
drow [Tue, 9 Apr 2002 20:48:45 +0000 (20:48 +0000)]
2002-04-09  Daniel Jacobowitz  <drow@mvista.com>

        * gdb.base/attach.exp: Correct target board test.

22 years ago * test/iOUtil.test: Removed. Conflicted with real ioUtil.test
kseitz [Tue, 9 Apr 2002 17:39:27 +0000 (17:39 +0000)]
    * test/iOUtil.test: Removed. Conflicted with real ioUtil.test
        file.

22 years agoAdd WS_CAPTION dialog style if CAPTION is specified.
nickc [Tue, 9 Apr 2002 17:23:17 +0000 (17:23 +0000)]
Add WS_CAPTION dialog style if CAPTION is specified.
Add testcase.

22 years agoDon't print empty dialog caption.
nickc [Tue, 9 Apr 2002 17:14:59 +0000 (17:14 +0000)]
Don't print empty dialog caption.
Add testcase.

22 years agoFix overlooked sublang shift bug.
nickc [Tue, 9 Apr 2002 17:06:12 +0000 (17:06 +0000)]
Fix overlooked sublang shift bug.
Add testcase.