OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years agoUpdates for fixing tic4x arch tagging of its object files.
sveinse [Mon, 20 Jan 2003 22:34:38 +0000 (22:34 +0000)]
Updates for fixing tic4x arch tagging of its object files.

* bfd/coffcode.h (coff_set_flags): Added get/set arch hooks.
* include/coff/tic4x.h (TICOFF_TARGET_MACHINE_GET): Fixed define bug
* include/coff/ti.h (TICOFF_TARGET_MACHINE_GET): Added macros
* ld/Makefile.am: Added etic3xcoff.o and etic4xcoff_onchip.o
* ld/Makefile.in: Regenerate
* ld/configure.tgt: Added extra target emulations
* ld/emulparams/tic3xcoff.sh: Remove old settings
* ld/emulparams/tic4xcoff.sh: Ditto
* ld/emulparams/tic3xcoff-onchip.sh: Added new
* ld/scripttempl/tic4xcoff.sc: Revise and combine both c3x and c4x
* ld/scripttempl/tic3xcoff.sc: Remove

21 years agomerge from gcc
dj [Mon, 20 Jan 2003 19:03:56 +0000 (19:03 +0000)]
merge from gcc

21 years agoTreat elfNN_bed like other macros defined in elfxx-target.h and #undef it
nickc [Mon, 20 Jan 2003 18:06:21 +0000 (18:06 +0000)]
Treat elfNN_bed like other macros defined in elfxx-target.h and #undef it
before #define'ing it.

21 years ago2003-01-20 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 20 Jan 2003 15:40:07 +0000 (15:40 +0000)]
2003-01-20  Elena Zannoni  <ezannoni@redhat.com>

* gdb.arch/altivec-abi.exp: Set variable 'srcfile' differently, to
allow for different test tree configurations.  Update some
tescases accordingly.
* gdb.arch/altivec-regs.exp: Ditto.
* gdb.asm/asm-source.exp: Ditto.
* gdb.base/advance.exp: Ditto.
* gdb.base/display.exp: Ditto.
* gdb.base/long_long.exp: Ditto.
* gdb.base/mips_pro.exp: Ditto.
* gdb.base/overlays.exp: Ditto.
* gdb.base/relocate.exp: Ditto.
* gdb.base/setshow.exp: Ditto.
* gdb.base/step-line.exp: Ditto.
* gdb.base/step-test.exp: Ditto.
* gdb.base/until.exp: Ditto.
* gdb.c++/virtfunc.exp: Get rid of variable 'src'.

21 years ago* libc/include/sys/unistd.h: Add rresvport declaration for cygwin.
cgf [Mon, 20 Jan 2003 15:28:02 +0000 (15:28 +0000)]
* libc/include/sys/unistd.h: Add rresvport declaration for cygwin.

21 years ago * ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld.
amodra [Mon, 20 Jan 2003 12:57:58 +0000 (12:57 +0000)]
* ld-srec/srec.exp (run_srec_test): Pass --traditional-format to ld.

21 years ago * s390.h: Rename R_390_GOTOFF to R_390_GOTOFF32. Add new gotoff,
sky [Mon, 20 Jan 2003 11:51:38 +0000 (11:51 +0000)]
* s390.h: Rename R_390_GOTOFF to R_390_GOTOFF32. Add new gotoff,
gotplt and pltoff relocations.

21 years ago * gas/s390/reloc.d: Add tests for the new gotoff, gotplt and pltoff
sky [Mon, 20 Jan 2003 11:50:37 +0000 (11:50 +0000)]
* gas/s390/reloc.d: Add tests for the new gotoff, gotplt and pltoff
relocations.
* gas/s390/reloc.s: Likewise.
* gas/s390/reloc64.d: Likewise.
* gas/s390/reloc64.s: Likewise.

21 years ago * config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff,
sky [Mon, 20 Jan 2003 11:48:32 +0000 (11:48 +0000)]
* config/tc-s390.c (elf_suffix_type): Add suffix enums for gotoff,
gotplt and pltoff relocations.
(s390_elf_suffix): Add suffix strings for gotoff, gotplt and pltoff.
(s390_elf_cons): Map new lenght/elf suffix combinations for gotoff,
gotplt and pltoff to bfd relocations.
(md_gather_operands): Map new instruction operand/elf suffix
combinations to bfd relocations.
(tc_s390_fix_adjustable): Add new gotoff, gotplt and pltoff relocations
to the list of unadjustable relocations.
(tc_s390_force_relocation): Always emit relocations for gotoff, gotplt
and pltoff relocations.
(md_apply_fix3): Add the new relocations.

21 years ago * bfd-in2.h: Regenerate.
sky [Mon, 20 Jan 2003 11:46:33 +0000 (11:46 +0000)]
* bfd-in2.h: Regenerate.
* elf32-s390.c (elf_s390_adjust_gotplt): New prototype.
(elf_howto_table): Rename R_390_GOTOFF to R_390_GOTOFF32. Add
R_390_GOTOFF16, R_390_GOTOFF64, R_390_GOTPLT12, R_390_GOTPLT16,
R_390_GOTPLT32, R_390_GOTPLT64, R_390_GOTPLTENT, R_390_PLTOFF16,
R_390_PLTOFF32 and R_390_PLTOFF64.
(elf_s390_reloc_type_lookup): Likewise.
(struct elf_s390_link_hash_entry): Add gotplt_refcount to keep track
of GOTPLT references to a function.
(link_hash_newfunc): Initialize gotplt_refcount.
(elf_s390_check_relocs): Move allocation of local_got_refcounts array
and creation of the got section out of the main switch. Add support
for the gotoff, gotplt and pltoff relocations.
(elf_s390_gc_sweep_hook): Add reference counting for gotoff, gotplt
and pltoff.
(elf_s390_adjust_gotplt): New function.
(elf_s390_adjust_dynamic_symbol): Adjust gotplt refcount for removed
plt entries.
(allocate_dynrelocs): Add comment.
(elf_s390_relocate_section): Change r_type to unsigned. Add support
for gotoff, gotplt and pltoff relocations.
* elf64-s390.c: Same changes as for elf32-s390.c.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_390_GOTOFF64, BFD_RELOC_390_GOTPLT12,
BFD_RELOC_390_GOTPLT16, BFD_RELOC_390_GOTPLT32, BFD_RELOC_390_GOTPLT64,
BFD_RELOC_390_GOTPLTENT, BFD_RELOC_390_PLTOFF16, BFD_RELOC_390_PLTOFF32
and BFD_RELOC_390_PLTOFF64.

21 years ago * bfd-in2.h: Regenerate.
sky [Mon, 20 Jan 2003 11:44:47 +0000 (11:44 +0000)]
* bfd-in2.h: Regenerate.
* elf32-s390.c (elf_s390_adjust_gotplt): New prototype.
(elf_howto_table): Rename R_390_GOTOFF to R_390_GOTOFF32. Add
R_390_GOTOFF16, R_390_GOTOFF64, R_390_GOTPLT12, R_390_GOTPLT16,
R_390_GOTPLT32, R_390_GOTPLT64, R_390_GOTPLTENT, R_390_PLTOFF16,
R_390_PLTOFF32 and R_390_PLTOFF64.
(elf_s390_reloc_type_lookup): Likewise.
(struct elf_s390_link_hash_entry): Add gotplt_refcount to keep track
of GOTPLT references to a function.
(link_hash_newfunc): Initialize gotplt_refcount.
(elf_s390_check_relocs): Move allocation of local_got_refcounts array
and creation of the got section out of the main switch. Add support
for the gotoff, gotplt and pltoff relocations.
(elf_s390_gc_sweep_hook): Add reference counting for gotoff, gotplt
and pltoff.
(elf_s390_adjust_gotplt): New function.
(elf_s390_adjust_dynamic_symbol): Adjust gotplt refcount for removed
plt entries.
(allocate_dynrelocs): Add comment.
(elf_s390_relocate_section): Change r_type to unsigned. Add support
for gotoff, gotplt and pltoff relocations.
* elf64-s390.c: Same changes as for elf32-s390.c.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_390_GOTOFF64, BFD_RELOC_390_GOTPLT12,
BFD_RELOC_390_GOTPLT16, BFD_RELOC_390_GOTPLT32, BFD_RELOC_390_GOTPLT64,
BFD_RELOC_390_GOTPLTENT, BFD_RELOC_390_PLTOFF16, BFD_RELOC_390_PLTOFF32
and BFD_RELOC_390_PLTOFF64.

21 years ago * config/tc-s390.c (md_apply_fix3): Emit error message for relocations
sky [Mon, 20 Jan 2003 10:22:24 +0000 (10:22 +0000)]
    * config/tc-s390.c (md_apply_fix3): Emit error message for relocations
        with a subsy symbol.

21 years ago* pwdgrp.h (etc): Move to path.h.
cgf [Mon, 20 Jan 2003 02:57:53 +0000 (02:57 +0000)]
* pwdgrp.h (etc): Move to path.h.
(pwdgrp::max_lines): New field.
(pwdgrp::curr_lines): New field.
(pwdgrp::pwdgrp_buf): Ditto.
(pwdgrp_buf_elem_size): Ditto.
(pwdgrp_parse): Ditto.
(pwdgrp::gets): Just declare here.
(pwdgrp::load): Ditto.  Just take one argument.
(pwdgrp::load): Define overloaded function accepting passwd buf.
(pwdgrp::load): Define overloaded function accepting group buf.
* grp.cc: Use pwdgrp elements rather than standalone static variables
throughout.
(curr_lines): Eliminate.
(max_lines): Ditto.
(add_grp_line): Ditto.
(parse_grp): Define as returning boolean.  Accept void * arg and line count.
Coerce first argument into __group32 buf reference.  Increment curr_line as
appropriate.
(read_etc_group): Pass pwdgrp buffer to gr.load.
* passwd.cc: Use pwdgrp elements rather than standalone static variables
throughout.
(curr_lines): Eliminate.
(max_lines): Ditto.
(add_grp_line): Ditto.
(parse_passwd): Define as returning boolean.  Accept void * arg and line count.
Coerce first argument into passwd buf reference.  Increment curr_line as
appropriate.
(read_etc_group): Pass pwdgrp buffer to pr.load.
* path.cc (etc::fn): Extend buffer size to allow index by 1 rather than zero.
(etc::last_modified): Ditto.
(etc::change_possible): Ditto.  Renamed from sawchange.  Change to signed char
since elements are now tri-state.
(etc::init): Assume "handle" is 1 based rather than 0.
(etc::test_file_change): New function.  Sets change_possible based on file date
comparison.
(etc::dir_changed): Check file states immediately after changed_h is
initialized to avoid a race.
(etc::file_changed): Use test_file_change to detect if file needs to be
updated.
* path.h (etc): Move class here from pwdgrp.h.
* uinfo.cc: Move etc:: functions to path.cc.  Move pwdgrp functions here.
(pwdgrp::gets): Eliminate buf checks.  Just check eptr and set lptr.
(pwdgrp::add_line): New function.
(pwdgrp::load): Call generic add_line function which will call correct parser.

21 years ago2003-01-19 Andrew Cagney <ac131313@redhat.com>
cagney [Mon, 20 Jan 2003 01:01:46 +0000 (01:01 +0000)]
2003-01-19  Andrew Cagney  <ac131313@redhat.com>

* config/pa/tm-hppa.h (DEPRECATED_DO_REGISTERS_INFO): Rename
DEPRECATED_REGISTERS_INFO.

21 years ago2003-01-19 Andrew Cagney <ac131313@redhat.com>
cagney [Mon, 20 Jan 2003 00:46:42 +0000 (00:46 +0000)]
2003-01-19  Andrew Cagney  <ac131313@redhat.com>

* MAINTAINERS: Replace `Blanket Write Privs' with `Global
Maintainers'.  Update `Various Maintainers'.

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

21 years ago * configure.in: Add missing \.
neroden [Sun, 19 Jan 2003 23:45:38 +0000 (23:45 +0000)]
* configure.in: Add missing \.
* configure: Rebuilt.

21 years ago2003-01-19 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 19 Jan 2003 23:27:27 +0000 (23:27 +0000)]
2003-01-19  Andrew Cagney  <ac131313@redhat.com>

* frame.c (frame_saved_regs_pop): Assert POP_FRAME_P.
* gdbarch.sh (POP_FRAME): Change to function with predicate.
Suppress actual parameters when `-'.
* gdbarch.h, gdbarch.c: Regenerate.

21 years ago2003-01-19 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 19 Jan 2003 22:24:50 +0000 (22:24 +0000)]
2003-01-19  Andrew Cagney  <ac131313@redhat.com>

* d10v-tdep.c (d10v_frame_saved_pc, d10v_frame_chain): Restore
code handling dummy frames.

21 years ago2003-01-19 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 19 Jan 2003 17:39:15 +0000 (17:39 +0000)]
2003-01-19  Andrew Cagney  <ac131313@redhat.com>

* frame-unwind.h (frame_unwind_pop_ftype): Declare.
(struct frame_unwind): Add field pop.
* frame.h (frame_pop): Declare.
* frame.c (frame_saved_regs_pop): New function.
(trad_frame_unwinder): Add frame_saved_regs_pop.
(frame_pop): New function.
* dummy-frame.c (dummy_frame_pop): New function.
(discard_innermost_dummy): New function.
(generic_pop_dummy_frame): Use discard_innermost_dummy.
(dummy_frame_unwind): Add dummy_frame_pop.
* infrun.c (normal_stop): Call frame_pop instead of POP_FRAME.
* valops.c (hand_function_call): Ditto.
* stack.c (return_command): Ditto.

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

21 years ago2003-01-18 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 19 Jan 2003 04:06:45 +0000 (04:06 +0000)]
2003-01-18  Andrew Cagney  <ac131313@redhat.com>

* cris-tdep.c: Fix function declaration indentation.
* dwarfread.c, gdbcore.h, gdbtypes.h, i386v-nat.c: Ditto.
* mips-tdep.c, monitor.h, parse.c, proc-utils.h: Ditto.
* rs6000-nat.c, ser-go32.c, somread.c, stabsread.c: Ditto.
* symfile.h, symtab.h, target.c, target.h, value.h: Ditto.
* xcoffread.c, config/pa/tm-hppa.h: Ditto.
* config/sparc/tm-sp64.h, config/sparc/tm-sparc.h: Ditto.

21 years agodaily update
amodra [Sat, 18 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2003-01-16 Michael Chastain <mec@shout.net>
chastain [Sat, 18 Jan 2003 17:43:14 +0000 (17:43 +0000)]
2003-01-16  Michael Chastain  <mec@shout.net>

* README (Unpacking and Installation -- quick overview):
Warn against ".../gdb-5.3/gdb/configure".

21 years ago2003-01-16 Michael Chastain <mec@shout.net>
chastain [Sat, 18 Jan 2003 17:41:34 +0000 (17:41 +0000)]
2003-01-16  Michael Chastain  <mec@shout.net>

* gdb.texinfo (Installing GDB): Warn against
".../gdb-VERSION/gdb/configure".
(Separate Objdir): Likewise.

21 years ago2003-01-18 Andrew Cagney <ac131313@redhat.com>
cagney [Sat, 18 Jan 2003 17:25:22 +0000 (17:25 +0000)]
2003-01-18  Andrew Cagney  <ac131313@redhat.com>

* dummy-frame.h (dummy_frame_id_unwind): Delete declaration.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
(struct frame_unwind): Declare opaque.
(dummy_frame_p): Declare function.
* dummy-frame.c (dummy_frame_id_unwind): Make static.
(dummy_frame_pc_unwind, dummy_frame_register_unwind): Ditto.
* dummy-frame.c: Include "frame-unwind.h".
(dummy_frame_p): New function.
(dummy_frame_unwind): New variable.
* frame.c: Include "frame-unwind.h".
(frame_pc_unwind, frame_id_unwind, frame_register_unwind): Update
to use the new unwind field.
(set_unwind_by_pc): Delete function.
(create_new_frame, get_prev_frame): Set unwind field using
frame_unwind_find_by_pc.
(trad_frame_unwind, trad_frame_unwinder): New variables.
* frame.h (trad_frame_unwind): Declare variable.
(frame_id_unwind_ftype): Delete declaration.
(frame_pc_unwind_ftype, frame_register_unwind_ftype): Ditto.
(struct frame_unwind): Declare opaque.
(struct frame_info): Replace the fields id_unwind, pc_unwind and
register_unwind with a single unwind pointer.
* frame-unwind.h, frame-unwind.c: New files.
* Makefile.in (SFILES): Add frame-unwind.c.
(frame_unwind_h): Define.
(COMMON_OBS): Add frame-unwind.o.
(frame-unwind.o): Specify dependencies.
(frame.o, dummy-frame.o): Update dependencies.

21 years ago2003-01-18 Andrew Cagney <ac131313@redhat.com>
cagney [Sat, 18 Jan 2003 15:55:51 +0000 (15:55 +0000)]
2003-01-18  Andrew Cagney  <ac131313@redhat.com>

* ada-valprint.c: Eliminate PTR.
* breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
* defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
* exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
* objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
* remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
* solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
* symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.

21 years agoDefine __IEEE_BIG_ENDIAN, __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.
nickc [Sat, 18 Jan 2003 08:55:07 +0000 (08:55 +0000)]
Define __IEEE_BIG_ENDIAN, __SMALL_BITFIELDS and _DOUBLE_IS_32BITS for IP2K.

21 years agofix typo
cgf [Sat, 18 Jan 2003 03:43:48 +0000 (03:43 +0000)]
fix typo

21 years ago* cygheap.cc: Change most 'int's to 'unsigned's.
cgf [Sat, 18 Jan 2003 03:26:05 +0000 (03:26 +0000)]
* cygheap.cc: Change most 'int's to 'unsigned's.
(_cmalloc): Only check for size of malloced region when calculating budget.
Add overhead when performing the sbrk.  Previous change broke _crealloc.

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

21 years ago * alpha-opc.c (alpha_opcodes): Add bugchk, rduniq, wruniq, gentrap
rth [Fri, 17 Jan 2003 23:43:20 +0000 (23:43 +0000)]
    * alpha-opc.c (alpha_opcodes): Add bugchk, rduniq, wruniq, gentrap
        PAL entry points.

21 years ago * elfxx-ia64.c (elfNN_ia64_relocate_section): Handle
jakub [Fri, 17 Jan 2003 23:27:55 +0000 (23:27 +0000)]
* elfxx-ia64.c (elfNN_ia64_relocate_section): Handle
R_IA64_TPREL64[LM]SB against non-global symbol properly.

* ld-ia64/tlspic1.s: Add tests for IE in shared libraries.
* ld-ia64/tlspic.rd: Adjust.
* ld-ia64/tlspic.dd: Adjust.
* ld-ia64/tlspic.sd: Adjust.

21 years agodaily update
amodra [Fri, 17 Jan 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago * config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
ciceron [Fri, 17 Jan 2003 22:51:27 +0000 (22:51 +0000)]
* config/tc-m68hc11.c (tc_m68hc11_fix_adjustable): Prevent adjustment
of relocs for memory bank addressing.

21 years ago * config/tc-m68hc11.c (md_show_usage): Update usage.
ciceron [Fri, 17 Jan 2003 22:29:52 +0000 (22:29 +0000)]
* config/tc-m68hc11.c (md_show_usage): Update usage.
(md_parse_option): Recognize -m68hcs12.
(m68hc11_elf_final_processing): Set EF_M68HCS12_MACH flag to identify
HCS12.
* doc/as.texinfo (Overview): Document new option -m68hcs12.

21 years ago2003-01-17 David Carlton <carlton@math.stanford.edu>
carlton [Fri, 17 Jan 2003 20:24:49 +0000 (20:24 +0000)]
2003-01-17  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/demangle.exp (test_lucid_style_demangling): KFAIL test
corresponding to PR c++/945.
Update copyright.

21 years ago * configure.in (mips64*linux*n64, mips64*linux*n32, mips64*linux*o32):
kevinb [Fri, 17 Jan 2003 20:05:33 +0000 (20:05 +0000)]
* configure.in (mips64*linux*n64, mips64*linux*n32, mips64*linux*o32):
Remove cases.  Instead, use compiler's preprocessor symbols to test
which ABI is being used.
* configure: Regenerate.

21 years ago2003-01-17 David Carlton <carlton@math.stanford.edu>
carlton [Fri, 17 Jan 2003 19:24:15 +0000 (19:24 +0000)]
2003-01-17  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/inherit.exp (test_print_mi_members): KFAIL tests
corresponding to PR c++/68.

(and fix date of previous ChangeLog entry; oops.)

21 years ago2003-01-16 David Carlton <carlton@math.stanford.edu>
carlton [Fri, 17 Jan 2003 19:22:27 +0000 (19:22 +0000)]
2003-01-16  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/cplusfuncs.exp (print_addr_2_kfail): New procedure.
(test_paddr_hairy_functions): Call print_addr_2_kfail for
hairyfunc5 through hairyfunc7.  KFAIL for PR c++/19.

21 years ago2003-01-17 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 17 Jan 2003 19:12:17 +0000 (19:12 +0000)]
2003-01-17  Andrew Cagney  <ac131313@redhat.com>

* main.c (captured_main): Don't use PTR.
* cp-valprint.c (cp_print_class_method): Replace STREQ with strcmp.
* gdbtypes.c (lookup_primitive_typename): Ditto.
(lookup_struct_elt_type): Ditto.
* f-valprint.c (info_common_command): Ditto.
(list_all_visible_commons): Ditto.
* jv-typeprint.c (java_type_print_base): Ditto.

21 years ago* dcrt0.cc (initialize_env): Use colon for CYGWIN_DEBUG separator.
cgf [Fri, 17 Jan 2003 18:05:32 +0000 (18:05 +0000)]
* dcrt0.cc (initialize_env): Use colon for CYGWIN_DEBUG separator.
* grp.cc: Change most statics to NO_COPY throughout.
* passwd.cc: Ditto.
* pwdgrp.h: Change some BOOLs to bools.
(pwdgrp::pwdgrp): Remove unneeded constructor.
* passwd.cc: Change BOOL to bool throughout.

21 years ago2003-01-17 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 17 Jan 2003 16:56:50 +0000 (16:56 +0000)]
2003-01-17  Andrew Cagney  <ac131313@redhat.com>

* config/djgpp/fnchange.lst: Rename mi1-var-block.exp,
mi1-var-child.exp, mi1-var-cmd.exp and mi1-var-display.exp.
Rename opcodes/iq2000-desc.c and opcodes/iq2000-dis.c.  Rename
i386-interix-nat.c and i386-interix-tdep.c.  Rename
m68klinux-nat.c and m68klinux-tdep.c.  Rename
config/mips/tm-linux.h and config/mips/tm-linux64.h.  Rename
bfd/po/.cvsignore and opcodes/po/.cvsignore.  Rename
gdb/objc-exp.tab.c and gdb/ada-exp.tab.c
* main.c (captured_main): Use xfree, not free.

21 years ago * cygwin.din: Add strerror_r.
corinna [Fri, 17 Jan 2003 13:08:04 +0000 (13:08 +0000)]
* cygwin.din: Add strerror_r.
* include/cygwin/version.h: Bump API minor number.

21 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
aj [Fri, 17 Jan 2003 10:36:49 +0000 (10:36 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_add_sysroot): Do not
skip ':'.

21 years ago * configure.in (baseargs): Avoid using \| in sed regular
jakub [Fri, 17 Jan 2003 08:00:15 +0000 (08:00 +0000)]
* configure.in (baseargs): Avoid using \| in sed regular
expressions.
* configure: Rebuilt.

21 years agoupdate copyright
cgf [Fri, 17 Jan 2003 05:43:43 +0000 (05:43 +0000)]
update copyright

21 years agoupdate copyright
cgf [Fri, 17 Jan 2003 05:41:15 +0000 (05:41 +0000)]
update copyright

21 years agowhitespace
cgf [Fri, 17 Jan 2003 05:33:52 +0000 (05:33 +0000)]
whitespace

21 years agocorrect pwdgroup::load entry
cgf [Fri, 17 Jan 2003 05:29:23 +0000 (05:29 +0000)]
correct pwdgroup::load entry

21 years ago* uinfo.cc (etc::dir_changed): Don't print a warning if can't open /etc, unless
cgf [Fri, 17 Jan 2003 05:24:27 +0000 (05:24 +0000)]
* uinfo.cc (etc::dir_changed): Don't print a warning if can't open /etc, unless
debugging.

21 years ago* grp.cc (read_etc_group): On NT, add a line for gid = -1. Change name
cgf [Fri, 17 Jan 2003 05:18:29 +0000 (05:18 +0000)]
* grp.cc (read_etc_group): On NT, add a line for gid = -1.  Change name
"unknown" to "mkgroup".
(internal_getgrgid): Do not return default in nontsec case.
(internal_getgroups): Add argument srchsid and look for it in groups if not
NULL.
* passwd.cc (read_etc_passwd): On NT, add a line for uid = -1.  Use same
default uid for Win95 and NT.  Call cygheap_user::ontherange to initialize
HOME.
* cygheap.cc (init_cygheap::etc_changed): Move to uinfo.cc.
* cygheap.h (init_cygheap::etc_changed_h): Remove.
(init_cygheap::etc_changed): Ditto.
* grp.cc (group_state): Remove.  Use gr instead throughout.
(gr): Define as class pwdgrp.
(read_etc_group): Remove gr definition.  Remove calls to set_last_modified and
close.  Pass add_grp to gr.load to load file.
* passwd.cc (passwd_state): Remove.  Use pr instead, throughout.
(pr): Define as class pwdgrp.
(read_etc_passwd): Remove pr definition.  Remove calls to set_last_modified and
close.  Pass add_pwd_line to pr.load to load file.
* pwdgrp.h (etc): New helper class for pwdgrp.
(pwdgrp): Combine pwdgrp_check and pwdgrp_read into one class.  Remove file_w32
and last_modified fields.
(pwdgrp::set_last_modified): Remove.
(pwdgrp::isinitializing): Remove FindFirstFile stuff.  Move to
etc::file_changed.
(pwdgrp::load): Rename from 'open'.  Call etc::init to initialize etc scanning.
Close file handle after reading buffer into memory.  Parse buffer by calling
second argument.
(pwdgrp::gets): Reorganize slightly to rely on eptr starting at beginning of
buffer.  Free buffer when memory exhausted.
(pwdgrp::close): Remove.
* uinfo.cc (etc::dir_changed): New function.
(etc::init): Ditto.
(etc::file_changed): Ditto.
(etc::set_last_modified): Ditto.

21 years ago * readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
amodra [Fri, 17 Jan 2003 01:34:01 +0000 (01:34 +0000)]
* readelf.c (get_osabi_name): Handle ELFOSABI_AROS, ELFOSABI_OPENVMS
and ELFOSABI_NSK.

21 years agomissed changelog entry
amodra [Fri, 17 Jan 2003 01:33:13 +0000 (01:33 +0000)]
missed changelog entry

21 years ago * common.h: Formatting, typo fixes.
amodra [Fri, 17 Jan 2003 01:32:46 +0000 (01:32 +0000)]
* common.h: Formatting, typo fixes.
(DT_ENCODING): Correct value.

* common.h (ELFOSABI_AROS): Define.
(ELFOSABI_OPENVMS): Likewise.
(ELFOSABI_NSK): Likewise.

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

21 years agodaily update
amodra [Thu, 16 Jan 2003 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2003-01-16 Joel Sherrill <joel@OARcorp.com>
jjohnstn [Thu, 16 Jan 2003 22:37:51 +0000 (22:37 +0000)]
2003-01-16  Joel Sherrill <joel@OARcorp.com>

        * libc/sys/rtems/include/limits.h, libc/sys/rtems/sys/param.h,
        libc/sys/rtems/sys/syslimits.h: Update to be in sync with what
        constants are defined in each file in the shared versions in
        libc/include.
        * libc/sys/rtems/crt0.c: Define extra symbols on SH and HP-PA to
        autoconf can link programs.
        * libc/include/machine/types.h: Explicitly specify signed on
        intXX_t types to ensure they are signed.

21 years ago * elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add
jakub [Thu, 16 Jan 2003 21:31:09 +0000 (21:31 +0000)]
* elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add
self_dtpmod_done and self_dtpmod_offset.
(allocate_global_data_got): Only use one got entry for all
dtpmod relocs against local symbols.
(allocate_dynrel_entries): Only need .rela.got entry for
dtpmod against global symbol.
(elfNN_ia64_size_dynamic_sections): Initialize self_dtpmod_offset.
Reserve space in .rela.got for the local dtpmod entry.
(set_got_entry): Initialize the common local dtpmod .got entry.
(elfNN_ia64_relocate_section): Handle R_IA_64_DTPREL64LSB
and R_IA_64_DTPREL64MSB.

* config/tc-ia64.c (ia64_cons_fix_new): Handle @dtprel() in data.

* ld-ia64/ia64.exp: New.
* ld-ia64/tlsbin.dd: New test.
* ld-ia64/tlsbinpic.s: New test.
* ld-ia64/tlsbin.rd: New test.
* ld-ia64/tlsbin.s: New test.
* ld-ia64/tlsbin.sd: New test.
* ld-ia64/tlsbin.td: New test.
* ld-ia64/tlsg.s: New test.
* ld-ia64/tlsg.sd: New test.
* ld-ia64/tlslib.s: New test.
* ld-ia64/tlspic1.s: New test.
* ld-ia64/tlspic2.s: New test.
* ld-ia64/tlspic.dd: New test.
* ld-ia64/tlspic.rd: New test.
* ld-ia64/tlspic.sd: New test.
* ld-ia64/tlspic.td: New test.

21 years agoMissed one...
msnyder [Thu, 16 Jan 2003 20:03:30 +0000 (20:03 +0000)]
Missed one...

21 years ago2003-01-16 Michael Snyder <msnyder@redhat.com>
msnyder [Thu, 16 Jan 2003 19:54:34 +0000 (19:54 +0000)]
2003-01-16  Michael Snyder  <msnyder@redhat.com>

* compile.c: Change K&R function definitions to ISO.
(fetch): Make static, and eliminate unused parameter 'n'.

21 years ago * config.in (LIBTHREAD_DB_SO): New macro.
kevinb [Thu, 16 Jan 2003 18:20:18 +0000 (18:20 +0000)]
* config.in (LIBTHREAD_DB_SO): New macro.
* configure.in (mips64*linux*): Remove no-threads.o from
TARGET_MODULES list.  Add thread-db.o to this list.
* configure: Regenerate.

21 years ago * lib/gdbserv-state.c (do_status_packet, gdbserv_data_packet): Fix
kevinb [Thu, 16 Jan 2003 17:28:31 +0000 (17:28 +0000)]
* lib/gdbserv-state.c (do_status_packet, gdbserv_data_packet): Fix
memset() calls - the arguments were in the wrong order.
(gdbserv_data_packet): Check return value from get_reg() call.

21 years ago2003-01-16 Andrew Cagney <ac131313@redhat.com>
cagney [Thu, 16 Jan 2003 16:54:51 +0000 (16:54 +0000)]
2003-01-16  Andrew Cagney  <ac131313@redhat.com>

* frame.h (frame_id_unwind_ftype): Change type so that the frame's
ID back using a parameter.
* frame.c (frame_id_unwind): Update call.
(frame_saved_regs_id_unwind): Update.
* dummy-frame.c (dummy_frame_id_unwind): Update function.
* dummy-frame.h (struct frame_id): Add opaque declaration.
(dummy_frame_id_unwind): Update declaration.

21 years ago * configure.in (baseargs): Remove all supported forms of
jakub [Thu, 16 Jan 2003 16:27:47 +0000 (16:27 +0000)]
* configure.in (baseargs): Remove all supported forms of
--cache-file, --srcdir, --host, --build and --target options
from argument lists.
* configure: Rebuilt.

21 years ago * configure.in (baseargs): Remove all supported forms of
jakub [Thu, 16 Jan 2003 16:27:29 +0000 (16:27 +0000)]
* configure.in (baseargs): Remove all supported forms of
--cache-file, --srcdir, --host, --build and --target options
from argument lists.
* configure: Rebuilt.

21 years ago * mmap.cc (fixup_mmaps_after_fork): Add ERROR_NOACCESS to the list of
corinna [Thu, 16 Jan 2003 14:11:09 +0000 (14:11 +0000)]
* mmap.cc (fixup_mmaps_after_fork): Add ERROR_NOACCESS to the list of
ReadProcessMemory() error codes that trigger a retry with temporary
PAGE_READONLY access.  Note that this can occur on NT 4.0.

21 years ago * Makefile.in: Regenerate.
amodra [Thu, 16 Jan 2003 04:11:53 +0000 (04:11 +0000)]
* Makefile.in: Regenerate.

21 years ago * Makefile.am: Run "make dep-am".
amodra [Thu, 16 Jan 2003 04:11:35 +0000 (04:11 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

21 years ago * Makefile.am: Run "make dep-am".
amodra [Thu, 16 Jan 2003 04:11:04 +0000 (04:11 +0000)]
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/POTFILES.in: Regenerate.

21 years ago * readelf.c: Include elf/ppc64.h.
amodra [Thu, 16 Jan 2003 04:10:22 +0000 (04:10 +0000)]
* readelf.c: Include elf/ppc64.h.
(dump_relocations <EM_PPC64>): Use elf_ppc64_reloc_type.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.

21 years ago * elf64-ppc.c: Include elf/ppc64.h rather than elf/ppc.h.
amodra [Thu, 16 Jan 2003 04:09:34 +0000 (04:09 +0000)]
* elf64-ppc.c: Include elf/ppc64.h rather than elf/ppc.h.
(R_PPC_*): Rename all occurrences to R_PPC64_*.
(R_PPC64_ADDR30): Rename all occurrences to R_PPC64_REL30.
(enum elf_ppc_reloc_type): Ditto to enum elf_ppc64_reloc_type.
(ppc64_elf_gc_sweep_hook): Handle R_PPC64_REL30 along with other
relative relocs, not with absolute ones.
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerate.
* po/SRC-POTFILES.in: Regenerate.

21 years ago * ppc.h: Split out ppc64 definitions to..
amodra [Thu, 16 Jan 2003 04:08:46 +0000 (04:08 +0000)]
* ppc.h: Split out ppc64 definitions to..
* pcc64.h: ..here.  New file.
(R_PPC64_REL30): Rename from R_PPC64_ADDR30.

21 years agoremove errnoneously added files
cgf [Thu, 16 Jan 2003 01:57:08 +0000 (01:57 +0000)]
remove errnoneously added files

21 years ago2003-01-15 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 16 Jan 2003 01:56:15 +0000 (01:56 +0000)]
2003-01-15  Elena Zannoni  <ezannoni@redhat.com>

* gdb.base/break.exp: Fix change of default location, because of
removal of until tests.
* gdb.base/help.exp: Update test for new 'until' help message.
Add test for help on 'advance'.

21 years agoremove errnoneously added files
cgf [Thu, 16 Jan 2003 01:55:51 +0000 (01:55 +0000)]
remove errnoneously added files

21 years ago* path.cc (normalize_posix_path): Convert win32 path separators to slashes when
cgf [Thu, 16 Jan 2003 01:49:14 +0000 (01:49 +0000)]
* path.cc (normalize_posix_path): Convert win32 path separators to slashes when
full path is specified.

21 years agomerge from trunk
cgf [Thu, 16 Jan 2003 01:27:30 +0000 (01:27 +0000)]
merge from trunk

21 years ago2003-01-15 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Thu, 16 Jan 2003 01:13:17 +0000 (01:13 +0000)]
2003-01-15  Elena Zannoni  <ezannoni@redhat.com>

        * gdb.base/args.exp: Fix foobar with GDBFLAGS global.

21 years ago*** empty log message ***
gdbadmin [Thu, 16 Jan 2003 00:00:04 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Wed, 15 Jan 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years agoAdded a period under at the end of the comment and fixed the date.
ssmith [Wed, 15 Jan 2003 21:06:33 +0000 (21:06 +0000)]
Added a period under at the end of the comment and fixed the date.

21 years ago003-01-15 Dave Brolley <brolley@redhat.com>
brolley [Wed, 15 Jan 2003 20:04:56 +0000 (20:04 +0000)]
003-01-15  Dave Brolley  <brolley@redhat.com>

        * compCGEN.cxx (cgen_bi_endian_cpu): Don't initialize trace_count.
        (trace_counter): Use total_insn_count and total_latency.
        * cgen-cpu.h (class cgen_bi_endian_cpu): Remove trace_count.

21 years ago2003-01-15 Dave Brolley <brolley@redhat.com>
brolley [Wed, 15 Jan 2003 20:03:34 +0000 (20:03 +0000)]
2003-01-15  Dave Brolley  <brolley@redhat.com>

        * sidcpuutil.h (sidutil): Add total_insn_count when computing
        simulated cycles.

21 years ago2003-01-15 Andrew Cagney <ac131313@redhat.com>
cagney [Wed, 15 Jan 2003 19:35:23 +0000 (19:35 +0000)]
2003-01-15  Andrew Cagney  <ac131313@redhat.com>

* sparc-tdep.c: Delete reference to PRINT_REGISTER_HOOK.

Index: doc/ChangeLog
2003-01-15  Andrew Cagney  <ac131313@redhat.com>

* gdbint.texinfo (Target Architecture Definition): Delete
definition of PRINT_REGISTER_HOOK.

21 years ago* libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU extensions.
cgf [Wed, 15 Jan 2003 18:52:01 +0000 (18:52 +0000)]
* libc/time/strftime.c (strftime): Add '%h' and '%l, %k' GNU extensions.

21 years ago2003-01-15 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 15 Jan 2003 17:57:37 +0000 (17:57 +0000)]
2003-01-15  Elena Zannoni  <ezannoni@redhat.com>

(OpenRISC 1000): Fix formatting of command names.

21 years ago* gdb.base/default.exp: Adapt "info float" test for recent changes
kettenis [Wed, 15 Jan 2003 17:46:18 +0000 (17:46 +0000)]
* gdb.base/default.exp: Adapt "info float" test for recent changes
to that command.  Add test for "info vector".
* gdb.base/float.exp: New file.  Add test for "info float" that
resembles the old test in gdb.base/default.exp.

21 years ago2003-01-15 David Carlton <carlton@math.stanford.edu>
carlton [Wed, 15 Jan 2003 17:32:41 +0000 (17:32 +0000)]
2003-01-15  David Carlton  <carlton@math.stanford.edu>

* gdb.base/selftest.exp (do_steps_and_nexts): Allow gdb_sysroot.

21 years ago* cmalloc.cc (_cmalloc): Fix memory leak.
cgf [Wed, 15 Jan 2003 17:27:18 +0000 (17:27 +0000)]
* cmalloc.cc (_cmalloc): Fix memory leak.

21 years ago * elf32-ppc.c (ppc_elf_check_relocs): Don't set DF_TEXTREL for a
schwab [Wed, 15 Jan 2003 15:54:50 +0000 (15:54 +0000)]
* elf32-ppc.c (ppc_elf_check_relocs): Don't set DF_TEXTREL for a
relocation against a non-allocated readonly section.

21 years agoUpdated the email address for Stephen P. Smith
ssmith [Wed, 15 Jan 2003 15:54:04 +0000 (15:54 +0000)]
Updated the email address for Stephen P. Smith

21 years ago2003-01-15 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 15 Jan 2003 14:31:58 +0000 (14:31 +0000)]
2003-01-15  Elena Zannoni  <ezannoni@redhat.com>

* gdb.texinfo (Continuing and Stepping): Add new command
'advance'. Clarify behavior of 'until'.

21 years ago2003-01-15 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 15 Jan 2003 14:25:09 +0000 (14:25 +0000)]
2003-01-15  Elena Zannoni  <ezannoni@redhat.com>

* gdb.base/break.exp: Move the tests of until command from here...
* gdb.base/until.exp: ... to here. New file. Add other tests.
* gdb.base/advance.c: New file.
* gdb.base/advance.exp: New file.

21 years ago* configure.in (noconfigdirs): Don't skip gas on IRIX 6.
aoliva [Wed, 15 Jan 2003 11:24:46 +0000 (11:24 +0000)]
* configure.in (noconfigdirs): Don't skip gas on IRIX 6.
* configure: Rebuilt.

21 years ago * autoload.cc: Fix copyright date.
corinna [Wed, 15 Jan 2003 10:21:22 +0000 (10:21 +0000)]
* autoload.cc: Fix copyright date.
* fhandler_dsp.cc: Ditto.
* mmap.cc: Ditto.
* net.cc: Ditto.
* ntdll.h: Ditto.
* signal.cc: Ditto.
* syscalls.cc: Ditto.
* uname.cc: Ditto.
* wait.cc: Ditto.

21 years ago * mkgroup.c: Fix copyright date.
corinna [Wed, 15 Jan 2003 10:08:36 +0000 (10:08 +0000)]
* mkgroup.c: Fix copyright date.
* mkpasswd.c: Ditto.
* setfacl.c: Ditto.

Fix ChangeLog typos.

21 years agofix minor typo.
cgf [Wed, 15 Jan 2003 04:39:34 +0000 (04:39 +0000)]
fix minor typo.

21 years ago2003-01-14 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 15 Jan 2003 00:48:36 +0000 (00:48 +0000)]
2003-01-14  Elena Zannoni  <ezannoni@redhat.com>

* breakpoint.c (until_break_command): Add new argument.  Use it to
decide whether to stop only at the current frame or not.
* breakpoint.h (until_break_command): Update prototype.
  * infcmd.c (until_command): Add new argument to until_break_command
call.
(advance_command): New function.
(_initialize_infcmd): Update help string for 'until' command.
Add new 'advance' command.

21 years ago*** empty log message ***
gdbadmin [Wed, 15 Jan 2003 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***