OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years ago * elf32-s390.c (elf_howto_table): Change R_390_GOT12 to
jakub [Mon, 7 Jul 2003 11:14:40 +0000 (11:14 +0000)]
* elf32-s390.c (elf_howto_table): Change R_390_GOT12 to
complain_overflow_bitfield.
* elf64-s390.c (elf_howto_table): Change R_390_GOT12 to
complain_overflow_bitfield.

21 years agoAdd documentation of M32R .high, .shigh and .low directives.
nickc [Mon, 7 Jul 2003 10:24:07 +0000 (10:24 +0000)]
Add documentation of M32R .high, .shigh and .low directives.

21 years agoAdd Clarke's surname to ChangeLog entry
nickc [Mon, 7 Jul 2003 09:40:16 +0000 (09:40 +0000)]
Add Clarke's surname to ChangeLog entry

21 years ago * config/tc-h8300.c (h8300sxnmode): Add prototype.
rsandifo [Mon, 7 Jul 2003 09:33:01 +0000 (09:33 +0000)]
* config/tc-h8300.c (h8300sxnmode): Add prototype.
(DSYMMODE): Remove.
(parse_exp): Replace expressionS argument with a h8_op.  Parse the
operand size as well.
(skip_colonthing): Remove unused expression argument.  Tighten checks
for 2-digit sizes.
(colonmod24): Remove.
(get_mova_operands): Combine calls to parse_exp and skip_colonthing.
(get_operand): Likewise.  Use the standard code to read the size of
pc-relative operands.
(fix_operand_size): Include the size-guessing logic that used to be
in colonmod24 and get_operand.  Don't apply dd:2 optimizations to
offsets with a symbolic component.

testsuite/
* gas/h8300/h8sx_disp2.[sd]: Add tests for symbolic displacements.

21 years ago* rmsym: Don't use ranlib.
cgf [Mon, 7 Jul 2003 05:32:24 +0000 (05:32 +0000)]
* rmsym: Don't use ranlib.

21 years ago* newsym: Reenable removal of tmp directory. Just use ar to generate archive
cgf [Mon, 7 Jul 2003 05:30:33 +0000 (05:30 +0000)]
* newsym: Reenable removal of tmp directory.  Just use ar to generate archive
index.
* Makefile.in: Don't send ranlib to newsym.

21 years ago* newsym: Create objects that are closer to those created by dlltool so as not
cgf [Mon, 7 Jul 2003 05:23:35 +0000 (05:23 +0000)]
* newsym: Create objects that are closer to those created by dlltool so as not
to confuse --export-all-symbols.
* rmsym: Be a little more accepting of object filenames now that dlltool can
create different format files.

21 years ago * ppc-opc.c: Remove NULL pointer checks. Formatting. Remove
amodra [Mon, 7 Jul 2003 01:34:04 +0000 (01:34 +0000)]
* ppc-opc.c: Remove NULL pointer checks.  Formatting.  Remove
extraneous ATTRIBUTE_UNUSED.
* ppc-dis.c (print_insn_powerpc): Always pass a valid address to
operand->extract.

21 years ago* newsym: Oops. Revert below change.
cgf [Mon, 7 Jul 2003 00:14:58 +0000 (00:14 +0000)]
* newsym: Oops.  Revert below change.

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

21 years agodaily update
amodra [Mon, 7 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago* newsym: Use correct prefix for generating imports.
cgf [Sun, 6 Jul 2003 23:24:13 +0000 (23:24 +0000)]
* newsym: Use correct prefix for generating imports.
* pinfo.cc (_pinfo::commune_send): Don't wait forever for a response from
another process.

21 years ago * gdb.objc/basicclass.exp ("Call an Objective-C method with no
schwab [Sun, 6 Jul 2003 22:27:34 +0000 (22:27 +0000)]
* gdb.objc/basicclass.exp ("Call an Objective-C method with no
arguments"): Also match negative number.

* gdb.base/float.exp ("info float"): Add test for m68k-*-*.

21 years agoupdate copyright
cgf [Sun, 6 Jul 2003 21:45:21 +0000 (21:45 +0000)]
update copyright

21 years ago2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 6 Jul 2003 21:44:55 +0000 (21:44 +0000)]
2003-07-06  H.J. Lu <hongjiu.lu@intel.com>

* demangle.h: Support C++.

21 years ago* winsup.api/known_bugs.tcl: Remove gethostid01 from list of known bugs.
cgf [Sun, 6 Jul 2003 21:40:37 +0000 (21:40 +0000)]
* winsup.api/known_bugs.tcl: Remove gethostid01 from list of known bugs.

21 years ago2003-07-06 H.J. Lu <hongjiu.lu@intel.com>
hjl [Sun, 6 Jul 2003 21:37:59 +0000 (21:37 +0000)]
2003-07-06  H.J. Lu <hongjiu.lu@intel.com>

* config-ml.in: Replace PWD with PWD_COMMAND.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerated.

21 years agowhite space
cgf [Sun, 6 Jul 2003 20:13:48 +0000 (20:13 +0000)]
white space

21 years ago* syscalls.cc (gethostid): Set thread affinity so that results are predictable.
cgf [Sun, 6 Jul 2003 20:08:42 +0000 (20:08 +0000)]
* syscalls.cc (gethostid): Set thread affinity so that results are predictable.

21 years ago* win32-nat.c (solib_symbols_add): Use one variable for all section address
cgf [Sun, 6 Jul 2003 19:48:53 +0000 (19:48 +0000)]
* win32-nat.c (solib_symbols_add): Use one variable for all section address
stuff.  Pass variable rather than address of variable to safe_symbol_file_add.

21 years ago* Makefile.in: Remove .dat files when cleaning.
cgf [Sun, 6 Jul 2003 19:25:40 +0000 (19:25 +0000)]
* Makefile.in: Remove .dat files when cleaning.

21 years ago* Makefile.in: Remove .d files when cleaning.
cgf [Sun, 6 Jul 2003 19:24:31 +0000 (19:24 +0000)]
* Makefile.in: Remove .d files when cleaning.

21 years ago * m68klinux-nat.c (fill_fpregset): Fix use of loop index.
schwab [Sun, 6 Jul 2003 18:58:26 +0000 (18:58 +0000)]
* m68klinux-nat.c (fill_fpregset): Fix use of loop index.

21 years agodaily update
amodra [Sun, 6 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sun, 6 Jul 2003 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * mmap.cc (list::match): Add parameters to return valid address and
corinna [Sat, 5 Jul 2003 18:59:35 +0000 (18:59 +0000)]
* mmap.cc (list::match): Add parameters to return valid address and
length back to munmap().  Evaluate intersection between given
area and mapped area and return it, if any.
(mmap64): On regular files, don't allow mappings beginning beyond
EOF.  Return with errno set to ENXIO instead.
(munmap): Rewrite SUSv3 conformant.  Check if given memory area is
valid.  Unmap all maps inside given memory area.  Don't return error
if no mapping has been unmapped.

21 years ago * fhandler.h (fhandler_socket::get_connect_state): New method to
corinna [Sat, 5 Jul 2003 18:20:13 +0000 (18:20 +0000)]
* fhandler.h (fhandler_socket::get_connect_state): New method to
return socket connection state.
* fhandler_socket.cc (dup): Copy socket connect state to new file
handle.
* net.cc (cygwin_rcmd): Mark file handles of sockets returned by
rcmd() as CONNECTED state.
(cygwin_rexec): Similarly for rexec().
(socketpair): Mark both ends of a new socket pair as CONNECTED.

21 years agoRegenerate cgen files (not due to any recent changes, just want to
devans [Sat, 5 Jul 2003 17:07:20 +0000 (17:07 +0000)]
Regenerate cgen files (not due to any recent changes, just want to
establish a reference point).

21 years agoClean up white space
zack [Sat, 5 Jul 2003 16:54:46 +0000 (16:54 +0000)]
Clean up white space

21 years ago* dlltool.c (prefix_encode): Use a fixed length for alpha.
cgf [Sat, 5 Jul 2003 13:49:50 +0000 (13:49 +0000)]
* dlltool.c (prefix_encode): Use a fixed length for alpha.

21 years ago* dlltool.c (prefix_encode): New function. Encode temp file prefix from pid.
cgf [Sat, 5 Jul 2003 02:58:29 +0000 (02:58 +0000)]
* dlltool.c (prefix_encode): New function.  Encode temp file prefix from pid.
(dlltmp): Pass address of pointer being alloced or suffer neverending mallocs.
(make_one_lib_file): Allocate enough space for new longer stub names.
(gen_lib_file): Ditto.
(main): Generate the temp file prefix from the pid if prefix was not specified
on the command line.

21 years agomerge from gcc
dj [Sat, 5 Jul 2003 01:59:15 +0000 (01:59 +0000)]
merge from gcc

21 years agodaily update
amodra [Sat, 5 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

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

21 years agofix typo
cgf [Fri, 4 Jul 2003 17:37:59 +0000 (17:37 +0000)]
fix typo

21 years ago * rs6000-nat.c (vmap_symtab): Fix compilation error.
brobecke [Fri, 4 Jul 2003 16:42:59 +0000 (16:42 +0000)]
* rs6000-nat.c (vmap_symtab): Fix compilation error.

21 years agoAllow to override sh64 initial stack value with --defsym:
amylaar [Fri, 4 Jul 2003 16:07:01 +0000 (16:07 +0000)]
Allow to override sh64 initial stack value with --defsym:
* emulparams/shelf32.sh (STACK_ADDR): Don't define.
(OTHER_SECTIONS): Include .stack.
* emulparams/shelf64.sh (OTHER_SECTIONS): Likewise.

21 years ago2003-07-04 Kris Warkentin <kewarken@qnx.com>
kewarken [Fri, 4 Jul 2003 15:57:08 +0000 (15:57 +0000)]
2003-07-04  Kris Warkentin  <kewarken@qnx.com>

* config/i386/nto.mh: Set XM_FILE to xm-i386.h

21 years ago2003-07-04 Kris Warkentin <kewarken@qnx.com>
kewarken [Fri, 4 Jul 2003 15:48:57 +0000 (15:48 +0000)]
2003-07-04  Kris Warkentin  <kewarken@qnx.com>

* nto-procfs.c: New file.  Native procfs support for QNX Neutrino.
* config/i386/nto.mh: New file.
* config/i386/nm-nto.h: New file.
* configure.host: Add i[3456]86-*-nto*.

21 years ago * ppc-opc.c: Convert to C90, removing unnecessary prototypes and
amodra [Fri, 4 Jul 2003 15:27:24 +0000 (15:27 +0000)]
* ppc-opc.c: Convert to C90, removing unnecessary prototypes and
casts.  Formatting.

21 years ago(MKDOC rule): Add $(CFLAGS) in case it contains CC_FOR_BUILD specific switches.
nickc [Fri, 4 Jul 2003 14:46:13 +0000 (14:46 +0000)]
(MKDOC rule): Add $(CFLAGS) in case it contains CC_FOR_BUILD specific switches.

21 years ago * elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Return
jakub [Fri, 4 Jul 2003 13:57:13 +0000 (13:57 +0000)]
* elf-bfd.h (SYMBOL_REFERENCES_LOCAL, SYMBOL_CALLS_LOCAL): Return
true even if -pie.

21 years agobfd/
jakub [Fri, 4 Jul 2003 13:53:36 +0000 (13:53 +0000)]
bfd/
* elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add rel_fptr_sec.
(elfNN_ia64_dynamic_symbol_p): Change info->shared into
!info->executable.
(get_fptr): For -pie create .opd as writable section and create
.rela.opd as well.
(elfNN_ia64_check_relocs): Change info->shared into
!info->executable.
(allocate_fptr): Likewise.
(allocate_dynrel_entries): Account for a relative reloc for -pie
@fptr().  Don't account for a relative reloc if -pie want_ltoff_fptr
for undefweak symbol.  Account for an IPLT reloc in .rela.opd
section if -pie.
(set_got_entry): Don't create a relative reloc if -pie
want_ltoff_fptr for undefweak symbol.
(set_fptr_entry): Emit an IPLT reloc in .rela.opd for -pie.
(elfNN_ia64_relocate_section): Emit a relative reloc for -pie
@fptr().

* elfxx-ia64.c (elfNN_ia64_relocate_section): Issue undefined_symbol
even if -pie.
* elf32-i386.c (elf_i386_relocate_section): Likewise.
* elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise.
* elf64-sparc.c (sparc64_elf_relocate_section): Likewise.
* elf64-s390.c (elf_s390_relocate_section): Likewise.
* elf64-ppc.c (ppc64_elf_relocate_section): Likewise.
* elf64-alpha.c (elf64_alpha_relocate_section): Likewise.
* elf32-sparc.c (elf32_sparc_relocate_section): Likewise.
* elf32-s390.c (elf_s390_relocate_section): Likewise.
* elf32-ppc.c (ppc_elf_relocate_section): Likewise.
ld/
* emulparams/elf64_ia64.sh (OTHER_READONLY_SECTIONS): Don't include
.opd if -pie.
(OTHER_READWRITE_SECTIONS): Include .opd if -pie.
* scripttempl/elf.sc: Use SHLIB_DATA_ADDR instead of DATA_ADDR
if -pie.

21 years ago * gas/ppc/test2elf64.s: Rename to..
amodra [Fri, 4 Jul 2003 13:35:34 +0000 (13:35 +0000)]
* gas/ppc/test2elf64.s: Rename to..
* gas/ppc/power4.s: ..this.  Add mtcr and mfcr testcases.
* gas/ppc/test2elf64.d: Rename to..
* gas/ppc/power4.d: ..this.  Update.
* gas/ppc/ppc.exp: Update.

21 years ago * ppc-opc.c: Remove PARAMS from prototypes.
amodra [Fri, 4 Jul 2003 13:06:21 +0000 (13:06 +0000)]
* ppc-opc.c: Remove PARAMS from prototypes.
(FXM4): Define.
(insert_fxm): New function, used by both FXM and FXM4.
(extract_fxm): Likewise.
(XFXFXM_MASK): Remove 1 << 20 term.
(powerpc_opcodes): Add Power4 version of "mfcr".  Simplify "mtcr" mask.

21 years ago* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZE
nickc [Fri, 4 Jul 2003 10:46:34 +0000 (10:46 +0000)]
* config/tc-i386.c (tc_x86_regname_to_dw2regnum): Use ARRAY_SIZE
  macro to compute size of selected register name array.

21 years ago* readelf.c (get_data): Print (unsigned) hex values for size and offset in
nickc [Fri, 4 Jul 2003 10:42:26 +0000 (10:42 +0000)]
* readelf.c (get_data): Print (unsigned) hex values for size and offset in
  error messages.
  (process_section_headers): If the string table could not be allocated, do
  not continue.

21 years ago* elf32-h8300.c (R_H8_DIR32A16): Fix name field.
nickc [Fri, 4 Jul 2003 10:25:13 +0000 (10:25 +0000)]
* elf32-h8300.c (R_H8_DIR32A16): Fix name field.
(elf32_h8_relax_section) <R_H8_DIR16A8>: Adjust position of relocation.
<R_H8_DIR32A16>: Fix type of relocation.

* ld-h8300/h8300.exp: Replace loop with explicit list.  Run relax.d
unconditionally.  Run relax-2.d for *-elf targets.
* ld-h8300/relax.d: Fix typo.
* ld-h8300/relax.s: Add 0x prefixes.
* ld-h8300/relad-2.[sd]: New test.

21 years ago * mmap.cc (fhandler_disk_file::mmap): Fix address test.
corinna [Fri, 4 Jul 2003 09:06:54 +0000 (09:06 +0000)]
* mmap.cc (fhandler_disk_file::mmap): Fix address test.

21 years ago * elf32-sh.c (sh_elf_create_dynamic_sections): Return if dynamic
kkojima [Fri, 4 Jul 2003 08:41:57 +0000 (08:41 +0000)]
* elf32-sh.c (sh_elf_create_dynamic_sections): Return if dynamic
sections were created already.  Remove unnecessary tests of
the previous change.

21 years ago * elf32-sh.c (sh_elf_create_dynamic_sections): Don't call
kkojima [Fri, 4 Jul 2003 07:38:33 +0000 (07:38 +0000)]
* elf32-sh.c (sh_elf_create_dynamic_sections): Don't call
bfd_make_section for existing sections.

21 years ago * elf32-sparc.c (elf32_sparc_check_relocs): Don't call
amodra [Fri, 4 Jul 2003 04:58:03 +0000 (04:58 +0000)]
* elf32-sparc.c (elf32_sparc_check_relocs): Don't call
create_got_section if we already have done so.
* elf32-sh.c (sh_elf_create_dynamic_sections): Likewise.
(sh_elf_check_relocs): Likewise.
(sh_elf_adjust_dynamic_symbol): Delete "dynobj" var.  Use
htab->root.dynobj instead.
(sh_elf_check_relocs): Likewise.
(sh_elf_finish_dynamic_sections): Likewise.

21 years ago * section.c (bfd_make_section): Return NULL for existing section.
amodra [Fri, 4 Jul 2003 04:14:56 +0000 (04:14 +0000)]
* section.c (bfd_make_section): Return NULL for existing section.

21 years ago* mount.cc (struct opt): Remove posix option.
cgf [Fri, 4 Jul 2003 03:20:21 +0000 (03:20 +0000)]
* mount.cc (struct opt): Remove posix option.

21 years ago* mount.cc (longopts): Add long "options" keyword.
cgf [Fri, 4 Jul 2003 03:11:18 +0000 (03:11 +0000)]
* mount.cc (longopts): Add long "options" keyword.
(opts): Add -o option.
(usage): Display -o option.
(struct opt): New.
(concat3): New function.
(main): Handle -o flag.

21 years ago* path.cc (fillout_mntent): Change "posix" to "managed".
cgf [Fri, 4 Jul 2003 03:08:26 +0000 (03:08 +0000)]
* path.cc (fillout_mntent): Change "posix" to "managed".

21 years ago* fhandler.h (FH_ENC): New enum.
cgf [Fri, 4 Jul 2003 03:07:01 +0000 (03:07 +0000)]
* fhandler.h (FH_ENC): New enum.
(fhandler_base::get_encoded): New function.
(fhandler_base::set_encoded): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set encoded flag in
fhandler, as appropriate.
(fhandler_disk_file::readdir): Unmunge filename as appropriate based on new
encoding flag.
* path.cc (normalize_posix_path): Don't punt on files with colons.
(special_char): New function.
(mount_item::fnmunge): Ditto.
(fnunmunge): Ditto.
(special_name): Ditto.
(mount_item::build_win32): Avoid drive considerations when file is encoded.
(mount_info::conv_to_win32_path): Handle encoded filenames.
(mount_info::conv_to_posix_path): Ditto.
(fillout_mntent): Add posix string when directory is encoded.
* path.h (fnunmunge): Declare.
(path_conv::is_encoded): Declare.

21 years agontsec patch
cgf [Fri, 4 Jul 2003 01:58:24 +0000 (01:58 +0000)]
ntsec patch

21 years ago * elf32-ppc.c (ppc_elf_create_dynamic_sections): Don't call
amodra [Fri, 4 Jul 2003 01:57:26 +0000 (01:57 +0000)]
* elf32-ppc.c (ppc_elf_create_dynamic_sections): Don't call
ppc_elf_create_got if we've already done so.

21 years ago * elf-bfd.h (_bfd_elf_create_linker_section) Don't declare.
amodra [Fri, 4 Jul 2003 01:50:11 +0000 (01:50 +0000)]
* elf-bfd.h (_bfd_elf_create_linker_section) Don't declare.
(_bfd_elf_find_pointer_linker_section): Likewise.
(bfd_elf32_create_pointer_linker_section): Likewise.
(bfd_elf32_finish_pointer_linker_section): Likewise.
(bfd_elf64_create_pointer_linker_section): Likewise.
(bfd_elf64_finish_pointer_linker_section): Likewise.
(_bfd_elf_make_linker_section_rela): Likewise.
* elfcode.h (elf_create_pointer_linker_section): Don't define.
(elf_finish_pointer_linker_section): Likewise.
* elflink.c (_bfd_elf_make_linker_section_rela): Delete.
(_bfd_elf_create_linker_section): Move this function..
(_bfd_elf_find_pointer_linker_section): ..and this..
* elflink.h (elf_create_pointer_linker_section): ..and this..
(elf_finish_pointer_linker_section): ..and this..
* elf32-ppc.c: ..to here, renaming to the following, and adjusting
calls.
(elf_create_linker_section): Convert to C90, tidy.
(elf_find_pointer_linker_section): Likewise.
(elf_create_pointer_linker_section): Likewise.
(elf_finish_pointer_linker_section): Likewise.
* elf32-i370.c: Delete #if 0 code.

21 years ago * remote-vx.c (vx_add_symbols): Fix compilation error.
brobecke [Fri, 4 Jul 2003 01:27:25 +0000 (01:27 +0000)]
   * remote-vx.c (vx_add_symbols): Fix compilation error.

21 years ago2003-07-03 Michael Snyder <msnyder@redhat.com>
msnyder [Fri, 4 Jul 2003 00:03:52 +0000 (00:03 +0000)]
2003-07-03  Michael Snyder  <msnyder@redhat.com>

* gencode.c (movs): Fix a couple of text transpositions.

21 years agodaily update
amodra [Fri, 4 Jul 2003 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 4 Jul 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2003-07-03 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 3 Jul 2003 22:14:41 +0000 (22:14 +0000)]
2003-07-03  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (REGISTER_NAME): Do not supply a default.
* gdbarch.h, gdbarch.c: Re-generate.
* config/sparc/tm-sparc.h (REGISTER_NAME): Define.
(legacy_register_name): Declare.
* config/sparc/tm-sp64.h (legacy_register_name): Declare.
(REGISTER_NAME): Define.
* sparc-tdep.c (legacy_register_name): New function.
* config/pa/tm-hppa64.h (REGISTER_NAMES): Delete macro.
(REGISTER_NAME): Define.
(hppa64_register_name): Declare.
* config/pa/tm-hppa.h (REGISTER_NAMES): Delete macro.
* hppa-tdep.c (hppa_gdbarch_init): Set hppa_register_name.
(hppa64_register_name): New function.
(hppa_register_name): New function.
* arch-utils.c (legacy_register_name): Delete.
* arch-utils.h (legacy_register_name): Delete.

21 years ago* fhandler_tty.cc (fhandler_tty_slave::open): Conditionalize a little more of
cgf [Thu, 3 Jul 2003 21:22:17 +0000 (21:22 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::open): Conditionalize a little more of
the cygserver stuff so that ttys actually work.

21 years ago * mmap.cc (mmap64): Allow MAP_FIXED with pagesize granularity (4K).
corinna [Thu, 3 Jul 2003 20:53:26 +0000 (20:53 +0000)]
* mmap.cc (mmap64): Allow MAP_FIXED with pagesize granularity (4K).
If a non-zero addr is given, align it to the next lower 64K boundary.
(fhandler_disk_file::mmap): If a non-zero address is given, try
mapping using the given address first.  If it fails and flags is not
MAP_FIXED, try again with NULL address.

21 years ago2003-07-03 Shaun Jackman <sjackman@pathwayconnect.com>
jjohnstn [Thu, 3 Jul 2003 17:11:07 +0000 (17:11 +0000)]
2003-07-03  Shaun Jackman  <sjackman@pathwayconnect.com>

        * libc/include/stdbool.h: New header file defined by C99.

21 years ago * config.guess, config.sub: Update with new versions from ftp.gnu.org.
earnie [Thu, 3 Jul 2003 15:17:14 +0000 (15:17 +0000)]
* config.guess, config.sub: Update with new versions from ftp.gnu.org.

21 years ago * config.guess, config.sub: Update with versions from ftp.gnu.org.
earnie [Thu, 3 Jul 2003 15:15:56 +0000 (15:15 +0000)]
* config.guess, config.sub: Update with versions from ftp.gnu.org.

21 years ago * cli/cli-interp.c (cli_interpreter_resume): Update the
drow [Thu, 3 Jul 2003 14:49:25 +0000 (14:49 +0000)]
* cli/cli-interp.c (cli_interpreter_resume): Update the
cli_uiout's stream to gdb_stdout.

21 years ago2003-07-03 Andrew Cagney <cagney@redhat.com>
cagney [Thu, 3 Jul 2003 14:34:28 +0000 (14:34 +0000)]
2003-07-03  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Add
predicate.
* gdbarch.h, gdbarch.c: Re-generate.
* regcache.c (init_regcache_descr): Use legacy code when either
REGISTER_BYTE or REGISTER_RAW_SIZE is set.

21 years agomerge from gcc
dj [Thu, 3 Jul 2003 14:00:54 +0000 (14:00 +0000)]
merge from gcc

21 years ago * gdb.base/store.c (charest): New typedef.
drow [Thu, 3 Jul 2003 13:55:21 +0000 (13:55 +0000)]
* gdb.base/store.c (charest): New typedef.
(add_char): Rename to add_charest, update.
(wack_char): Rename to wack_charest, update types.  Return l + r
to keep r live across the call.
(wack_short, wack_int, wack_long, wack_longest, wack_float)
(wack_double, wack_doublest): Return l + r to keep r live across
the call.
* gdb.base/store.exp: Accomodate store.c changes.

21 years ago * mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
dannysmith [Thu, 3 Jul 2003 11:24:17 +0000 (11:24 +0000)]
* mingwex/math/trunc.c (trunc): Provide lvalue for memory input constraint.
* mingwex/math/truncf.c (truncf): Likewise.
* mingwex/math/truncl.c (truncl): Likewise.
* mingwex/math/modff.c (modff): Likewise.
* mingwex/math/modfl.c (modfl): Likewise.

21 years ago * include/search.h: New file.
dannysmith [Thu, 3 Jul 2003 07:50:52 +0000 (07:50 +0000)]
* include/search.h: New file.
* include/stdlib.h: Add comment about qsort, bsearch in
search.h.
* test_headers.c: Include search.h.
* moldname.def.in (lfind, lsearch): Add.

21 years ago * include/commdlg.h (CommDlg_OpenSave_*): Add parentheses around
infidel [Thu, 3 Jul 2003 02:19:01 +0000 (02:19 +0000)]
* include/commdlg.h (CommDlg_OpenSave_*): Add parentheses around
macro arguments. Thanks to Tom Bishop <tombishop@users.sf.net>.
* include/winuser.h (MONITOR_DEFAULTTONULL, MONITOR_DEFAULTTOPRIMARY,
MONITOR_DEFAULTTONEAREST, MONITORINFOF_PRIMARY): Add defines.
(TPM_RECURSE): Add guard for Win98/Win2K.
Thanks to Magnus Olsen <greatlord@users.sf.net>.

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

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

21 years ago2003-07-02 Martin Hunt <hunt@redhat.com>
hunt [Wed, 2 Jul 2003 22:19:29 +0000 (22:19 +0000)]
2003-07-02  Martin Hunt  <hunt@redhat.com>

* library/prefs.tcl (pref_set_option_db): Only
set checkbutton select color for Unix.  Fixes Windows
checkbutton problem.

21 years ago * include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
dannysmith [Wed, 2 Jul 2003 22:09:25 +0000 (22:09 +0000)]
* include/process.h (_execv, _execvp, _spawnv, _spawnvp, _execve,
_execvpe, _spawnve, _spawnvpe, execv, execvp, spawnv, spawnvp,
execve, execvpe, spawnve, spawnvpe): Const-ify all the char params.

21 years ago * NEWS: Move "set logging" entry into GDB 6.0 section.
drow [Wed, 2 Jul 2003 20:51:34 +0000 (20:51 +0000)]
* NEWS: Move "set logging" entry into GDB 6.0 section.

21 years ago2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 2 Jul 2003 20:32:07 +0000 (20:32 +0000)]
2003-07-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/types.h (int8_t): Make signed.

21 years ago* s390-tdep.c (struct frame_extra_info): new member:
jimb [Wed, 2 Jul 2003 19:20:55 +0000 (19:20 +0000)]
* s390-tdep.c (struct frame_extra_info): new member:
'stack_bought_valid'.
(s390_get_frame_info): Set fextra_info->stack_bought_valid if we
initialize fextra_info->stack_bought.
(s390_frameless_function_invocation): Don't trust the value of
fextra_info_ptr->stack_bought unless
fextra_info->stack_bought_valid is set.

21 years agoNew S390 prologue analyzer.
jimb [Wed, 2 Jul 2003 19:05:56 +0000 (19:05 +0000)]
New S390 prologue analyzer.
* s390-tdep.c (struct prologue_value, enum pv_boolean): New types.
(pv_set_to_unknown, pv_set_to_constant, pv_set_to_register,
pv_constant_last, pv_add, pv_add_constant, pv_subtract,
pv_logical_and, pv_is_identical, pv_is_register, pv_is_array_ref,
compute_x_addr, s390_on_stack, s390_store,
s390_get_signal_frame_info): New functions.
(S390_NUM_SPILL_SLOTS): New macro.
(s390_get_frame_info): Rewritten.
(is_arg_reg): Deleted.

Break out the decoding of S/390 instructions into separate
functions, to make it more legible, and easier to check
against the spec.
* s390-tdep.c (is_ri, is_ril, is_rr, is_rre, is_rs, is_rse,
is_rx, is_rxe): New functions.
(op1_aghi, op2_aghi, op1_ahi, op2_ahi, op_ar, op_basr, op1_bras,
op2_bras, op_l, op_la, op1_larl, op2_larl, op_lgr, op1_lghi,
op2_lghi, op1_lhi, op2_lhi, op_lr, op_nr, op_ngr, op_s, op_st,
op_std, op1_stg, op2_stg, op_stm, op1_stmg, op2_stmg, op_svc): New
enums for opcode values.  (Is this an improvement?)

21 years ago2003-06-24 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 2 Jul 2003 19:04:58 +0000 (19:04 +0000)]
2003-06-24  Michael Snyder  <msnyder@redhat.com>

* sim-main.h (SIM_WIFSTOPPED, SIM_WSTOPSIG): Define.
* compile.c (sim_resume): Use the above to return stop signal.

21 years ago2003-07-02 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 2 Jul 2003 17:34:20 +0000 (17:34 +0000)]
2003-07-02  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/include/mqueue.h: Add include of <sys/fcntl.h>.

21 years ago2003-07-02 Andrew Cagney <cagney@redhat.com>
cagney [Wed, 2 Jul 2003 17:20:24 +0000 (17:20 +0000)]
2003-07-02  Andrew Cagney  <cagney@redhat.com>

* i386-tdep.c: Revert change committed as part of trad-frame code
below.

21 years ago * breakpoint.c (insert_catchpoint): Make static.
drow [Wed, 2 Jul 2003 16:24:00 +0000 (16:24 +0000)]
* breakpoint.c (insert_catchpoint): Make static.

21 years ago * x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte
aj [Wed, 2 Jul 2003 07:45:57 +0000 (07:45 +0000)]
* x86-64-tdep.c (x86_64_push_arguments): Align stack to 16-byte
before the call.
Set %rax only to number of SSE registers used.

21 years ago * elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't allow _savef* and
amodra [Wed, 2 Jul 2003 07:41:51 +0000 (07:41 +0000)]
* elf64-ppc.c (ppc64_elf_func_desc_adjust): Don't allow _savef* and
_restf* to be satisfied by shared libs, and always force them local.
(toc_adjusting_stub_needed): Avoid scanning linker created sections.
Correct test for "bl".
(ppc64_elf_relocate_section <R_PPC64_TLS>): Correct test for
primary opcode 31.

21 years ago* thread.cc: Remove _MT_SAFE conditional.
cgf [Wed, 2 Jul 2003 03:50:05 +0000 (03:50 +0000)]
* thread.cc: Remove _MT_SAFE conditional.

21 years ago* configure.in: Add --enable-server option.
cgf [Wed, 2 Jul 2003 03:33:01 +0000 (03:33 +0000)]
* configure.in: Add --enable-server option.
* configure: Regenerate.

21 years agofix typo
cgf [Wed, 2 Jul 2003 03:32:04 +0000 (03:32 +0000)]
fix typo

21 years ago* configure.in: Fix --enable-server option.
cgf [Wed, 2 Jul 2003 03:29:40 +0000 (03:29 +0000)]
* configure.in: Fix --enable-server option.

21 years ago* Makefile.in: Remove cygserver stuff.
cgf [Wed, 2 Jul 2003 03:16:00 +0000 (03:16 +0000)]
* Makefile.in: Remove cygserver stuff.
* acconfig.h: Add USE_CYGSERVER define.
* config.h.in: Regenerate.
* configure.in: Add --enable-server setting.
* configure: Regenerate.
* fhandler_tty.cc (fhandler_tty_slave::open): Conditionalize compilation of
cygserver stuff.
* fork.cc (fork_child): Ditto.
* shm.cc: Ditto.
* tty.cc (tty::common_init): Ditto.
* dcrt0.cc: Use bool rather than BOOL for CYGWIN environment variable
definitions.
* environ.cc: Ditto.
* ntea.cc: Ditto.
* security.cc: Ditto.
* security.h: Ditto.
* syscalls.cc (check_posix_perm): Remove externs that were already declared in
a header.
* winsup.h: Ditto.  Declare _MT_SAFE here.  Delete it someday since cygwin
should always be _MT_SAFE.

21 years ago* Makefile.in (OBJS): Move some more files from cygwin directory.
cgf [Wed, 2 Jul 2003 02:31:32 +0000 (02:31 +0000)]
* Makefile.in (OBJS): Move some more files from cygwin directory.
* woutsup.h: Define _MT_SAFE.

21 years ago* Makefile.common (CFLAGS_COMMON): Remove -Winline since it is too noisy on
cgf [Wed, 2 Jul 2003 02:30:16 +0000 (02:30 +0000)]
* Makefile.common (CFLAGS_COMMON): Remove -Winline since it is too noisy on
newer versions of gcc.

21 years ago * gas/mips/set-arch.d: Fix GPR names and show raw insns.
ths [Wed, 2 Jul 2003 00:40:12 +0000 (00:40 +0000)]
* gas/mips/set-arch.d: Fix GPR names and show raw insns.

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