OSDN Git Service

pf3gnuchains/pf3gnuchains3x.git
21 years agoEliminate most unneeded this-> pointers throughout.
cgf [Tue, 4 Feb 2003 03:01:16 +0000 (03:01 +0000)]
Eliminate most unneeded this-> pointers throughout.

21 years agomerge from gcc
dj [Tue, 4 Feb 2003 02:13:39 +0000 (02:13 +0000)]
merge from gcc

21 years ago2003-02-03 David Carlton <carlton@math.stanford.edu>
carlton [Tue, 4 Feb 2003 01:09:03 +0000 (01:09 +0000)]
2003-02-03  David Carlton  <carlton@math.stanford.edu>

* gdb.c++/ovldbreak.exp (continue_to_bp_overloaded): Add
'might_kfail' arg.
KFAIL some of the continue_to_bp_overloaded calls, according to
PR c++/1025.

21 years ago * gas/cris/rd-dw2-1.d: Adjust for dwarf2 directory table change.
hp [Tue, 4 Feb 2003 00:01:52 +0000 (00:01 +0000)]
* gas/cris/rd-dw2-1.d: Adjust for dwarf2 directory table change.

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

21 years ago2003-02-03 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 3 Feb 2003 23:07:50 +0000 (23:07 +0000)]
2003-02-03  Frank Ch. Eigler  <fche@redhat.com>

* sid-cpu.scm (-gen-sfrag-engine-fn): Generate more hygienic C++.

21 years agodaily update
amodra [Mon, 3 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago2003-02-03 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 3 Feb 2003 21:29:45 +0000 (21:29 +0000)]
2003-02-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/ldtoa.c (_ldtoa_r): Fix code to allocate the format
        buffer based on the precision, after we have processed the input value
        in a local buffer and know its relative magnitude.

21 years agoUse a single, consistent representation for an empty minimal
jimb [Mon, 3 Feb 2003 20:39:40 +0000 (20:39 +0000)]
Use a single, consistent representation for an empty minimal
symbol table in an objfile.
* objfiles.c (terminate_minimal_symbol_table): New function.
(allocate_objfile): Call it.
* objfiles.h (terminate_minimal_symbol_table): New declaration.
(ALL_MSYMBOLS): No need to test whether (objfile)->msymbols is
non-NULL.
* minsyms.c (lookup_minimal_symbol_by_pc_section): To see whether
objfile has minimal symbols, compare minimal_symbol_count to zero,
instead of comparing msymbols with NULL.
* objfiles.c (have_minimal_symbols): Same.
* solib-sunos.c (solib_add_common_symbols): Call
terminate_minimal_symbol_table.
* symfile.c (reread_symbols): Same.

21 years ago * s390-tdep.c (s390_address_class_type_flags)
kevinb [Mon, 3 Feb 2003 20:35:44 +0000 (20:35 +0000)]
* s390-tdep.c (s390_address_class_type_flags)
(s390_address_class_type_flags_to_name)
(s390_address_class_name_to_type_flags): New functions.
(s390_gdbarch_init): Define ADDRESS_CLASS_TYPE_FLAGS_TO_NAME,
ADDRESS_CLASS_NAME_TO_TYPE_FLAGS, and ADDRESS_CLASS_TYPE_FLAGS.

21 years ago2003-02-03 Michael Snyder <msnyder@redhat.com>
msnyder [Mon, 3 Feb 2003 20:03:00 +0000 (20:03 +0000)]
2003-02-03  Michael Snyder  <msnyder@redhat.com>

* arm-tdep.c: Fix spell-o in comment.

21 years ago * emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot
drow [Mon, 3 Feb 2003 17:47:23 +0000 (17:47 +0000)]
* emultempl/elf32.em: Move gld${EMULATION_NAME}_add_sysroot
outside of GNU/Linux conditional.

21 years ago2003-02-01 Michael Chastain <mec@shout.net>
chastain [Mon, 3 Feb 2003 16:07:31 +0000 (16:07 +0000)]
2003-02-01  Michael Chastain  <mec@shout.net>

* gdb.base/advance.c (marker1): New marker function.
* gdb.base/advance.exp: When the 'advance' command lands on the
return breakpoint, it can legitimately stop on either the
current line or the next line.  Accommodate both outcomes.
* gdb.base/until.exp: Likewise.

21 years ago2003-02-01 Michael Chastain <mec@shout.net>
chastain [Mon, 3 Feb 2003 16:04:18 +0000 (16:04 +0000)]
2003-02-01  Michael Chastain  <mec@shout.net>

* gdb.base/advance.c (marker1): New marker function.
* gdb.base/advance.exp: When the 'advance' command lands on the
return breakpoint, it can legitimately stop on either the
current line or the next line.  Accommodate both outcomes.
* gdb.base/until.exp: Likewise.

21 years ago * security.h: Add third argument to set_process_privilege.
corinna [Mon, 3 Feb 2003 15:55:19 +0000 (15:55 +0000)]
* security.h: Add third argument to set_process_privilege.
* autoload.cc: Add OpenThreadToken.
* sec_helper.cc (set_process_privilege): Add and use use_thread
argument.
* security.cc (alloc_sd): Modify call to set_process_privilege.
Remember the result in each process. If failed and file owner is not
the user, fail.

21 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Return buffer
corinna [Mon, 3 Feb 2003 15:34:52 +0000 (15:34 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Return buffer
length and don't set errno in case of WSAEMSGSIZE error.
(fhandler_socket::recvmsg): Ditto.

21 years agoAdd support for SH2E processor.
nickc [Mon, 3 Feb 2003 14:38:05 +0000 (14:38 +0000)]
Add support for SH2E processor.

21 years ago2003-02-03 Michal Ludvig <mludvig@suse.cz>
mludvig [Mon, 3 Feb 2003 14:33:19 +0000 (14:33 +0000)]
2003-02-03  Michal Ludvig  <mludvig@suse.cz>

* dwarf2cfi.c (pointer_encoding): Added new parameter.
* dwarf2cfi.c, dwarf2read.c: Changed all warnings and
error messages to contain BFD filename.

21 years agoForgot to mention PR numbers.
ezannoni [Mon, 3 Feb 2003 01:22:46 +0000 (01:22 +0000)]
Forgot to mention PR numbers.

21 years ago2003-02-02 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Mon, 3 Feb 2003 01:18:37 +0000 (01:18 +0000)]
2003-02-02  Elena Zannoni  <ezannoni@redhat.com>

Fix PR gdb/742 gdb/743
* disasm.c (dump_insns): Use make_cleanup_ui_out_tuple_begin_end.
(do_mixed_source_and_assembly): Use
make_cleanup_ui_out_tuple_begin_end and
make_cleanup_ui_out_tuple_begin_end.
(do_mixed_source_and_assembly): Ditto.
* thread.c (do_captured_list_thread_ids): Ditto.
* ui-out.h (ui_out_table_begin, ui_out_list_begin,
ui_out_tuple_begin, ui_out_table_end, ui_out_list_end,
ui_out_tuple_end): Delete prototypes.
* ui-out.c (ui_out_list_begin, ui_out_tuple_begin,
ui_out_list_end, ui_out_tuple_end): Delete.

From Kevin Buettner  <kevinb@redhat.com>:
* ui-out.h (make_cleanup_ui_out_table_begin_end): New function.
        * ui-out.c (make_cleanup_ui_out_table_begin_end)
        (do_cleanup_table_end):  New functions.
        * breakpoint.c (print_it_typical, print_one_breakpoint, mention):
        Use cleanups to invoke_ui_out_tuple_end().
        (breakpoint_1): Use cleanup to invoke ui_out_table_end().
* cli/cli-setshow.c (cmd_show_list): Use
make_cleanup_ui_out_tuple_begin_end.

21 years ago* cygwinenv.sgml: Add section for 'CYGWIN codepage:[ansi|oem]'
joshuadfranklin [Mon, 3 Feb 2003 00:30:45 +0000 (00:30 +0000)]
* cygwinenv.sgml: Add section for 'CYGWIN codepage:[ansi|oem]'

21 years ago*** empty log message ***
gdbadmin [Mon, 3 Feb 2003 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sun, 2 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago2003-02-02 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 2 Feb 2003 20:31:42 +0000 (20:31 +0000)]
2003-02-02  Andrew Cagney  <ac131313@redhat.com>

* frame.c (frame_unwind_register): New function.
(frame_unwind_unsigned_register): Use.
(frame_unwind_signed_register): Use.
(frame_read_register): New function.
* frame.h (frame_unwind_register): Declare.
(frame_read_register): Declare.

* d10v-tdep.c (d10v_frame_pop): Rewrite. Use regcache_cooked_write
and frame_unwind_register instead of read_memory, write_register and
deprecated_write_register_bytes.

21 years agogas/
rsandifo [Sun, 2 Feb 2003 19:37:20 +0000 (19:37 +0000)]
gas/
* config/tc-mips.c (enum small_ex_type): Remove.
(imm_unmatched_hi): Remove.
(md_assemble): Remove use of imm_unmatched_hi.  Remove the last
argument from calls to append_insn.
(append_insn): Remove unmatched_hi parameter; check reloc_type[0]
instead.
(macro_build): Update append_insn calls.
(mips16_macro_build, macro_build_lui): Likewise.
(mips_ip): Rework handling of small expressions.  Move explicit
relocation handling into my_getSmallExpression.  Assume that the
value of 'o' operands is zero if there is only one bracketed
expression left.
(percent_op): Make constant.  Record the BFD relocation code
associated with each operator.
(my_getSmallParser, my_getPercentOp): Remove.
(parse_relocation): New function.
(my_getSamllExpression): Rework.  Fill in relocations here
rather than in mips_ip.

gas/testsuite
* gas/mips/elf-rel8.[sd], gas/mips/elf-rel9.[sd],
gas/mips/elf-rel10.[sd], gas/mips/elf-rel11.[sd]: New tests.
* gas/mips/mips.exp: Run elf-rel8 and elf-rel9 for all elf
targets.  Run elf-rel10 and elf-rel11 for NewABI targets.

21 years ago2003-02-02 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 2 Feb 2003 18:53:21 +0000 (18:53 +0000)]
2003-02-02  Andrew Cagney  <ac131313@redhat.com>

* frame.h: Note that namelen can be negative.
* frame.c (frame_map_name_to_regnum): When LEN is negative, use
NAME's length.

* NEWS: Mention that the d10v's `regs' command is deprecated.
* d10v-tdep.c (d10v_gdbarch_init): Set print_registers_info.
(d10v_print_registers_info): New function.
(show_regs): Call d10v_print_registers_info.
(_initialize_d10v_tdep): Mark "show regs" command as deprecated.

21 years ago* stack.c (print_frame_info): Restore call to annotate_frame_begin
kettenis [Sun, 2 Feb 2003 18:30:55 +0000 (18:30 +0000)]
* stack.c (print_frame_info): Restore call to annotate_frame_begin
lost in the previous patch.

21 years ago2003-02-02 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 2 Feb 2003 06:24:04 +0000 (06:24 +0000)]
2003-02-02  Andrew Cagney  <ac131313@redhat.com>

From 2002-11-10 Jason Molenda (jason-cl@molenda.com):
        * mi-cmd-var.c (mi_cmd_var_list_children): CHILDREN field is
        now a list; still a tuple when in mi1.
        * gdbmi.texinfo: Update var-list-children example.

2003-02-02  Andrew Cagney  <ac131313@redhat.com>

2002-11-10 Jason Molenda (jason-cl@molenda.com):
        * gdb.mi/mi-var-child.exp: -var-list-children's CHILDREN field is
        now a list, not a tuple.
        * gdb.mi/mi-var-display.exp: Ditto.
        * gdb.mi/gdb792.exp: Ditto.

21 years ago2003-02-01 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 2 Feb 2003 05:51:08 +0000 (05:51 +0000)]
2003-02-01  Andrew Cagney  <ac131313@redhat.com>

From 2002-11-09 Jason Molenda (jason-cl@molenda.com)
        * stack.c (print_frame_info_base): Output complete FRAME tuple
        for synthesized frames.

2003-02-01  Andrew Cagney  <ac131313@redhat.com>

From 2002-11-09 Jason Molenda (jason-cl@molenda.com):
        * gdb.mi/mi-syn-frame.exp: New tests for synthetic frames in
        stack backtraces.
        * gdb.mi/mi-syn-frame.c: Part of same.

21 years ago2003-02-02 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 2 Feb 2003 05:46:13 +0000 (05:46 +0000)]
2003-02-02  Andrew Cagney  <ac131313@redhat.com>

* mips-nat.c (zerobuf): Delete.
(fetch_inferior_registers): Alloc local zerobuf.
(fetch_core_registers): Alloc local zerobuf.
* d10v-tdep.c (show_regs): Don't allocate a dynamic array using
MAX_REGISTER_RAW_SIZE or MAX_REGISTER_VIRTUAL_SIZE.
* thread-db.c (thread_db_store_registers): Ditto.
* sh-tdep.c (sh_do_register): Ditto.
* rom68k-rom.c (rom68k_supply_one_register): Ditto.
* remote-sim.c (gdbsim_store_register): Ditto.
* remote-mips.c (mips_wait, mips_fetch_registers): Ditto.
* remote-e7000.c (fetch_regs_from_dump): Ditto.
* monitor.c (monitor_supply_register): Ditto.
* mipsv4-nat.c (supply_gregset, supply_fpregset): Ditto.
* mips-nat.c (fetch_inferior_registers): Ditto.
* m68klinux-nat.c (fetch_register): Ditto.
* lynx-nat.c (fetch_inferior_registers): Ditto.
(fetch_inferior_registers): Ditto.
* irix4-nat.c (supply_gregset, supply_fpregset): Ditto.
* hpux-thread.c (hpux_thread_fetch_registers): Ditto.
(hpux_thread_store_registers): Ditto.
* hppah-nat.c (fetch_register): Ditto.
* hppab-nat.c (fetch_register): Ditto.
* hppa-tdep.c (pa_register_look_aside): Ditto.
(pa_print_fp_reg, pa_strcat_fp_reg): Ditto.
* dve3900-rom.c (fetch_bitmapped_register): Ditto.

21 years ago2003-02-01 Andrew Cagney <ac131313@redhat.com>
cagney [Sun, 2 Feb 2003 03:16:44 +0000 (03:16 +0000)]
2003-02-01  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh: Explictly specify all method levels.  When a
variable with an empty level, provide a non-multi-arch default.
(BELIEVE_PCC_PROMOTION_TYPE): Set level to empty.
* gdbarch.h: Re-generate.
* stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Delete.  Always defined.
* config/m68k/tm-sun3.h (BELIEVE_PCC_PROMOTION_TYPE): Define as 1

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

21 years ago2003-02-01 Andrew Cagney <ac131313@redhat.com>
cagney [Sat, 1 Feb 2003 23:34:04 +0000 (23:34 +0000)]
2003-02-01  Andrew Cagney  <ac131313@redhat.com>

* defs.h (host_pointer_to_address): Delete declaration.
(address_to_host_pointer): Delete declaration.
* utils.c (host_pointer_to_address): Delete function.
(address_to_host_pointer): Delete function.
* procfs.c (procfs_address_to_host_pointer): New function.
* procfs.c (proc_set_watchpoint): Use.
(procfs_can_use_hw_breakpoint): Update comments.
* somsolib.c (hpux_address_to_host_pointer_hack): New function.
(som_solib_add): Use.
* hppa-tdep.c (hppa_pointer_to_address_hack): New function.
* hppa-tdep.c (unwind_command): Use.

21 years agodaily update
amodra [Sat, 1 Feb 2003 23:00:06 +0000 (23:00 +0000)]
daily update

21 years ago2003-02-01 Andrew Cagney <ac131313@redhat.com>
cagney [Sat, 1 Feb 2003 20:56:57 +0000 (20:56 +0000)]
2003-02-01  Andrew Cagney  <ac131313@redhat.com>

* gdb_dirent.h: Mark up valid uses of <dirent.h>, d_namelen and
strlen d_name.

21 years ago2003-02-01 Andrew Cagney <ac131313@redhat.com>
cagney [Sat, 1 Feb 2003 20:51:05 +0000 (20:51 +0000)]
2003-02-01  Andrew Cagney  <ac131313@redhat.com>

* main.c (captured_main): Delete #ifdef ADDITIONAL_OPTIONS,
ADDITIONAL_OPTION_CASES, and ADDITIONAL_OPTION_HANDLER code.
(print_gdb_help): Delete #ifdef ADDITIONAL_OPTION_HELP code.
* stabsread.c (DBX_PARM_SYMBOL_CLASS): Delete macro.
(define_symbol): Update.
* symfile.c (generic_load): Remove references to nindy.
* symtab.c: Remove references to nindy.

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

* gdbint.texinfo (Target Architecture Definition): Delete
description of ADDITIONAL_OPTIONS, ADDITIONAL_OPTION_CASES,
ADDITIONAL_OPTION_HANDLER, and ADDITIONAL_OPTION_HELP, and
BEFORE_MAIN_LOOP_HOOK, and DBX_PARM_SYMBOL_CLASS along with
references to nindy and i960.
* gdb.texinfo (i960): Delete all references to i960 and nindy.

21 years ago* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
kettenis [Sat, 1 Feb 2003 20:47:16 +0000 (20:47 +0000)]
* gdb.mi/gdb669.exp, gdb.mi/mi-pthreads.exp,
gdb.mi/mi1-pthreads.exp: Return instead of calling
gdb_suppress_entire_file.

21 years ago* grp.cc (getgrent32): Only refresh group entries when at beginning.
cgf [Sat, 1 Feb 2003 18:41:29 +0000 (18:41 +0000)]
* grp.cc (getgrent32): Only refresh group entries when at beginning.
(internal_getgrsid): Only refresh if uninitialized.
(internal_getgrent): Ditto.
* passwd.cc (getpwent): Only refresh passwd entries when at beginning.
(pwdgrp::read_passwd): linebuf *cannot* be NO_COPY.
(internal_getpwsid): Only refresh if uninitialized.
(getpass): No need to refresh passwd data here.
* pwdgrp.h (refresh): Eliminate default.

21 years ago2003-02-01 Andrew Cagney <ac131313@redhat.com>
cagney [Sat, 1 Feb 2003 17:28:40 +0000 (17:28 +0000)]
2003-02-01  Andrew Cagney  <ac131313@redhat.com>

* infcmd.c (print_float_info): Delete code conditional on
FLOAT_INFO.
* config/nm-lynx.h: Delete #undef FLOAT_INFO.  Update copyright.
* config/m68k/nm-apollo68b.h: Ditto.
* config/i386/tm-ptx.h (FLOAT_INFO): Delete.  Update copyright.
* config/ns32k/nm-nbsd.h (FLOAT_INFO): Ditto.
* config/i386/tm-symmetry.h (FLOAT_INFO): Ditto.

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

* gdbint.texinfo (Target Architecture Definition): Delete
FLOAT_INFO.

21 years ago*** empty log message ***
msalter [Sat, 1 Feb 2003 14:29:29 +0000 (14:29 +0000)]
*** empty log message ***

21 years agoClear frame pointer, not sp.
msalter [Sat, 1 Feb 2003 14:29:12 +0000 (14:29 +0000)]
Clear frame pointer, not sp.

21 years ago* config/i386/tm-i386os9k.h: Removed.
kettenis [Sat, 1 Feb 2003 12:35:49 +0000 (12:35 +0000)]
* config/i386/tm-i386os9k.h: Removed.

21 years ago* configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
kettenis [Sat, 1 Feb 2003 12:28:00 +0000 (12:28 +0000)]
* configure.host (i[3456]86-*-isc*): Set gdb_host to i386v.
Remove i[3456]86-*-sysv3.2* and i[3456]86-*-sysv32* entries since
they're identical to i[3456]86-*-sysv* now.
* config/i386/i386v32.mh: Removed.
* config/i386/xm-i386v32.h: Removed.
* config/i386/xm-i386sco.h (U_FPSTATE): Remove macro.

21 years ago* config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.
kettenis [Sat, 1 Feb 2003 12:08:53 +0000 (12:08 +0000)]
* config/i386/i386mk.mt, config/i386/i386mk.mh: Removed.

21 years ago* config/i386/i386dgux.mh: Removed.
kettenis [Sat, 1 Feb 2003 11:45:13 +0000 (11:45 +0000)]
* config/i386/i386dgux.mh: Removed.
* configure.host (i[3456]86-*-dgux): Set gdb_host to i386v4.

21 years ago * include/commctrl.h (TCM_*): Add missing defines.
dannysmith [Sat, 1 Feb 2003 11:38:31 +0000 (11:38 +0000)]
* include/commctrl.h (TCM_*): Add missing defines.

21 years ago* configure.in: Fix typo.
kettenis [Sat, 1 Feb 2003 11:32:18 +0000 (11:32 +0000)]
* configure.in: Fix typo.
* configure: Regenerated.

21 years ago2003-02-01 Jesus Alvarez <jesus_alvarez@users.sourceforge.net>
dannysmith [Sat, 1 Feb 2003 08:53:16 +0000 (08:53 +0000)]
2003-02-01  Jesus Alvarez  <jesus_alvarez@users.sourceforge.net>
    Danny Smith  <dannysmith@users.sourceforge.net>

* include/prsht.h (PSP_*, PSH_*): Add missing defines.
(PROPSHEETPAGE[AW]): Add pszHeaderTitle, pszHeaderSubTitle
for (_WIN32_IE >= 0x0400).
(PROPSHEETHEADER[AW]): Add hplWatermark and anonymous union
fields for (_WIN32_IE >= 0x0400).

21 years ago* dlfcn.cc (dlerror): Only report load errors once per error.
cgf [Sat, 1 Feb 2003 05:00:15 +0000 (05:00 +0000)]
* dlfcn.cc (dlerror): Only report load errors once per error.

21 years ago* fhandler_serial.cc (fhandler_serial::open): Avoid extraneous setting of res.
cgf [Sat, 1 Feb 2003 04:48:03 +0000 (04:48 +0000)]
* fhandler_serial.cc (fhandler_serial::open): Avoid extraneous setting of res.
* termios.cc (tcsetattr): Correctly record errno after tcsetattr call.
* fhandler_serial.cc (fhandler_serial::tcsetattr): Add error-checking so that
if any Win32 SetComm*() calls fail, errno gets set to EINVAL and tcsetattr()
returns -1.  Catch invalid bitrates, mostly.  If baud rate setting is B0, just
drop DTR and leave Win32 DCB bitrate as-is since 0 is not a valid Win32
setting.
(fhandler_serial::tcgetattr): If DTR is low, populate the bitrate as B0,
otherwise get it from the DCB.

21 years ago * compile.c (sim_resume): Fix the handling of bxor.
kazu [Sat, 1 Feb 2003 03:00:14 +0000 (03:00 +0000)]
* compile.c (sim_resume): Fix the handling of bxor.

21 years agoLeft ChangeLog entry out of last commit.
carlton [Sat, 1 Feb 2003 01:11:57 +0000 (01:11 +0000)]
Left ChangeLog entry out of last commit.

21 years ago2003-01-31 David Carlton <carlton@math.stanford.edu>
carlton [Sat, 1 Feb 2003 01:11:22 +0000 (01:11 +0000)]
2003-01-31  David Carlton  <carlton@math.stanford.edu>

* dwarf2read.c (dwarf2_locate_sections): Set
dwarf_ranges_section.

21 years ago*** empty log message ***
gdbadmin [Sat, 1 Feb 2003 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Fri, 31 Jan 2003 23:59:42 +0000 (23:59 +0000)]
daily update

21 years ago2003-01-31 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 31 Jan 2003 23:22:06 +0000 (23:22 +0000)]
2003-01-31  Andrew Cagney  <ac131313@redhat.com>

* objc-exp.y, c-exp.y, f-exp.y: Remove PTR casts.
* utils.c: Update comments documenting legitimate uses of PTR.

21 years agoRe-indent utils.c.
cagney [Fri, 31 Jan 2003 22:45:21 +0000 (22:45 +0000)]
Re-indent utils.c.

21 years ago * dejagnu/baseboards/h8300-sim.exp: Don't set
kazu [Fri, 31 Jan 2003 22:08:36 +0000 (22:08 +0000)]
* dejagnu/baseboards/h8300-sim.exp: Don't set
needs_status_wrapper.

21 years ago * hppa.h (ldwa, ldda): Add ordered opcodes.
danglin [Fri, 31 Jan 2003 21:24:31 +0000 (21:24 +0000)]
    * hppa.h (ldwa, ldda): Add ordered opcodes.

21 years ago2003-01-31 Michael Snyder <msnyder@redhat.com>
jjohnstn [Fri, 31 Jan 2003 20:44:26 +0000 (20:44 +0000)]
2003-01-31  Michael Snyder  <msnyder@redhat.com>

* libc/sys/h8300hms/_exit.c (_exit, __exit):  Slip a magic cookie
into registers r1 and r2, so that the simulator can distinguish
this trap from a breakpoint trap.  Copied from libgloss.

21 years ago2003-01-31 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 31 Jan 2003 20:43:52 +0000 (20:43 +0000)]
2003-01-31  Andrew Cagney  <ac131313@redhat.com>

* config/djgpp/fnchange.lst: Delete nindy files.
* nindy-share/ttyflush.c, nindy-share/stop.h: Delete files.
* nindy-share/nindy.c, nindy-share/env.h: Delete files.
* nindy-share/coff.h, nindy-share/block_io.h: Delete files.
* nindy-share/b.out.h, nindy-share/VERSION: Delete files.
* nindy-share/README, nindy-share/Onindy.c: Delete files.
* nindy-tdep.c, nindy-share/Makefile: Delete files.
* Makefile.in (init.c): Remove nindy references.
(saber_gdb): Delete rule.
(ALLDEPFILES): Delete hp300ux-nat.c, nindy-tdep.c,
nindy-share/Onindy.c, nindy-share/nindy.c, nindy-share/ttyflush.c,
and a68v-nat.c.
(hp300ux-nat.o, a68v-nat.o, ptx4-nat.o): Delete rules.
(Onindy.o, nindy.o, ttyflush.o, nindy-tdep.o): Delete rules.
(HFILES_NO_SRCDIR): Delete nindy-share/b.out.h,
nindy-share/block_io.h, nindy-share/coff.h, nindy-share/env.h, and
nindy-share/stop.h.
* hp300ux-nat.c, a68v-nat.c, ptx4-nat.c: Delete files.
* saber.suppress: Delete file.

21 years ago2003-01-31 Michael Snyder <msnyder@redhat.com>
jjohnstn [Fri, 31 Jan 2003 20:35:24 +0000 (20:35 +0000)]
2003-01-31  Michael Snyder  <msnyder@redhat.com>

* libc/sys/h8300hms/crt0.S (_start): Change local label
from .loop to .Loop, so that ld and gdb will ignore it.

21 years ago * dbxread.c (stabs_data): New static variable.
drow [Fri, 31 Jan 2003 19:22:17 +0000 (19:22 +0000)]
* dbxread.c (stabs_data): New static variable.
(fill_symbuf): Support an in-memory buffer for stabs data.
(stabs_seek): New function.
(dbx_psymtab_to_symtab): Relocate the stabs data if necessary.
(read_ofile_symtab): Use stabs_seek.
(elfstab_build_psymtabs): Take an asection* instead of
an offset and size.  Relocate the stabs data if necessary.
Save the section* for dbx_psymtab_to_symtab.
* dwarf2read.c: Add section variables for each debug section.
(dwarf2_locate_sections): Fill them in.
(dwarf2_read_section): Take an asection* argument.
Relocate the section contents if necessary.
(dwarf2_build_psymtabs, dwarf2_build_psymtabs_easy): Update callers.
* dwarf2cfi.c (parse_frame_info): Take a section argument and pass
it to dwarf2_read_section.
(dwarf2_build_frame_info): Update callers.
* elfread.c (elf_symfile_read): Update call to
elfstab_build_psymtabs.
* gdb-stabs.h (struct dbx_symfile_info): Add stab_section.
(DBX_STAB_SECTION): New macro.
* stabsread.h (elfstab_build_psymtabs): Update prototype.
* symfile.c (symfile_dummy_outputs): New function.
(symfile_relocate_debug_section): New function.
* symfile.h (symfile_relocate_debug_section): Add prototype.

21 years ago2003-01-31 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 31 Jan 2003 19:09:31 +0000 (19:09 +0000)]
2003-01-31  Frank Ch. Eigler  <fche@redhat.com>

* Makefile.tpl (all-sid): Add libiberty/bfd/opcodes dependencies.
* Makefile.in: Regenerated.

21 years ago * alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
rth [Fri, 31 Jan 2003 18:28:25 +0000 (18:28 +0000)]
* alpha-nat.c (REGISTER_PTRACE_ADDR): Merge into ...
(register_addr): ... here.  Support ALPHA_UNIQUE_REGNUM.
(fetch_elf_core_registers): Support ALPHA_UNIQUE_REGNUM.
* alpha-tdep.c (alpha_register_name): Add "unique".
* alpha-tdep.h (ALPHA_NUM_REGS): Increment.
(ALPHA_UNIQUE_REGNUM): New.
* config/alpha/nm-linux.h (ALPHA_UNIQUE_PTRACE_ADDR): New.

21 years ago2003-01-31 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 31 Jan 2003 17:10:59 +0000 (17:10 +0000)]
2003-01-31  Frank Ch. Eigler  <fche@redhat.com>

* log2.h: #undef log2, in case a macro collides with the function.

21 years ago* passwd.cc (pwdgrp::read_passwd): linebuf *must* be static (from Pierre
cgf [Fri, 31 Jan 2003 17:00:42 +0000 (17:00 +0000)]
* passwd.cc (pwdgrp::read_passwd): linebuf *must* be static (from Pierre
Humblet).
* pwdgrp.h (pwdgrp::refresh): Avoid calling read function if we already have
lock since that means we are in the process of reading the file.

21 years ago2003-01-31 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 31 Jan 2003 16:48:03 +0000 (16:48 +0000)]
2003-01-31  Frank Ch. Eigler  <fche@redhat.com>

* baseCfg.cxx, commonCfg.cxx: More of the same.

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

* README: Remove reference to Ericsson 1800 monitor.
* Makefile.in (remote-es.o): Delete rule.
(ALLDEPFILES): Delete remote-es.c.
* remote-es.c: Delete file.
* config/m68k/es1800.mt: Delete file.
* config/djgpp/fnchange.lst: Update.
* configure.tgt: Delete m68*-ericsson-* target.

21 years ago* infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
fedor [Fri, 31 Jan 2003 15:22:56 +0000 (15:22 +0000)]
* infrun.c (handle_inferior_event): Rename 'tmp' to real_stop_pc.
Remove duplicate/shadowing variable of same name.

21 years ago* shared.cc (shared_info::heap_chunk_size): Use correct variable when reading
cgf [Fri, 31 Jan 2003 15:02:39 +0000 (15:02 +0000)]
* shared.cc (shared_info::heap_chunk_size): Use correct variable when reading
HKLM.

21 years ago2003-01-31 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 31 Jan 2003 14:55:45 +0000 (14:55 +0000)]
2003-01-31  Frank Ch. Eigler  <fche@redhat.com>

* components.h, compAudio.cxx: Add missing throw() to cygwin_audio dtor.

21 years ago*** empty log message ***
msalter [Fri, 31 Jan 2003 13:11:42 +0000 (13:11 +0000)]
*** empty log message ***

21 years agoSupport remote targets.
msalter [Fri, 31 Jan 2003 13:11:26 +0000 (13:11 +0000)]
Support remote targets.

21 years agobfd_follow_gnu_debuglink: New function. Follow the pointer contained inside a
nickc [Fri, 31 Jan 2003 10:04:16 +0000 (10:04 +0000)]
bfd_follow_gnu_debuglink: New function.  Follow the pointer contained inside a
.gnu_debuglink section.

21 years ago2003-01-31 Danny Smith <dannysmith@users.sourceforge.net>
dannysmith [Fri, 31 Jan 2003 08:28:43 +0000 (08:28 +0000)]
2003-01-31  Danny Smith  <dannysmith@users.sourceforge.net>

* include/winbase.h (CreateFiber): Change first parameter
to SIZE_T.
(CreateJobObject[AW], CreateHardLink[AW]): Guard with
(_WIN32_WINNT >= 0x0500).

2003-01-31  Bang Jun-Young  <junyoung@netbsd.org>

* include/winbase.h (PWIN32_FIND_DATAA, PWIN32_FIND_DATAW):
Add missing typedefs.
(CreateFiberEx, CreateJobObjectA,CreateJobObjectW): Add missing
prototypes.
(CreateHardLinkA, CreateHardLinkW): Return BOOL, not HANDLE.

21 years ago2003-01-30 Michael Chastain <mec@shout.net>
chastain [Fri, 31 Jan 2003 00:39:28 +0000 (00:39 +0000)]
2003-01-30  Michael Chastain  <mec@shout.net>

* lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
This was a workaround for a UTF-8 bug in readline 4.3.  The bug
has been fixed in gdb/readline on 2003-01-09.

21 years ago2003-01-30 Michael Chastain <mec@shout.net>
chastain [Fri, 31 Jan 2003 00:38:33 +0000 (00:38 +0000)]
2003-01-30  Michael Chastain  <mec@shout.net>

* lib/gdb.exp: Revert patch of 2003-01-06, which set LC_ALL.
This was a workaround for a UTF-8 bug in readline 4.3.  The bug
has been fixed in gdb/readline on 2003-01-09.

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

21 years ago* fhandler_registry.cc (fhandler_registry::exists): Fix off-by-one error when
cgf [Thu, 30 Jan 2003 23:15:14 +0000 (23:15 +0000)]
* fhandler_registry.cc (fhandler_registry::exists): Fix off-by-one error when
inspecting path.

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

21 years ago* symfile.c (find_separate_debug_file): Assert that the objfile's
jimb [Thu, 30 Jan 2003 21:45:07 +0000 (21:45 +0000)]
* symfile.c (find_separate_debug_file): Assert that the objfile's
directory name we compute ends with a slash, and then assume that
that's so everywhere we use it.

21 years agomerge from gcc
dj [Thu, 30 Jan 2003 20:00:42 +0000 (20:00 +0000)]
merge from gcc

21 years ago2003-01-30 Frank Ch. Eigler <fche@redhat.com>
fche [Thu, 30 Jan 2003 16:52:44 +0000 (16:52 +0000)]
2003-01-30  Frank Ch. Eigler  <fche@redhat.com>

* baseCfg.cxx: Remove some erroneous default parameters in fn decls.

21 years ago * valops.c (value_assign): Flush frame cache after stores to memory
drow [Thu, 30 Jan 2003 16:44:20 +0000 (16:44 +0000)]
* valops.c (value_assign): Flush frame cache after stores to memory
also.

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

* Makefile.in (mon960-rom.o): Delete rule.
* mon960-rom.c: Delete file.

21 years ago2003-01-30 Andrew Cagney <ac131313@redhat.com>
cagney [Thu, 30 Jan 2003 15:44:43 +0000 (15:44 +0000)]
2003-01-30  Andrew Cagney  <ac131313@redhat.com>

* stabs.texinfo (Member Type Descriptor): Clarify description of
`@'.  Suggested by Ben Hutchings.

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

* d10v-tdep.c: Include "frame-unwind.h".
(d10v_gdbarch_init): Append d10v_frame_p to the unwind predicate
list.
(next_addr, uses_frame): Delete.
(struct d10v_unwind_cache): Define.
(prologue_find_regs): Add struct d10v_unwind_cache info parameter.
Use info instead of next_addr and uses_frame globals.
(d10v_frame_init_saved_regs): Delete function.
(d10v_init_extra_frame_info): Delete function.
(d10v_gdbarch_init): Do not initialize init_extra_frame_info,
frame_init_saved_regs or pop_frame, frame_chain, frame_chain_valid,
init_frame_pc or frame_saved_pc.
(d10v_pop_frame): Delete function.
(do_d10v_pop_frame): Delete function.
(d10v_frame_chain): Delete function.
(d10v_frame_chain_valid): Delete function.
(d10v_frame_pc_unwind): New function.
(d10v_frame_id_unwind): New function.
(saved_regs_unwinder): New function.
(d10v_frame_register_unwind): New function.
(d10v_frame_pop): New function.
(d10v_frame_unwind): New variable.
(d10v_frame_p): New function.
(d10v_frame_saved_pc): Delete function.
* Makefile.in (d10v-tdep.o): Update dependencies.

21 years ago* config.if: Copy from GCC.
aoliva [Thu, 30 Jan 2003 11:59:17 +0000 (11:59 +0000)]
* config.if: Copy from GCC.

21 years ago * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
brobecke [Thu, 30 Jan 2003 05:48:26 +0000 (05:48 +0000)]
    * config/pa/tm-hppa64.h (CALL_DUMMY_LOCATION): Remove #undef
        causing some regressions due to a change in the default value
        for this macro.

21 years ago Fix PR gdb/961.
drow [Thu, 30 Jan 2003 01:51:48 +0000 (01:51 +0000)]
Fix PR gdb/961.
* dwarf2read.c  (dwarf_ranges_offset, dwarf_ranges_size): New
variables.
(RANGES_SECTION): New.
(dwarf_ranges_buffer): New variable.
(struct comp_unit_head): Add member "die".
(struct dwarf2_pinfo): Add dwarf_ranges_buffer, dwarf_ranges_size.
(DWARF_RANGES_BUFFER, DWARF_RANGES_SIZE): New.
(dwarf2_has_info): Init dwarf_ranges_offset and dwarf_ranges_size.
(dwarf2_locate_sections): Likewise.
(dwarf2_build_psymtabs): Read .debug_ranges.
(dwarf2_build_psymtabs_hard): Swap dwarf_ranges out.
(psymtab_to_symtab_1): Swap dwarf_ranges in.  Set cu_header.die.
(dwarf2_get_pc_bounds): New cu_header argument; adjust all callers.
Look for DW_AT_ranges and return the bounding box.

21 years agoremove conflict marker
cgf [Thu, 30 Jan 2003 01:42:01 +0000 (01:42 +0000)]
remove conflict marker

21 years ago* win32-nat.c (cygwin_pid): Removed as unused.
cgf [Thu, 30 Jan 2003 01:39:52 +0000 (01:39 +0000)]
* win32-nat.c (cygwin_pid): Removed as unused.
(child_attach): Try fall back to Cygwin pid.

21 years ago* lib/getopt.c: Allow environment variable control of POSIXLY_INCORRECT behavior.
cgf [Thu, 30 Jan 2003 01:14:29 +0000 (01:14 +0000)]
* lib/getopt.c: Allow environment variable control of POSIXLY_INCORRECT behavior.

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

21 years ago* objfiles.h (struct objfile): Doc fix.
jimb [Wed, 29 Jan 2003 23:46:39 +0000 (23:46 +0000)]
* objfiles.h (struct objfile): Doc fix.

21 years agoIndex: ChangeLog
cagney [Wed, 29 Jan 2003 23:46:22 +0000 (23:46 +0000)]
Index: ChangeLog
2003-01-29  Andrew Cagney  <ac131313@redhat.com>

* configure.in (EXP_AND_TCL_LIBS): Set to TCL_CC_SEARCH_FLAGS
instead of TCL_LD_SEARCH_FLAGS.
(EXP_AND_TK_LIBS): Ditto.
* configure: Regneerate.

21 years ago2003-01-29 Jason Tishler <jason@tishler.net>
jjohnstn [Wed, 29 Jan 2003 23:29:30 +0000 (23:29 +0000)]
2003-01-29  Jason Tishler  <jason@tishler.net>

* libc/include/time.h: Declare nanosleep() under Cygwin.

21 years ago2003-01-29 Michael Snyder <msnyder@redhat.com>
msnyder [Wed, 29 Jan 2003 23:25:42 +0000 (23:25 +0000)]
2003-01-29  Michael Snyder  <msnyder@redhat.com>

* gdb.base/args.exp: Skip if target does not support args passing.

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