OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years ago2003-09-19 Dave Brolley <brolley@redhat.com>
brolley [Fri, 19 Sep 2003 17:38:56 +0000 (17:38 +0000)]
2003-09-19  Dave Brolley  <brolley@redhat.com>

        * sim/frv/rstqf.cgs: Use nldq instead of nldqi.
        * sim/frv/rstq.cgs: Use nldq instead of nldqi.

21 years ago2003-09-19 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 19 Sep 2003 16:22:38 +0000 (16:22 +0000)]
2003-09-19  Andrew Cagney  <cagney@redhat.com>

* utils.c (align_up, align_down): New functions.
* defs.h (align_up, align_down): Declare.
* ppc-sysv-tdep.c (align_up, align_down): Delete functions.
* s390-tdep.c: Replace "round_up" and "round_down" with "align_up"
and "align_down".
(round_up, round_down): Delete functions.
* mips-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and
"align_down".
(ROUND_DOWN, ROUND_UP): Delete macros.
(mips_dump_tdep): Do not print "ROUND_UP" or "ROUND_DOWN".
* h8300-tdep.c: Replace "round_up" and "round_down" with
"align_up" and "align_down".
(round_up, round_down): Delete macros.
* frv-tdep.c: Replace ROUND_UP and ROUND_DOWN with "align_up" and
"align_down".
(ROUND_UP, ROUND_DOWN): Delete macros.

21 years ago * gas/mips/rm7000.s: Let objdump print trailing dots.
ths [Fri, 19 Sep 2003 15:39:42 +0000 (15:39 +0000)]
* gas/mips/rm7000.s: Let objdump print trailing dots.

21 years ago * gas/mips/empic3_e.s: Fix typo.
ths [Fri, 19 Sep 2003 15:32:25 +0000 (15:32 +0000)]
* gas/mips/empic3_e.s: Fix typo.

21 years ago * dwarf2.c (decode_line_info): Cope with an initially empty
nathan [Fri, 19 Sep 2003 09:01:52 +0000 (09:01 +0000)]
* dwarf2.c (decode_line_info): Cope with an initially empty
filename table.

21 years ago * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a
brobecke [Fri, 19 Sep 2003 06:14:27 +0000 (06:14 +0000)]
    * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Remove a
        hard-coded constant. Use the proper machine name instead.

21 years ago2003-09-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Fri, 19 Sep 2003 03:55:39 +0000 (03:55 +0000)]
2003-09-18  H.J. Lu  <hongjiu.lu@intel.com>

* acinclude.m4: Include ../config/accross.m4.
* aclocal.m4: Regenerated.

* configure.host (HOST_64BIT_TYPE): Remove if it is set to long
or long long.
(HOST_U_64BIT_TYPE): Remove if it is set to unsigned long long.
(host64): Remove if HOST_64BIT_TYPE is set to long.

* configure.in (HOST_64BIT_TYPE): Set according to the size of
long and long long.
(HOST_U_64BIT_TYPE): Likewise.
(host64): Likewise.
* configure: Regenerated.

21 years ago * elf.c (elfcore_write_note): Don't use sizeof(Elf_External_note)
amodra [Fri, 19 Sep 2003 02:08:35 +0000 (02:08 +0000)]
* elf.c (elfcore_write_note): Don't use sizeof(Elf_External_note)
since some ABIs round up the size of the struct.

21 years agodaily update
amodra [Fri, 19 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 19 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-09-17 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 18 Sep 2003 22:39:20 +0000 (22:39 +0000)]
2003-09-17  Andrew Cagney  <cagney@redhat.com>

* sparc-tdep.c (legacy_register_name): Delete function.
* mips-tdep.c (mips_dump_tdep): Do not print REGISTER_NAME.
(mips_gdbarch_init): Refer to MIPS_REGISTER_NAME in comments.
* infcmd.c (gdb_register_name): Delete variable.
* gdbarch.sh (SDB_REG_TO_REGNUM): Delete reference to
REGISTER_NAME and "tm.h".
* gdbarch.h, gdbarch.c: Regenerate.
* dpx2-nat.c (regmap): Refer to REGISTER_NAME and not
REGISTER_NAMES in comments.
* remote-st.c (get_reg_name), i386b-nat.c (tregmap): Ditto.
* m68klinux-nat.c (regmap): Ditto.

2003-09-18  Andrew Cagney  <cagney@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
documentation on REGISTER_NAMES.

21 years ago2003-09-18 H.J. Lu <hongjiu.lu@intel.com>
hjl [Thu, 18 Sep 2003 19:01:46 +0000 (19:01 +0000)]
2003-09-18  H.J. Lu  <hongjiu.lu@intel.com>

* elflink.c (_bfd_elf_merge_symbol): Allow type change if
the old symbol is undefined and the new symbol is defined.

21 years ago * fhandler_tty.cc (fhandler_pty_master::process_slave_output):
corinna [Thu, 18 Sep 2003 18:54:46 +0000 (18:54 +0000)]
* fhandler_tty.cc (fhandler_pty_master::process_slave_output):
Handle buf == NULL as flushing the buffer.
(fhandler_tty_slave::read): Handle ptr == NULL as flushing the buffer.
(fhandler_tty_slave::tcflush): Implement input queue flushing by
calling read with NULL buffer.
(fhandler_pty_master::tcflush): Ditto, calling process_slave_output.
* termios.cc (tcflush): Check for legal `queue' value.  Return
EINVAL otherwise.

21 years ago * simple.c (bfd_simple_get_relocated_section_contents): Use
schwab [Thu, 18 Sep 2003 09:10:40 +0000 (09:10 +0000)]
* simple.c (bfd_simple_get_relocated_section_contents): Use
_bfd_generic_link_hash_table_create instead of
bfd_link_hash_table_create.

21 years ago * config/tc-mips.c (macro_build_ldst_constoffset): Don't silently
ths [Thu, 18 Sep 2003 05:20:03 +0000 (05:20 +0000)]
* config/tc-mips.c (macro_build_ldst_constoffset): Don't silently
truncate values which won't fit im 32 bits.
(load_register): Likewise.
(macro): Likewise.

21 years ago* parse_pe.cc (exclusion::sort_and_check): Make error message a little more
cgf [Thu, 18 Sep 2003 01:46:18 +0000 (01:46 +0000)]
* parse_pe.cc (exclusion::sort_and_check): Make error message a little more
explicit and ignore (hopefully) harmless region overlap.

21 years ago2003-09-17 Michael Chastain <mec@shout.net>
chastain [Thu, 18 Sep 2003 00:04:39 +0000 (00:04 +0000)]
2003-09-17  Michael Chastain  <mec@shout.net>

* gdb.cp/gdb1355.exp: New file.
* gdb.cp/gdb1355.c: New file.

21 years agodaily update
amodra [Thu, 18 Sep 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Thu, 18 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* syscalls.cc (gethostid): Add lpFreeBytesAvailable argument to
cgf [Wed, 17 Sep 2003 21:47:12 +0000 (21:47 +0000)]
* syscalls.cc (gethostid): Add lpFreeBytesAvailable argument to
GetDiskFreeSpaceEx call since NT4 requires it.

21 years ago* Makefile.in (dis_asm_h): Note that this #includes "bfd.h".
jimb [Wed, 17 Sep 2003 21:34:28 +0000 (21:34 +0000)]
* Makefile.in (dis_asm_h): Note that this #includes "bfd.h".

21 years ago * include/winuser.h (UpdateLayeredWindow): Protect against NOGDI.
dannysmith [Wed, 17 Sep 2003 20:41:53 +0000 (20:41 +0000)]
* include/winuser.h (UpdateLayeredWindow): Protect against NOGDI.
Thanks to Will Levine  <willll@users.sourceforge.net>

21 years agoFix ChangeLog entry to read 'gdb.cp' instead of 'gdb.c++'.
carlton [Wed, 17 Sep 2003 20:40:15 +0000 (20:40 +0000)]
Fix ChangeLog entry to read 'gdb.cp' instead of 'gdb.c++'.

21 years ago2003-09-17 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 17 Sep 2003 20:10:48 +0000 (20:10 +0000)]
2003-09-17  Andrew Cagney  <cagney@redhat.com>

* ppcnbsd-tdep.c (ppcnbsd_use_struct_convention): New function.
(ppcnbsd_init_abi): Set "use_struct_convention" to
"ppcnbsd_use_struct_convention".

21 years ago * configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix
drow [Wed, 17 Sep 2003 20:03:04 +0000 (20:03 +0000)]
* configure.in (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Fix
quoting.
* configure: Regenerated.

21 years ago* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment.
kettenis [Wed, 17 Sep 2003 19:48:42 +0000 (19:48 +0000)]
* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment.
* gdbarch.h, gdbarch.c: Regenerate.
(stabs_argument_has_addr): New architecture method.
* arch-utils.h (default_stabs_argument_has_addr): New prototype.
* arch-utils.c: Include "buildsym.h".
(default_stabs_argument_has_addr): New function.
* stabsread.c (define_symbol): Use stabs_argument_has_addr
instead of DEPRECATED_REG_STRUCT_HAS_ADDR.

21 years ago2003-09-17 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 17 Sep 2003 15:42:16 +0000 (15:42 +0000)]
2003-09-17  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_NPC_REGNUM): Deprecate NPC_REGNUM.
* gdbarch.h, gdbarch.c: Regenerate.
* core-sol2.c, hppa-tdep.c, lynx-nat.c, procfs.c: Update.
* regcache.c, remote-vxsparc.c, sparc-linux-nat.c: Update.
* sparc-nat.c, sparc-tdep.c, sparc64-tdep.c: Update.
* sparcnbsd-tdep.c: Update.

21 years ago2003-09-17 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 17 Sep 2003 14:24:29 +0000 (14:24 +0000)]
2003-09-17  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (DEPRECATED_REGISTER_BYTE): Rename REGISTER_BYTE.
* gdbarch.h, gdbarch.c: Regenerate.
* arm-linux-tdep.c, core-sol2.c, cris-tdep.c: Update.
* d10v-tdep.c, frame.c: Update.
* hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c: Update.
* hpux-thread.c, i386gnu-nat.c, ia64-aix-nat.c: Update.
* ia64-linux-nat.c, irix5-nat.c, lynx-nat.c, m68knbsd-nat.c: Update.
* mcore-tdep.c, mips-linux-tdep.c, mips-tdep.c: Update.
* mipsv4-nat.c, mn10300-tdep.c, ns32k-tdep.c: Update.
* ns32knbsd-nat.c, ppc-bdm.c, regcache.c, remote-sds.c: Update.
* remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Update.
* remote.c, rs6000-tdep.c, s390-tdep.c, sh64-tdep.c: Update.
* sparc-nat.c, sparc-tdep.c, sun3-nat.c, v850-tdep.c: Update.
* v850ice.c, vax-tdep.c, xstormy16-tdep.c: Update.
* config/m68k/tm-cisco.h, config/m68k/tm-delta68.h: Update.
* config/pa/nm-hppah.h: Update.

2003-09-17  Andrew Cagney  <cagney@redhat.com>

* mi/mi-main.c: Rename REGISTER_BYTE to DEPRECATED_REGISTER_BYTE.

21 years ago * config/tc-msp430.c (MAX_OP_LEN): Set to 256.
amodra [Wed, 17 Sep 2003 11:27:39 +0000 (11:27 +0000)]
* config/tc-msp430.c (MAX_OP_LEN): Set to 256.
(msp430_operands): Remove redundant l2[16] within switch-case.

21 years ago* fhandler_process.cc (fhandler_process::fill_filebuf): Open pinfo with
cgf [Wed, 17 Sep 2003 02:10:12 +0000 (02:10 +0000)]
* fhandler_process.cc (fhandler_process::fill_filebuf): Open pinfo with
PID_MAP_RW.
* sigproc.cc (talktome): Ditto for winpids.

21 years agofix stupid typo
cgf [Wed, 17 Sep 2003 01:43:27 +0000 (01:43 +0000)]
fix stupid typo

21 years ago* pinfo.h (winpids::pid_access): New element.
cgf [Wed, 17 Sep 2003 01:15:55 +0000 (01:15 +0000)]
* pinfo.h (winpids::pid_access): New element.
(winpids::winpids): Rejigger to set pinfo_access.
* pinfo.cc (winpids::add): Try to open shared memory region with supplied
pinfo_access first, then default to readonly.
* fhandler_termios.cc (tty_min::kill_pgrp): When getting list of pids to work
with, suggest opening with PID_MAP_RW.
* signal.cc (kill_pgrp): Ditto.
* sigproc.cc (sig_send): Perform a write check on todo prior to attempting to
increment it.  Return EACCES if we can't write to it.

21 years ago*** empty log message ***
gdbadmin [Wed, 17 Sep 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Wed, 17 Sep 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago2003-09-16 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 16 Sep 2003 23:33:17 +0000 (23:33 +0000)]
2003-09-16  Andrew Cagney  <cagney@redhat.com>

* ppc-linux-tdep.c (ppc_linux_init_abi): Set the 32 bit
"use_struct_convention" to "ppc_linux_use_struct_convention".
(ppc_linux_use_struct_convention): New function.
* rs6000-tdep.c (rs6000_use_struct_convention): New function.
(rs6000_gdbarch_init): For AIX, set "use_struct_convention" to
"rs6000_use_struct_convention".
* ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Delete
declaration.
* ppc-sysv-tdep.c (ppc_sysv_abi_broken_use_struct_convention):
Delete function.

21 years ago2003-09-16 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 16 Sep 2003 18:56:34 +0000 (18:56 +0000)]
2003-09-16  Andrew Cagney  <cagney@redhat.com>

* buildsym.c: Remove more occurances of "register".
* coffread.c, dbxread.c, dcache.c, dwarf2read.c: Ditto.
* environ.c, eval.c, f-valprint.c, findvar.c: Ditto.
* gdbtypes.c, gnu-v2-abi.c, h8300-tdep.c, hppa-tdep.c: Ditto.
* infcmd.c, mdebugread.c, minsyms.c, mips-tdep.c: Ditto.
* printcmd.c, remote-vx.c, sh-stub.c, sh-tdep.c: Ditto.
* sh64-tdep.c, source.c, stabsread.c, stack.c: Ditto.
* standalone.c, symfile.c, symmisc.c, symtab.c: Ditto.
* utils.c, valops.c, values.c, xcoffread.c: Ditto.

21 years ago * sh-tdep.h (struct gdbarch_tdep): Remove. Change all register
corinna [Tue, 16 Sep 2003 15:56:02 +0000 (15:56 +0000)]
* sh-tdep.h (struct gdbarch_tdep): Remove.  Change all register
numbers to enumeration values.
* sh-tdep.c: Accomodate above change.
(SH_NUM_REGS): Rename from SH_DEFAULT_NUM_REGS.
(NUM_PSEUDO_REGS_SH_MEDIA): Remove (sh5 only).
(NUM_PSEUDO_REGS_SH_COMPACT): Remove (sh5 only).
(IS_ADD_IMM_SP): Rename from IS_ADD_SP.
(IS_FPUSH): Rename from IS_FMOV.
(sh_extract_struct_value_address): Remove useless comment.
(sh_dsp_register_sim_regno): Use register values from sh-tdep.h
instead of own local values.
(sh_dump_tdep): Remove.
(_initialize_sh_tdep): Accomodate removing sh_dump_tdep.
* sh3-rom.c (sh3_supply_register): Accomodate sh-tdep.h changes.

21 years ago * cygheap.cc (cygheap_user::set_saved_sid): Rename from set_orig_sid.
corinna [Tue, 16 Sep 2003 09:24:51 +0000 (09:24 +0000)]
* cygheap.cc (cygheap_user::set_saved_sid): Rename from set_orig_sid.
* cygheap.h (class cygheap_user): Rename orig_psid, orig_uid and
orig_gid to saved_psid, saved_uid and saved_gid respectively.
Rename methods orig_sid and set_orig_sid to saved_sid and set_saved_sid
respectively.
* sec_helper.cc (sec_acl): Accomodate above changes.
* spawn.cc (spawn_guts): Ditto.
* uinfo.cc (uinfo_init): Ditto.

21 years agofix typo
cgf [Tue, 16 Sep 2003 03:59:35 +0000 (03:59 +0000)]
fix typo

21 years ago* getopt.cc (opterr): Reinstate initialization.
cgf [Tue, 16 Sep 2003 03:39:55 +0000 (03:39 +0000)]
* getopt.cc (opterr): Reinstate initialization.
(optind): Ditto.
(optopt): Ditto.
* pinfo.cc: Include cygheap.h or suffer compile error.
* shared.h: Reset magic number.

21 years ago* exceptions.cc (sig_handle_tty_stop): Fix boneheaded mistake by using correct
cgf [Tue, 16 Sep 2003 03:07:27 +0000 (03:07 +0000)]
* exceptions.cc (sig_handle_tty_stop): Fix boneheaded mistake by using correct
check for parent state rather than inverted check.

21 years agoIndex: include/ChangeLog
cagney [Tue, 16 Sep 2003 01:47:53 +0000 (01:47 +0000)]
Index: include/ChangeLog
2003-09-15  Andrew Cagney  <cagney@redhat.com>

* floatformat.h (floatformat_to_double): Make input buffer constant.
(floatformat_from_double, floatformat_is_valid): Ditto.

Index: libiberty/ChangeLog
2003-09-15  Andrew Cagney  <cagney@redhat.com>

* floatformat.c (get_field): Make "data" constant.
(floatformat_is_valid, floatformat_to_double): Make "from"
constant, fix casts.
(floatformat_from_double): Make "from" constant.

21 years ago2003-09-15 Pierre Humblet <pierre.humblet@ieee.org>
phumblet [Tue, 16 Sep 2003 00:45:50 +0000 (00:45 +0000)]
2003-09-15  Pierre Humblet <pierre.humblet@ieee.org>

* security.h (__sec_user): Add "access2" argument.
(sec_acl): Add "original" and "access2" arguments.
(sec_user): Add "sid2" and "access2" argument. Remove dependence on
allow_ntsec.
(sec_user_nih): Ditto.
* sec_helper.cc (__sec_user): Add "has_security" test.
Call sec_acl with new arguments, letting it handle original_sid.
(sec_acl): Add "original" and "access2" arguments. Handle original_sid
depending on flag but avoiding duplicates. Use "access2" for sid2.
* pinfo.cc (pinfo::init): Use security attributes created by sec_user
when creating the mapping.
* security.cc (create_token): Adjust arguments in call to sec_acl.
Call sec_user instead of __sec_user.
* syscall.cc (seteuid32):  Adjust arguments in call to sec_acl. Remove
now unnecessary test. Remove useless conversions to psid.
* dcrt0.cc (dll_crt0_1): Call cygsid::init before pinfo_init.

21 years ago * configure.in: Handle arm-*-rtems* and thumb-*rtems*.
amodra [Tue, 16 Sep 2003 00:45:48 +0000 (00:45 +0000)]
* configure.in: Handle arm-*-rtems* and thumb-*rtems*.
* configure: Regenerate.

21 years agodaily update
amodra [Tue, 16 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 16 Sep 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-09-15 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 15 Sep 2003 21:33:43 +0000 (21:33 +0000)]
2003-09-15  Andrew Cagney  <cagney@redhat.com>

* doublest.c (convert_floatformat_to_doublest): No longer need to
cast "exp_bias" to an int.  Reverts 2002-12-04 change.

21 years ago2003-09-15 Andrew Cagney <cagney@redhat.com>
cagney [Mon, 15 Sep 2003 21:28:56 +0000 (21:28 +0000)]
2003-09-15  Andrew Cagney  <cagney@redhat.com>

* floatformat.h (struct floatformat): Make "exp_bias" signed.

21 years ago * values.c (unpack_double): Call floatformat_is_valid.
drow [Mon, 15 Sep 2003 20:15:18 +0000 (20:15 +0000)]
* values.c (unpack_double): Call floatformat_is_valid.

21 years ago * floatformat.c (floatformat_is_valid): New function.
drow [Mon, 15 Sep 2003 20:14:39 +0000 (20:14 +0000)]
* floatformat.c (floatformat_is_valid): New function.
(get_field, put_field): Correct comments.

21 years ago * floatformat.h (floatformat_is_valid): Add prototype.
drow [Mon, 15 Sep 2003 20:13:45 +0000 (20:13 +0000)]
* floatformat.h (floatformat_is_valid): Add prototype.

21 years ago* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of
kettenis [Mon, 15 Sep 2003 20:05:17 +0000 (20:05 +0000)]
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Change type of
ps_strings into a long.

21 years ago* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from
kettenis [Mon, 15 Sep 2003 19:30:49 +0000 (19:30 +0000)]
* amd64fbsd-nat.c (_initialize_amd64fbsd_nat): Rename from
_initialize_am64fbsd_nat.

* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Add comment.
(stabs_argument_has_addr): New architecture method.
* arch-utils.h (default_stabs_argument_has_addr): New prototype.
* arch-utils.c: Include "buildsym.h".
(default_stabs_argument_has_addr): New function.
* stabsread.c (define_symbol): Use stabs_argument_has_addr
instead of DEPRECATED_REG_STRUCT_HAS_ADDR.

21 years ago * dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset
kevinb [Mon, 15 Sep 2003 17:19:22 +0000 (17:19 +0000)]
* dwarf2read.c (dwarf2_get_pc_bounds): Complain if offset
associated with DW_AT_ranges attribute is out of bounds.

21 years ago * include/_mingw.h: Increment version to 3.2.
earnie [Mon, 15 Sep 2003 15:21:53 +0000 (15:21 +0000)]
* include/_mingw.h: Increment version to 3.2.
* Makefile.in: Ditto.

21 years ago2003-09-15 David Lecomber <dsl@sources.redhat.com>
dsl [Mon, 15 Sep 2003 15:14:12 +0000 (15:14 +0000)]
2003-09-15  David Lecomber  <dsl@sources.redhat.com>

* f-valprint.c: Apply array element printing limits to multi-dimensional arrays

21 years agoFix C90 conversion
green [Mon, 15 Sep 2003 14:40:44 +0000 (14:40 +0000)]
Fix C90 conversion

21 years ago * include/w32api.h: Increment version to 2.5.
earnie [Mon, 15 Sep 2003 12:05:39 +0000 (12:05 +0000)]
* include/w32api.h: Increment version to 2.5.
* Makefile.in: Ditto.

21 years ago2003-09-15 Danny Smith <dannysmith@users.sourceforge.net>
dannysmith [Mon, 15 Sep 2003 10:21:56 +0000 (10:21 +0000)]
2003-09-15  Danny Smith  <dannysmith@users.sourceforge.net>

* include/ws2spi.h (LPWSPBIND): Change CONST LPSOCKADDR to
const struct sockaddr*.
(LPWSPCONNECT): Likewise.
(LPWSPJOINLEAF): Likewise.
(LPWSPSENDTO): Likewise.
Tanks to Sebastian Nowak  <snowak1@users.spourceforge.net>

2003-09-15  Filip Navara  <xnavara@volny.cz>

* include/commctrl.h (TCIS_BUTTONPRESSED, TCIS_HIGHLIGHTED):
Add definitions.

2003-09-15  Sascha Brawer  <brawer@dandelis.ch>

* include/winuser.h (DISPLAY_DEVICE_ATTACHED_TO_DESKTOP,
DISPLAY_DEVICE_PRIMARY_DEVICE, DISPLAY_DEVICE_MIRRORING_DRIVER,
DISPLAY_DEVICE_VGA_COMPATIBLE, DISPLAY_DEVICE_REMOVABLE,
DISPLAY_DEVICE_MODESPRUNED): Define constants.
(ChangeDisplaySettingsEx[A,W]): Add prototype.

* lib/user32.def (ChangeDisplaySettingsEx[A,W]): Add exports.
(EnumDisplayDevices[A,W]): Likewise.

2003-09-15  Danny Smith  <dannysmith@users.sourceforge.net>

* include.commctrl.h (_WIN32_WINNT): Change _WXP to 0x0501,
throughout.

21 years ago * gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
corinna [Mon, 15 Sep 2003 09:52:55 +0000 (09:52 +0000)]
* gdb.asm/asm-source.exp: Add sh*-*-* as supported target.
* gdb.asm/sh.inc: New file.

21 years ago2003-09-14 Michael Chastain <mec@shout.net>
chastain [Mon, 15 Sep 2003 02:53:01 +0000 (02:53 +0000)]
2003-09-14  Michael Chastain  <mec@shout.net>

* config/m68k/nm-apollo68v.h: Delete.
* config/m68k/xm-apollo68v.h: Delete.

21 years ago*** empty log message ***
gdbadmin [Mon, 15 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Mon, 15 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago2003-09-12 Michael Chastain <mec@shout.net>
chastain [Sun, 14 Sep 2003 23:16:45 +0000 (23:16 +0000)]
2003-09-12  Michael Chastain  <mec@shout.net>

Fix PR gdb/857.
* src-release (do-proto-topleve): Remove junk files
intl/config.cache, intl/config.status,
intl/config.h, intl/stamp-h.

21 years ago2003-09-14 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 14 Sep 2003 22:35:33 +0000 (22:35 +0000)]
2003-09-14  Andrew Cagney  <cagney@redhat.com>

* rs6000-tdep.c (rs6000_push_dummy_call): Fix typos.
* dcache.c: Update copyrights and descriptions.
* scm-exp.c, ia64-aix-nat.c, hppam3-nat.c: environ.c: Ditto.

21 years ago2003-09-14 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 14 Sep 2003 21:24:12 +0000 (21:24 +0000)]
2003-09-14  Andrew Cagney  <cagney@redhat.com>

* config/djgpp/fnchange.lst: Rename "amd64fbsd-tdep.c" and
"amd64fbsd-nat.c" to "a64fb-tdep.c" and "a64fb-nat.c".

21 years ago2003-09-14 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 14 Sep 2003 18:12:21 +0000 (18:12 +0000)]
2003-09-14  Andrew Cagney  <cagney@redhat.com>

* src-release (dejagnu.tar): New target.
(dejagnu.tar.bz2): Recursively call "gdb-taz" rule.
(do-djunpack): Use $(PACKAGE) for the package name.

21 years ago2003-09-14 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 14 Sep 2003 17:36:49 +0000 (17:36 +0000)]
2003-09-14  Andrew Cagney  <cagney@redhat.com>

* history.0: Delete generated file.

21 years ago2003-09-14 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 14 Sep 2003 16:32:11 +0000 (16:32 +0000)]
2003-09-14  Andrew Cagney  <cagney@redhat.com>

* alpha-nat.c: Remove some occurances of "register".
* alpha-tdep.c, arm-tdep.c, blockframe.c, breakpoint.c: Ditto.
* buildsym.c, c-typeprint.c, c-valprint.c, coffread.c: Ditto.
* corefile.c, cp-support.c, cp-valprint.c, cris-tdep.c: Ditto.
* dbxread.c, dcache.c, dwarf2read.c, elfread.c: Ditto.
* environ.c, eval.c, event-top.c, f-typeprint.c: Ditto.
* f-valprint.c, findvar.c, frame.c, gdbtypes.c: Ditto.
* h8300-tdep.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c: Ditto.
* hppam3-nat.c, hpread.c, ia64-aix-nat.c, ia64-linux-nat.c: Ditto.
* infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Ditto.
* infttrace.c, irix5-nat.c, jv-typeprint.c: Ditto.
* jv-valprint.c, m68k-tdep.c, m68klinux-nat.c, main.c: Ditto.
* mdebugread.c, minsyms.c, mips-linux-tdep.c: Ditto.
* mips-nat.c, mips-tdep.c, mipsread.c, mipsv4-nat.c: Ditto.
* ns32k-tdep.c, objfiles.c, p-typeprint.c: Ditto.
* p-valprint.c, ppc-linux-nat.c, printcmd.c: Ditto.
* remote-mips.c, remote-vx.c, rs6000-nat.c: Ditto.
* rs6000-tdep.c, scm-exp.c, sh-tdep.c, sh64-tdep.c: Ditto.
* solib.c, somread.c, source.c, sparc-tdep.c: Ditto.
* stabsread.c, stack.c, standalone.c, symfile.c: Ditto.
* symmisc.c, symtab.c, top.c, tracepoint.c: Ditto.
* typeprint.c, utils.c, valarith.c, valops.c: Ditto.
* values.c, vax-tdep.c, xcoffread.c: Ditto.

21 years ago * config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): Remove.
ths [Sun, 14 Sep 2003 15:24:49 +0000 (15:24 +0000)]
* config/tc-mips.c (HAVE_64BIT_ADDRESS_CONSTANTS): Remove.
(macro_build_ldst_constoffset): Sign-extend 32-bit constants. Change
the function prototype.
(load_register): Likewise. Simplify the checks for sign-extended
constants.
(macro): Likewise. Fix code generation for 64-bit address constants
outside the 32-bit compatibility space. Adjust
macro_build_ldst_constoffset calls.
(s_cprestore): Adjust macro_build_ldst_constoffset call.

21 years ago * i386-dis.c: Convert to ISO C90 prototypes.
aj [Sun, 14 Sep 2003 15:16:57 +0000 (15:16 +0000)]
* i386-dis.c: Convert to ISO C90 prototypes.
* i370-dis.c: Likewise.
* i370-opc.c: Likewiwse.
* i960-dis.c: Likewise.
* ia64-opc.c: Likewise.

21 years ago * ld-mmix/bpo-1.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d,
hp [Sun, 14 Sep 2003 14:10:55 +0000 (14:10 +0000)]
* ld-mmix/bpo-1.d, ld-mmix/bpo-10.d, ld-mmix/bpo-11.d,
ld-mmix/bpo-14.d, ld-mmix/bpo-16.d, ld-mmix/bpo-17.d,
ld-mmix/bpo-18.d, ld-mmix/bpo-19.d, ld-mmix/bpo-2.d,
ld-mmix/bpo-22.d, ld-mmix/bpo-3.d, ld-mmix/bpo-4.d,
ld-mmix/bpo-5.d, ld-mmix/bpo-6.d, ld-mmix/bpo-9.d,
ld-mmix/greg-19.d, ld-mmix/loc1.d, ld-mmix/loc2.d, ld-mmix/loc3.d,
ld-mmix/loc4.d, ld-mmix/loc6.d, ld-mmix/local12.d,
ld-mmix/locdo-1.d, ld-mmix/loct-1.d, ld-mmix/locto-1.d: Adjust for
objdump -d change.

21 years ago * addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
aj [Sun, 14 Sep 2003 12:20:16 +0000 (12:20 +0000)]
* addr2line.c: Convert to ISO C90 prototypes, change PTR, remove
unneeded (void *) casts.
* ar.c: Likewise.
* arlex.l: Likewise.
* arparse.y: Likewise.
* arsup.c: Likewise.
* binemul.c: Likewise.
* binemul.h: Likewise.
* bucomm.c: Likewise.
* bucomm.h: Likewise.
* budbg.h: Likewise.
* budemang.c: Likewise.
* budemang.h: Likewise.
* coffdump.c: Likewise.
* coffgrok.c: Likewise.
* cxxfilt.c: Likewise.
* debug.c: Likewise.
* debug.h: Likewise.
* deflex.l: Likewise.
* dlltool.c: Likewise.
* dlltool.h: Likewise.
* dllwrap.c: Likewise.
* emul_aix.c: Likewise.
* filemode.c: Likewise.
* ieee.c: Likewise.
* nlmconv.c: Likewise.
* nlmconv.h: Likewise.
* nlmheader.y: Likewise.
* nm.c: Likewise.
* prdbg.c: Likewise.
* rclex.l: Likewise.
* rcparse.y: Likewise.
* rdcoff.c: Likewise.
* rddbg.c: Likewise.
* rename.c: Likewise.
* resbin.c: Likewise.
* rescoff.c: Likewise.
* resrc.c: Likewise.
* size.c: Likewise.
* srconv.c: Likewise.
* stabs.c: Likewise.
* strings.c: Likewise.
* sysdump.c: Likewise.
* sysinfo.y: Likewise.
* syslex.l: Likewise.
* unwind-ia64.c: Likewise.
* unwind-ia64.h: Likewise.
* version.c: Likewise.
* windres.c: Likewise.
* windres.h: Likewise.
* winduni.c: Likewise.
* wrstabs.c: Likewise.

21 years ago2003-09-13 Andrew Cagney <cagney@redhat.com>
cagney [Sun, 14 Sep 2003 02:04:43 +0000 (02:04 +0000)]
2003-09-13  Andrew Cagney  <cagney@redhat.com>

* config/pa/tm-hppa64.h (struct frame_info): Declare opaque.
* ppc-tdep.h (struct regcache): Declare opaque.
* objfiles.h (struct objfile_data): Declare opaque.
* cp-support.h (struct objfile): Declare opaque.
* linux-nat.h (target_waitstatus): Declare opaque.

21 years ago* Makefile.in: Make malloc_wrapper -fomit-frame-pointer.
cgf [Sun, 14 Sep 2003 01:58:03 +0000 (01:58 +0000)]
* Makefile.in: Make malloc_wrapper -fomit-frame-pointer.
* cygwin.din: Remove extraneous mallinfo definition.
* dcrt0.cc (quoted): Use strechr for efficiency.
* fhandler.cc (fhandler_base::write): Correctly use get_output_handle rather
than get_handle.
(fhandler_base::lseek): Use method for accessing name in debug output.

21 years ago* fhandler_disk_file.cc (path_conv::ndisk_links): Fix potential off-by-one
cgf [Sun, 14 Sep 2003 00:07:50 +0000 (00:07 +0000)]
* fhandler_disk_file.cc (path_conv::ndisk_links): Fix potential off-by-one
problem when first file in a directory is a directory.

21 years ago*** empty log message ***
gdbadmin [Sun, 14 Sep 2003 00:00:31 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sun, 14 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago* cris-tdep.c (cris_gdbarch_init): Set
kettenis [Sat, 13 Sep 2003 23:25:40 +0000 (23:25 +0000)]
* cris-tdep.c (cris_gdbarch_init): Set
deprecated_reg_struct_has_addr instead of reg_struct_has_addr.
* hppa-tdep.c (hppa_gdbarch_init): Likewise.
* mcore-tdep.c (mcore_gdbarch_init): Likewise.
* mips-tdep.c (mips_gdbarch_init): Likewise.
* mn10300-tdep.c (mn10300_gdbarch_init): Likewise.
* sparc-tdep.c (sparc_gdbarch_init): Likewise.

21 years ago2003-09-13 Andrew Cagney <cagney@redhat.com>
cagney [Sat, 13 Sep 2003 21:31:33 +0000 (21:31 +0000)]
2003-09-13  Andrew Cagney  <cagney@redhat.com>

* values.c (using_struct_return): Delete "function" and "funcaddr"
parameters.
* value.h (using_struct_return): Update declaration.
* infcmd.c (finish_command_continuation): Update.
(finish_command): Update.
* infcall.c (call_function_by_hand): Update.
* eval.c (evaluate_subexp_standard): Update.

21 years ago* kill.c (forcekill): Wait for process to terminate even if TerminateProcess
cgf [Sat, 13 Sep 2003 18:20:52 +0000 (18:20 +0000)]
* kill.c (forcekill): Wait for process to terminate even if TerminateProcess
says it failed.

21 years agoReally check in regenerated files.
kettenis [Sat, 13 Sep 2003 17:28:58 +0000 (17:28 +0000)]
Really check in regenerated files.

21 years ago* include/sys/cygwin.h: Rename PID_UNUSED to PID_MAP_RW.
cgf [Sat, 13 Sep 2003 17:14:15 +0000 (17:14 +0000)]
* include/sys/cygwin.h: Rename PID_UNUSED to PID_MAP_RW.
* pinfo.cc (pinfo_init): Initialize myself->gid.
(pinfo::init): Create the "access" variable, set it appropriately and use it to
specify the requested access.
* exceptions.cc (sig_handle_tty_stop): Add PID_MAP_RW in pinfo parent.
* signal.cc (kill_worker): Ditto for pinfo dest.
* syscalls.cc (setpgid): Ditto for pinfo p.

21 years ago* include/cygwin/version.h: Bump DLL minor number to 5.
cgf [Sat, 13 Sep 2003 17:12:00 +0000 (17:12 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 5.

21 years ago* win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for SSE
cgf [Sat, 13 Sep 2003 16:46:20 +0000 (16:46 +0000)]
* win32-nat.c: Just rely on CONTEXT_EXTENDED_REGISTER being defined for SSE
registers since gdb will not operate correctly without this.  Restore include
file ordering munged in previous change.
* config/i386/tm-cygwin.h: Remove HAVE_SSE_REGS define.

21 years ago* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from
kettenis [Sat, 13 Sep 2003 14:12:40 +0000 (14:12 +0000)]
* gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Renamed from
REG_STRUCT_HAS_ADDR.
* gdbarch.c, gdbarch.h: Updated.
* infcall.c (call_function_by_hand): Update.
* stabsread.c (define_symbol): Updated.

21 years ago * include/olectl.h (TEXTMETRICOLE, LPERRORLOG, LPPROPERTYBAG,
dannysmith [Sat, 13 Sep 2003 12:05:08 +0000 (12:05 +0000)]
* include/olectl.h (TEXTMETRICOLE, LPERRORLOG, LPPROPERTYBAG,
LPENUMCONNECTIONPOINTS, LPCONNECTIONPOINT, LPENUMCONNECTIONS,
LPPROPERTYPAGESITE, LPFONT, LPFONTDISP, OLE_COLOR, HIMETRIC,
OLE_YPOS_HIMETRIC, OLE_XSIZE_HIMETRIC, OLE_YSIZE_HIMETRIC,
OLE_YSIZE_CONTAINER, OLE_HANDLE, POINTF,LPPOINTF, CONTROLINFO,
LPCONTROLINFO, CONNECTDATA, LPCONNECTDATA, LICINFO, LPLICINFO,
CAUUID, LPCAUUID, CALPOLESTR, LPCALPOLESTR, CADWORD, LPCADWORD,
PROPPAGEINFO, LPPROPPAGEINFO): Remove from here ...
* include/ocidl.h: (TEXTMETRICOLE, LPERRORLOG, LPPROPERTYBAG,
LPENUMCONNECTIONPOINTS, LPCONNECTIONPOINT, LPENUMCONNECTIONS,
LPPROPERTYPAGESITE, LPFONT, LPFONTDISP, OLE_COLOR, HIMETRIC,
OLE_YPOS_HIMETRIC, OLE_XSIZE_HIMETRIC, OLE_YSIZE_HIMETRIC,
OLE_YSIZE_CONTAINER, OLE_HANDLE, POINTF, LPPOINTF, CONTROLINFO,
LPCONTROLINFO, CONNECTDATA, LPCONNECTDATA, LICINFO, LPLICINFO,
CAUUID, LPCAUUID, CALPOLESTR, LPCALPOLESTR, CADWORD, LPCADWORD,
PROPPAGEINFO, LPPROPPAGEINFO): ... to here, for consistency
with documentation.
* include/olectl.h: Do #include <ocidl.h>.
* include/ocidl.h: Don't #include <olectl.h>.

21 years ago* Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove.
kettenis [Sat, 13 Sep 2003 11:44:18 +0000 (11:44 +0000)]
* Makefile.in (xm-i386-sv32.h, tm-i386gas.h): Remove.

21 years ago * include/winuser.h (_WIN32_WINNT, _WIN32_WINDOWS, WINVER):
dannysmith [Sat, 13 Sep 2003 08:13:30 +0000 (08:13 +0000)]
* include/winuser.h (_WIN32_WINNT, _WIN32_WINDOWS, WINVER):
Change guards to use numeric constants, throughout.

21 years ago* win32-nat.c: Reorganize so that defines used by target headers are actually
cgf [Sat, 13 Sep 2003 02:26:41 +0000 (02:26 +0000)]
* win32-nat.c: Reorganize so that defines used by target headers are actually
defined by the system headers.
* config/i386/tm-cygwin.h: Check for CONTEXT_EXTENDED_REGISTERS rather than
HAVE_CONTEXT_EXTENDED_REGISTERS, since the latter actually exists.

21 years ago* thread.cc (MTinterface::fixup_after_fork): Remove code which potentially
cgf [Sat, 13 Sep 2003 01:21:31 +0000 (01:21 +0000)]
* thread.cc (MTinterface::fixup_after_fork): Remove code which potentially
overwrote _impure pointer with contents of thread which invoked fork since this
eliminates important information like the pointer to the atexit queue.

21 years ago* dbxread.c (read_dbx_symtab): Don't report an internal error if
jimb [Sat, 13 Sep 2003 00:17:36 +0000 (00:17 +0000)]
* dbxread.c (read_dbx_symtab): Don't report an internal error if
the file has no .data, .bss, or .rodata sections.  Instead wait
until we see a variable alleged to live in one of those sections.

21 years ago* dbxread.c (read_dbx_symtab): If we have no .data section and no
jimb [Sat, 13 Sep 2003 00:00:31 +0000 (00:00 +0000)]
* dbxread.c (read_dbx_symtab): If we have no .data section and no
.bss section, presume that any variables we find live in the
.rodata section.

21 years agodaily update
amodra [Sat, 13 Sep 2003 00:00:06 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sat, 13 Sep 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* dbxread.c (read_dbx_symtab): Add FIXME about finding section
jimb [Fri, 12 Sep 2003 23:34:55 +0000 (23:34 +0000)]
* dbxread.c (read_dbx_symtab): Add FIXME about finding section
offsets for global and static variables.

21 years ago* dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT
jimb [Fri, 12 Sep 2003 22:49:24 +0000 (22:49 +0000)]
* dbxread.c (read_dbx_symtab): The N_DATA and N_DATA | N_EXT
symbol types are, by definition, in the .data section, so it is
correct to use SECT_OFF_DATA (objfile) here, not data_sect_index.
If there is no .data section, there should be no N_DATA or N_DATA
| N_EXT symbols.

21 years agoCorrect last entry.
brolley [Fri, 12 Sep 2003 22:07:53 +0000 (22:07 +0000)]
Correct last entry.

21 years ago2003-09-12 Dave Brolley <brolley@redhat.com>
brolley [Fri, 12 Sep 2003 22:05:21 +0000 (22:05 +0000)]
2003-09-12  Dave Brolley  <brolley@redhat.com>

        * registers.c (frv_check_spr_read_access): Check for access to
        ACC4-ACC63 and ACCG4-ACCG63.
        * profile.h (frv-desc.h): #include it.
        (spr_busy): New member of FRV_PROFILE_STATE.
        (spr_latency): Ditto.
        (GNER_FOR_GR): New macro.
        (FNER_FOR_FR): New maccro.
        (update_SPR_latency): New function.
        (vliw_wait_for_SPR): New function.
        * profile.c (profile-fr550.h): #include it.
        (update_latencies): Update SPR latencies.
        (update_target_latencies): Ditto.
        (update_SPR_latency): New function.
        (vliw_wait_for_SPR): New function.
        * profile-fr500.c (frvbf_model_fr500_u_idiv): Record GNER latency.
        (frvbf_model_fr500_u_trap): Removed unused variable, ps.
        (frvbf_model_fr500_u_check): Ditto.
        (frvbf_model_fr500_u_clrgr): New unit modeller for fr500.
        (frvbf_model_fr500_u_clrfr): Ditto.
        (frvbf_model_fr500_u_spr2gr): Wait for SPR.
        (frvbf_model_fr500_u_gr2spr): Ditto.
        * frv-sim.h (H_SPR_ACC4): New macro.
        (H_SPR_ACCG4): New macro;
        (H_SPR_ACC0): Removed.
        (H_SPR_ACCG0): Removed.
        * arch.h,model.c,sem[ch],decode.[ch]: Regenerated.

21 years ago2003-09-12 Dave Brolley <brolley@redhat.com>
brolley [Fri, 12 Sep 2003 22:04:22 +0000 (22:04 +0000)]
2003-09-12  Dave Brolley  <brolley@redhat.com>

        * frv.cpu (u-clrgr, u-clrfr): New units of model fr500.
        (clear-ne-flag-r): Pass insn profiling in as an argument. Call
        frv_ref_SI to get input register referenced for profiling.
        (clear-ne-flag-all): Pass insn profiling in as an argument.
        (clrgr,clrfr,clrga,clrfa): Add profiling information.