OSDN Git Service

pf3gnuchains/sourceware.git
21 years ago* cygwin.din: Reflect name change from strtodf to strtof. Export strtof.
cgf [Fri, 6 Dec 2002 19:48:02 +0000 (19:48 +0000)]
* cygwin.din: Reflect name change from strtodf to strtof.  Export strtof.
* include/cygwin/version.h: Bump API minor number.

21 years ago2002-12-06 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 6 Dec 2002 19:26:02 +0000 (19:26 +0000)]
2002-12-06  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh (DEPRECATED_INIT_FRAME_PC_FIRST): Rename
INIT_FRAME_PC_FIRST.  Change to a function with predicate.  Do not
provide a default value.
* gdbarch.h, gdbarch.c: Regenerate.
* frame.c (get_prev_frame): Update.  Check
DEPRECATED_INIT_FRAME_PC_FIRST_P.
* s390-tdep.c (s390_gdbarch_init): Update.
* mips-tdep.c (mips_gdbarch_init): Update.
* config/sparc/tm-sparc.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* config/rs6000/tm-rs6000.h (DEPRECATED_INIT_FRAME_PC_FIRST): Update.
* alpha-tdep.c (alpha_gdbarch_init): Update.

21 years ago2002-12-06 David Carlton <carlton@math.stanford.edu>
carlton [Fri, 6 Dec 2002 19:21:50 +0000 (19:21 +0000)]
2002-12-06  David Carlton  <carlton@math.stanford.edu>

* gdb.base/store.c: Don't declare functions static.

21 years ago2002-12-06 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 6 Dec 2002 18:58:50 +0000 (18:58 +0000)]
2002-12-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/stdlib.h (strtof): New prototype (from C99).
        (strtodf): Changed from prototype to macro which redefines
        to strtof.
        * libc/stdlib/atof.c: Change documentation to refer to strtof
        instead of strtodf.
        * libc/stdlib/atoff.c (atoff): Change to call strtof instead of
        strtodf.
        * libc/stdlib/strtod.c (strtodf): Renamed to strtof.
        (strtof): New function.
        * libm/test/convert.c (test_strtodf): Renamed to test_strtof which
        calls strtof.

21 years ago2002-12-06 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Fri, 6 Dec 2002 18:38:43 +0000 (18:38 +0000)]
2002-12-06  Elena Zannoni  <ezannoni@redhat.com>

* ia64-linux-nat.c: Include gdb_string.h.
* alpha-nat.c: Ditto.
* ppc-linux-nat.c: Ditto.
* Makefile.in (ia64-linux-nat.o, alpha-nat.o, ppc-linux-nat.o):
Update dependencies.

21 years ago2002-12-06 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Fri, 6 Dec 2002 16:59:05 +0000 (16:59 +0000)]
2002-12-06  Elena Zannoni  <ezannoni@redhat.com>

* ia64-linux-nat.c: Include gdb_string.h.
* alpha-nat.c: Ditto.
* ia64-linux-nat.c: Ditto.

21 years ago2002-12-06 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 6 Dec 2002 16:26:39 +0000 (16:26 +0000)]
2002-12-06  Andrew Cagney  <ac131313@redhat.com>

* generic/gdbtk-cmds.c (gdb_update_mem): Don't add a 0x prefix.

21 years ago2002-12-05 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 6 Dec 2002 07:35:54 +0000 (07:35 +0000)]
2002-12-05  Andrew Cagney  <ac131313@redhat.com>

* gdbthread.h: Include "frame.h".
(struct thread_info): Replace step_frame_address with
step_frame_id.
* inferior.h: Include "frame.h".
(step_frame_id): Replace external variable step_frame_address.
* gdbthread.h (save_infrun_state): Replace step_frame_address
parameter with step_frame_id parameter.
(load_infrun_state): Ditto.
* Makefile.in (gdbthread_h, inferior_h): Add $(frame_h).
* infcmd.c (step_frame_id, step_1, step_once): Update.
* thread.c (load_infrun_state, save_infrun_state): Update.
* infrun.c (clear_proceed_status, save_inferior_status): Update.
(handle_inferior_event, step_over_function): Update.
(normal_stop, context_switch, restore_inferior_status): Update.
(struct inferior_status): Replace step_frame_address with
step_frame_id.

21 years ago2002-12-06 Ken Fitlike <kenfitlike@users.sourceforge.net>
dannysmith [Fri, 6 Dec 2002 04:13:31 +0000 (04:13 +0000)]
2002-12-06  Ken Fitlike  <kenfitlike@users.sourceforge.net>

* include/commctrl.h (TN_GETDISPINFO[AW]): Add defines and
UNICODE mappings.
(tagNMTTDISPINFO[AW]): Replace obsolete struct names
tagTOOLTIPTEXT[AW] and typedefs. Add defines for backward
compatability. Add lParam field. Add UNICODE mappings for new
names.

21 years ago * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21BI.
rth [Fri, 6 Dec 2002 01:48:24 +0000 (01:48 +0000)]
    * elfxx-ia64.c (elfNN_ia64_relax_section): Handle PCREL21BI.
        Only send PCREL21B though the plt.  Fix installed reloc type.
        (elfNN_ia64_relocate_section): Give error for dynamic reloc
        against PCREL22 or PCREL64I; clean up error messages for
        branch relocs.

21 years ago*** empty log message ***
gdbadmin [Fri, 6 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-12-05 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 5 Dec 2002 23:48:23 +0000 (23:48 +0000)]
2002-12-05  Aldy Hernandez  <aldyh@redhat.com>

* ppc-opc.c: Delete evsabs, evsnabs, evsneg, evsadd, evssub,
evsmul, evsdiv, evscmpgt, evsgmplt, evststgt, evtstlt, evststeq,
evscfui, evscfsi, evscfuf, evscfsf, evsctui, evsctuiz, evsctsi,
evsctsiz, evsctuf, evsctsf, evmwhssfaa, evmwhssmaa, evmwhsmfaa,
evmwhsmiaa, evmwhusiaa, evmwhumiaa, evmwhssfan, evmwhssian,
evmwhsmfan, evmwhsmian, evmwhusian, evmwhumian, evmwhgssfaa,
evmwhgsmfaa, evmwhgsmiaa, evmwhgumiaa, evmwhgssfan, evmwhgsmfan,
evmwhgsmian, evmwhgumian.
(mftb): Add to opcode table.
(mtspefscr): Change RT to RS in opcode table.

21 years ago * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X.
rth [Thu, 5 Dec 2002 23:20:38 +0000 (23:20 +0000)]
    * config/ia64.c (enum reloc_func): Add FUNC_LT_RELATIVE_X.
        (ia64_gen_real_reloc_type): Handle it.
        (pseudo_func): Add @ltoffx.
        (md_begin): Build .<ltoffx>.
        (ia64_force_relocation): True for LTOFF22X and LDXMOV.

        * gas/ia64/ltoff22x-1.[ds]: New.
        * gas/ia64/ia64.exp: Run it.

21 years ago2002-12-05 David Carlton <carlton@math.stanford.edu>
carlton [Thu, 5 Dec 2002 23:13:46 +0000 (23:13 +0000)]
2002-12-05  David Carlton  <carlton@math.stanford.edu>

* dwarf2read.c (dwarf2_add_field): Treat a field that is a
DW_TAG_member as well as a declaration as being a C++ static data
member.
(read_structure_scope): Combine tests for DW_TAG_member and
DW_TAG_variable.

21 years ago * ppc-opc.c: Move mbar and msync up. Change mask for mbar and
aldyh [Thu, 5 Dec 2002 23:06:48 +0000 (23:06 +0000)]
* ppc-opc.c: Move mbar and msync up.  Change mask for mbar and
msync.

21 years agodaily update
amodra [Thu, 5 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * configure.in: Revert unintentional change.
neroden [Thu, 5 Dec 2002 22:45:33 +0000 (22:45 +0000)]
* configure.in: Revert unintentional change.

21 years ago * src-release: Configure host subdirs.
neroden [Thu, 5 Dec 2002 22:43:12 +0000 (22:43 +0000)]
* src-release: Configure host subdirs.

21 years ago2002-12-05 David Carlton <carlton@math.stanford.edu>
carlton [Thu, 5 Dec 2002 22:25:48 +0000 (22:25 +0000)]
2002-12-05  David Carlton  <carlton@math.stanford.edu>

* linespec.c (decode_compound): New function.
(decode_line_1): Move code into decode_compound.

21 years ago2002-12-05 David Carlton <carlton@math.stanford.edu>
carlton [Thu, 5 Dec 2002 21:26:56 +0000 (21:26 +0000)]
2002-12-05  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_symbol_aux_local): Add 'static_block'
argument.
(lookup_symbol_aux): Do the 'field_of_this' check before checking
the static block.  See PR gdb/804.

21 years ago2002-12-05 David Carlton <carlton@math.stanford.edu>
carlton [Thu, 5 Dec 2002 21:07:48 +0000 (21:07 +0000)]
2002-12-05  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_symbol_aux_block): New function.
(lookup_symbol_aux_local): Move code into lookup_symbol_aux_block.

21 years ago2002-12-05 Nathanael Nerode <neroden@gcc.gnu.org>
neroden [Thu, 5 Dec 2002 18:34:48 +0000 (18:34 +0000)]
2002-12-05  Nathanael Nerode  <neroden@gcc.gnu.org>

* Makefile.tpl: Change dependency for */multilib.out so that
it works when gcc isn't in the tree.

* configure.in: Substitute more.
* configure: Run subconfigures from the Makefile.
* Makefile.tpl: Run subconfigures from the Makefile; add a few
convenience targets.  Make sure gcc isn't rebuilt after bootstrap.

21 years agoFix IA-64 opc-d.x gas testsuite failure.
wilson [Thu, 5 Dec 2002 18:33:26 +0000 (18:33 +0000)]
Fix IA-64 opc-d.x gas testsuite failure.
binutils/ChangeLog
* configure.in (OBJDUMP_DEFS): Define SKIP_ZEROES as 16 for IA-64.
* configure: Regenerate.
gas/testsuite/ChangeLog
* gas/ia64/opc-x.d: Regenerate.

21 years ago2002-12-05 Martin M. Hunt <hunt@redhat.com>
hunt [Thu, 5 Dec 2002 18:32:09 +0000 (18:32 +0000)]
2002-12-05  Martin M. Hunt  <hunt@redhat.com>

* library/regwin.itb (update): Revert previous patch to this
function. But also don't tag blank cells.
(_but3): Fix help call.

21 years ago* fhandler.h (fhandler_termios::line_edit): Change return from an int to an
cgf [Thu, 5 Dec 2002 16:24:52 +0000 (16:24 +0000)]
* fhandler.h (fhandler_termios::line_edit): Change return from an int to an
enum to allow the function to return an error.
* fhandler_console.cc (fhandler_console::read): Update the line_edit call to
use the new enum.
* fhandler_termios.cc (fhandler_termios::line_edit): Change return from an int
to an enum to allow the function to return an error.  Put put_readahead call
before doecho for future patch.
* fhandler_tty.cc (fhandler_pty_master::write): Change to call line_edit one
character at a time, and stop if an error occurs.

21 years ago2002-12-05 Andrew Cagney <ac131313@redhat.com>
cagney [Thu, 5 Dec 2002 15:19:45 +0000 (15:19 +0000)]
2002-12-05  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh: Dump the predicate function and macro values.
(read): Print error on standard error.
* gdbarch.c: Regenerate.

21 years ago * gas/arm/adrl.s: Pad end of .text.
amodra [Thu, 5 Dec 2002 11:47:15 +0000 (11:47 +0000)]
* gas/arm/adrl.s: Pad end of .text.
* gas/arm/adrl.d: Adjust to suit.

21 years ago * config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF.
amodra [Thu, 5 Dec 2002 11:46:48 +0000 (11:46 +0000)]
* config/tc-arm.c (arm_force_relocation): Move out of #if OBJ_ELF.
Move OBJ_COFF TC_FORCE_RELOCATION code here so that COFF handles
ARM_IMMEDIATE and ARM_ADRL_IMMEDIATE relocs as for ELF.
* config/tc-arm.h (TC_FORCE_RELOCATION): Define for both ELF and
COFF to call arm_force_relocation.

21 years agoCreate new file mips-tdep.h.
kevinb [Thu, 5 Dec 2002 05:17:38 +0000 (05:17 +0000)]
Create new file mips-tdep.h.

21 years agoAdd n64 core file support for Linux/MIPS.
kevinb [Thu, 5 Dec 2002 05:03:59 +0000 (05:03 +0000)]
Add n64 core file support for Linux/MIPS.

21 years agoPatch to update IA-64 port to SDM 2.1.
wilson [Thu, 5 Dec 2002 02:08:00 +0000 (02:08 +0000)]
Patch to update IA-64 port to SDM 2.1.
bfd/ChangeLog
* cpu-ia64-opc.c: Add operand constant "ar.csd".
gas/ChangeLog
* config/tc-ia64.c (pseudo_func): Add "@pause" constant for "hint"
instruction.
(emit_one_bundle): Handle "hint" instruction.
(operand_match): Match IA64_OPND_AR_CSD.
gas/testsuite/ChangeLog
* gas/ia64/opc-b.d: Update for instructions added by SDM2.1.
* gas/ia64/opc-b.s: Ditto.
* gas/ia64/opc-f.d: Ditto.
* gas/ia64/opc-f.s: Ditto.
* gas/ia64/opc-i.d: Ditto.
* gas/ia64/opc-i.s: Ditto.
* gas/ia64/opc-m.d: Ditto.
* gas/ia64/opc-m.s: Ditto.
* gas/ia64/opc-x.d: Ditto.
* gas/ia64/opc-x.s: Ditto.
include/opcode/ChangeLog
* ia64.h: Fix copyright message.
(IA64_OPND_AR_CSD): New operand kind.
opcodes/ChangeLog
* ia64-opc-d.c (ia64_opcodes_d): Add "hint" instruction.
* ia64-opc-b.c: Add "hint.b" instruction.
* ia64-opc-f.c: Add "hint.f" instruction.
* ia64-opc-i.c: Add "hint.i" instruction.
* ia64-opc-m.c: Add "hint.m", "fc.i", "ld16", "st16", and
"cmp8xchg16" instructions.
* ia64-opc-x.c: Add "hint.x" instruction.
* ia64-opc.h (AR_CSD): New macro.
* ia64-ic.tbl: Update according to SDM2.1.
* ia64-raw.tbl: Ditto.
* ia64-waw.tbl: Ditto.
* ia64-gen.c (in_iclass): Handle "hint" like "nop".
(lookup_regindex): Recognize AR[FCR], AR[EFLAG], AR[CSD],
AR[SSD], AR[CFLG], AR[FSR], AR[FIR], and AR[FDR].
* ia64-asmtab.c: Regenerate.

21 years ago2002-12-04 Andrew Cagney <ac131313@redhat.com>
cagney [Thu, 5 Dec 2002 01:48:18 +0000 (01:48 +0000)]
2002-12-04  Andrew Cagney  <ac131313@redhat.com>

* gdb.base/store.exp, gdb.base/store.c: New files.

21 years ago*** empty log message ***
gdbadmin [Thu, 5 Dec 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-12-04 H.J. Lu <hjl@gnu.org>
hjl [Wed, 4 Dec 2002 23:59:27 +0000 (23:59 +0000)]
2002-12-04  H.J. Lu <hjl@gnu.org>

* elfxx-ia64.c (get_local_sym_hash): Use section ID instead of
BFD address when constructing local name.

21 years ago * emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
amodra [Wed, 4 Dec 2002 23:56:13 +0000 (23:56 +0000)]
* emultempl/elf32.em (gld${EMULATION_NAME}_place_orphan): Set
load_base for orphans that follow a section with load_base set.

21 years agodaily update
amodra [Wed, 4 Dec 2002 23:00:33 +0000 (23:00 +0000)]
daily update

21 years ago2002-12-04 David Carlton <carlton@math.stanford.edu>
carlton [Wed, 4 Dec 2002 23:00:12 +0000 (23:00 +0000)]
2002-12-04  David Carlton  <carlton@math.stanford.edu>

* Makefile.in (f-exp.tab.c): Don't depend on c-exp.tab.c.

21 years ago2002-12-04 David Carlton <carlton@math.stanford.edu>
carlton [Wed, 4 Dec 2002 22:54:58 +0000 (22:54 +0000)]
2002-12-04  David Carlton  <carlton@math.stanford.edu>

* symtab.c (lookup_symbol_aux): Move minsym code into a separate
function.
(lookup_symbol_aux_minsyms): New function.

21 years ago2002-12-04 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 4 Dec 2002 20:58:05 +0000 (20:58 +0000)]
2002-12-04  Martin M. Hunt  <hunt@redhat.com>

* library/helpviewer.tcl (open_help): Fix KDE apps list.

* library/debugwin.itb (build_win): Fix help call.

21 years agofix comment
cgf [Wed, 4 Dec 2002 20:46:16 +0000 (20:46 +0000)]
fix comment

21 years ago2002-12-04 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 4 Dec 2002 20:46:02 +0000 (20:46 +0000)]
2002-12-04  Martin M. Hunt  <hunt@redhat.com>

* library/regwin.itb (update): Remove some old code
that marked registers as changed when the target started.
(_build_win): Make changed registers more visible by
changing their bg to Colors(change).

* library/prefs.tcl (pref_set_option_db): Create a new
Color(change) which is the color of text indicating a change.
Current default is green.

* library/vartree.itb (_init_data): Make changed values
Color(change). Can't change bg, so we change fill color.

21 years ago* netdb.cc: New file.
cgf [Wed, 4 Dec 2002 20:44:16 +0000 (20:44 +0000)]
* netdb.cc: New file.
* Makeile.in (DLL_OFILES): Add reference to the new netdb.cc file.
* cygwin.din : Add new aliased exports for service and protocol enumerations in
netdb.cc.

21 years ago * cxx.cc: New file. Implement new, new[], delete and delete[]
corinna [Wed, 4 Dec 2002 20:36:22 +0000 (20:36 +0000)]
* cxx.cc: New file. Implement new, new[], delete and delete[]
operators and  __cxa_pure_virtual if compiled by gcc >=3.
* Makefile.in (DLL_OFILES): Add cxx.o.
Remove libstdc++.a from cygwin1.dll link step.

21 years ago * pa64solib.c: s/boolean/int/. Fixes a build failure on hppa64-hpux.
brobecke [Wed, 4 Dec 2002 17:53:26 +0000 (17:53 +0000)]
   * pa64solib.c: s/boolean/int/. Fixes a build failure on hppa64-hpux.

21 years ago2002-11-25 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 4 Dec 2002 17:49:26 +0000 (17:49 +0000)]
2002-11-25  Aldy Hernandez  <aldyh@redhat.com>

* ppc-opc.c: Remove evmwlssf, evmwlssfa, evmwlsmf, evmwlsmfa,
evmwlssfaaw, evmwlsmfaaw, evmwlssfanw, evmwlsfanw.

21 years ago * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Renamed from IN_SIGTRAMP,
brobecke [Wed, 4 Dec 2002 17:37:58 +0000 (17:37 +0000)]
   * config/pa/tm-hppah.h (PC_IN_SIGTRAMP): Renamed from IN_SIGTRAMP,
       which is an obsolete macro name.

21 years ago2002-12-04 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 4 Dec 2002 17:29:47 +0000 (17:29 +0000)]
2002-12-04  Aldy Hernandez  <aldyh@redhat.com>

* ppc-opc.c (PMRN): Remove.
(RA): Set to NB + 1.
(powerpc_opcodes): Change PMRN to SPR.
Change all RD to RS.
Change mftb to look like mftbl.
Move mftb before mftbl.
Add mfbbtar.
Add mtbbtar.
Change mfpmr to use PMR.
Change mtpmr to use PMR.
(RD): Remove.
(insert_ev2): Fix mask and shift.
(extract_ev2): Same.
(insert_ev4): Same.
(extract_ev4): Same.
(PMR): Define.
(extract_pmrn): Remove.
(insert_pmrn): Remove.

21 years ago * MAINTAINERS: Change e-mail address back to airs.com.
ian [Wed, 4 Dec 2002 17:11:34 +0000 (17:11 +0000)]
* MAINTAINERS: Change e-mail address back to airs.com.

21 years ago2002-12-04 Aldy Hernandez <aldyh@redhat.com>
aldyh [Wed, 4 Dec 2002 17:06:52 +0000 (17:06 +0000)]
2002-12-04  Aldy Hernandez  <aldyh@redhat.com>

* MAINTAINERS: Add self.

21 years ago * generic/gdbtk-hooks.c: Include tcl.h and tk.h to pull
kseitz [Wed, 4 Dec 2002 16:21:20 +0000 (16:21 +0000)]
    * generic/gdbtk-hooks.c: Include tcl.h and tk.h to pull
        in declarations for some Tk functions used in this file.
        * generic/gdbtk-cmds.c: Likewise.

21 years ago * elf32-m68k.c (struct elf_m68k_link_hash_table): Add sym_sec
schwab [Wed, 4 Dec 2002 15:07:12 +0000 (15:07 +0000)]
* elf32-m68k.c (struct elf_m68k_link_hash_table): Add sym_sec
member.
(elf_m68k_link_hash_table_create): Initialize it.
(elf_m68k_check_relocs): Handle symbols that are forced to be
local due to visibility changes.
(elf_m68k_adjust_dynamic_symbol): Likewise.
(elf_m68k_size_dynamic_sections): Likewise.
(elf_m68k_discard_copies): Likewise.
(elf_m68k_relocate_section): Likewise.

21 years ago * elf64-ppc.c (ppc64_elf_edit_opd): Correct typo.
amodra [Wed, 4 Dec 2002 11:08:16 +0000 (11:08 +0000)]
* elf64-ppc.c (ppc64_elf_edit_opd): Correct typo.

21 years ago * doublest.c (convert_floatformat_to_doublest): Cast exp_bias to int.
drow [Wed, 4 Dec 2002 05:40:40 +0000 (05:40 +0000)]
* doublest.c (convert_floatformat_to_doublest): Cast exp_bias to int.
* config/alpha/alpha-linux.mh (MH_CFLAGS): Add -mieee.

21 years agoFix previous checkin.
hunt [Wed, 4 Dec 2002 05:38:04 +0000 (05:38 +0000)]
Fix previous checkin.

21 years ago2002-12-03 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 4 Dec 2002 05:03:02 +0000 (05:03 +0000)]
2002-12-03  Martin M. Hunt  <hunt@redhat.com>

* library/vartree.itb (_but3): Add popup menu item to dump
memory at the value of the variable.

21 years ago * breakpoint.c (create_thread_event_breakpoint): Use xasprintf.
drow [Wed, 4 Dec 2002 04:53:12 +0000 (04:53 +0000)]
* breakpoint.c (create_thread_event_breakpoint): Use xasprintf.
(create_breakpoints): Make sure the addr_string field is not
NULL.

21 years ago2002-12-03 Andrew Cagney <ac131313@redhat.com>
cagney [Wed, 4 Dec 2002 03:20:29 +0000 (03:20 +0000)]
2002-12-03  Andrew Cagney  <ac131313@redhat.com>

* sparc-nat.c (fetch_inferior_registers)
(store_inferior_registers): Add comment on problem of LWP vs
threads.

From 2002-11-21 Daniel Jacobowitz <drow@mvista.com>
* lin-lwp.c (lin_lwp_fetch_registers): Remove.
(lin_lwp_store_registers): Remove.
(init_lin_lwp_ops): Use fetch_inferior_registers
and store_inferior_registers directly.
* sparc-nat.c (fetch_inferior_registers): Honor LWP ID.
(store_inferior_registers): Likewise.
Fix PR gdb/725.

21 years ago * gdb.base/selftest.exp: Update for current gdb.
drow [Wed, 4 Dec 2002 03:15:27 +0000 (03:15 +0000)]
* gdb.base/selftest.exp: Update for current gdb.

21 years ago * gdb.base/maint.exp: Only dump symbols from one source file
drow [Wed, 4 Dec 2002 03:13:21 +0000 (03:13 +0000)]
* gdb.base/maint.exp: Only dump symbols from one source file
or objfile.

21 years ago * gdb.base/step-test.exp: Allow MIPS to return to the line of a
drow [Wed, 4 Dec 2002 03:07:44 +0000 (03:07 +0000)]
* gdb.base/step-test.exp: Allow MIPS to return to the line of a
function call.

21 years agomerge from gcc
dj [Wed, 4 Dec 2002 02:05:31 +0000 (02:05 +0000)]
merge from gcc

21 years ago * Makefile.tpl: Add targets for configuring host subdirs in Makefile,
neroden [Wed, 4 Dec 2002 01:45:35 +0000 (01:45 +0000)]
* Makefile.tpl: Add targets for configuring host subdirs in Makefile,
and corresponding dependencies.
* Makefile.in: Regenerate.

21 years ago * dwarf2dbg.c (scale_addr_delta): Correct parameter. Move prototype
amodra [Wed, 4 Dec 2002 01:03:04 +0000 (01:03 +0000)]
* dwarf2dbg.c (scale_addr_delta): Correct parameter.  Move prototype
inside #if.

21 years ago2002-12-03 Andrew Cagney <ac131313@redhat.com>
cagney [Wed, 4 Dec 2002 00:05:52 +0000 (00:05 +0000)]
2002-12-03  Andrew Cagney  <ac131313@redhat.com>

* frame.h (get_frame_id): Convert to a function.
(null_frame_id, frame_id_p): Declare.
(frame_id_eq, frame_id_inner): Declare.
(frame_id_build): New function.
* frame.c (get_frame_id): Update.  Use null_frame_id.
(frame_find_by_id): Rewrite using frame_id_p, frame_id_eq and
frame_id_inner.
(null_frame_id, frame_id_p): Define.
(frame_id_eq, frame_id_inner): Define.
(frame_id_build): New function.
* varobj.c (varobj_create): Update.
(varobj_update): Update.
* valops.c (value_assign): Update.
(new_root_variable): Update.
* infrun.c (save_inferior_status): Update.
* breakpoint.c (watch_command_1): Update.

21 years ago*** empty log message ***
gdbadmin [Wed, 4 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * srec.c (srec_write_symbols): Restore '$' prefix to address
amodra [Tue, 3 Dec 2002 23:55:47 +0000 (23:55 +0000)]
* srec.c (srec_write_symbols): Restore '$' prefix to address
accidentally removed in 2002-04-04 change.
(srec_get_symtab): Use 0 instead of `(long) FALSE'.

21 years ago2002-12-03 Martin M. Hunt <hunt@redhat.com>
hunt [Tue, 3 Dec 2002 23:44:49 +0000 (23:44 +0000)]
2002-12-03  Martin M. Hunt  <hunt@redhat.com>

* library/vartree.itb (buildlayer): Check for error when updating
a variable's value.
(update_var): Ditto.

21 years ago * configure.in (host_tools): Order binutils, gas and ld for
neroden [Tue, 3 Dec 2002 23:34:20 +0000 (23:34 +0000)]
* configure.in (host_tools): Order binutils, gas and ld for
convenience in running the testsuites.

21 years agodaily update
amodra [Tue, 3 Dec 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago * Makefile.tpl: Introduce rules to serialize subconfigure runs.
neroden [Tue, 3 Dec 2002 22:53:59 +0000 (22:53 +0000)]
* Makefile.tpl: Introduce rules to serialize subconfigure runs.
* Makefile.in: Regenerate.
* configure.in: Introduce rules to serialize subconfigure runs.

21 years ago2002-12-03 Martin M. Hunt <hunt@redhat.com>
hunt [Tue, 3 Dec 2002 22:52:22 +0000 (22:52 +0000)]
2002-12-03  Martin M. Hunt  <hunt@redhat.com>

* library/srcpref.itb: Latest tk doesn't support
"-col" as a grid option.  Use "-column".

* library/regwin.itb: Ditto.

21 years ago2002-12-03 Martin M. Hunt <hunt@redhat.com>
hunt [Tue, 3 Dec 2002 22:25:10 +0000 (22:25 +0000)]
2002-12-03  Martin M. Hunt  <hunt@redhat.com>

* library/main.tcl: Require package "debug". Make
package loading a bit more robust.

21 years ago * config/pa/tm-hppah.h (SNAP1): Remove unused macro.
brobecke [Tue, 3 Dec 2002 22:13:37 +0000 (22:13 +0000)]
   * config/pa/tm-hppah.h (SNAP1): Remove unused macro.
       (SNAP2): Likewise.

21 years ago2002-12-03 Martin M. Hunt <hunt@redhat.com>
hunt [Tue, 3 Dec 2002 22:03:15 +0000 (22:03 +0000)]
2002-12-03  Martin M. Hunt  <hunt@redhat.com>

* library/pane.tcl: auto_mkindex cannot rebuild
tclIndex because it does not recognize the namespace
import in main.tcl.  To get it to work again, rename the
following:
body -> itcl::body
configbody -> itcl::configbody
class -> itcl::class
* library/panedwindow.tcl: Ditto.

* library/tclIndex: Regenerated.

* library/pkgIndex.tcl: Regenerated.

21 years ago * configure.in: Introduce BASE_CC_FOR_TARGET.
neroden [Tue, 3 Dec 2002 21:13:06 +0000 (21:13 +0000)]
* configure.in: Introduce BASE_CC_FOR_TARGET.
* Makefile.tpl: Reorganize and comment.  Introduce HOST_CONFIGARGS.
Realize configure-build-* targets.  Realize configure-target-* targets.
* Makefile.in: Regenerate.

21 years ago2002-12-03 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 3 Dec 2002 19:32:10 +0000 (19:32 +0000)]
2002-12-03  Andrew Cagney  <cagney@redhat.com>

* NEWS: Mention Daniel Jacobowitz's multi-threaded shared library
patch.

21 years agoFix typo in ChangeLog entry.
nickc [Tue, 3 Dec 2002 18:52:44 +0000 (18:52 +0000)]
Fix typo in ChangeLog entry.
Add paranoia checks to .PPC.EMB.apuinfo merging code.

21 years agoFix the merging of .PPC.EMB.apuinfo sections. Add a test to make sure that
nickc [Tue, 3 Dec 2002 18:24:27 +0000 (18:24 +0000)]
Fix the merging of .PPC.EMB.apuinfo sections.  Add a test to make sure that
the fix continues to work.

21 years agoinclude/opcode/
rth [Tue, 3 Dec 2002 18:15:40 +0000 (18:15 +0000)]
include/opcode/
        * ia64.h (enum ia64_opnd): Add IA64_OPND_LDXMOV.
bfd/
        * cpu-ia64-opc.c (elf64_ia64_operands): Add ldxmov entry.
opcodes/
        * ia64-opc-m.c: Add ld8.mov.
        * ia64-asmtab.c: Regenerate.
gas/
        * config/tc-ia64.c (operand_match): Add IA64_OPND_LDXMOV case.
gas/testsuite/
        * gas/ia64/ldxmov-1.[ds]: New.
        * gas/ia64/ldxmov-2.[ls]: New.
        * gas/ia64/ia64.exp: Run them.

21 years ago2002-12-03 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 3 Dec 2002 17:15:40 +0000 (17:15 +0000)]
2002-12-03  Andrew Cagney  <cagney@redhat.com>

* PROBLEMS: Mention PR gdb/725.

21 years ago * infcmd.c (construct_inferior_arguments): Handle empty arguments.
schwab [Tue, 3 Dec 2002 12:25:09 +0000 (12:25 +0000)]
* infcmd.c (construct_inferior_arguments): Handle empty arguments.

21 years ago * config/tc-w65.c (s_longa): Prototype. Make static, specify int arg.
amodra [Tue, 3 Dec 2002 12:01:43 +0000 (12:01 +0000)]
* config/tc-w65.c (s_longa): Prototype.  Make static, specify int arg.
(cons, s_align_bytes): Delete declaration.
(relax): Delete.
(md_begin): Constify "struct opinfo *" var.  Don't try to make "name"
strings common.
(dot): Delete unused function.
(w65_expression): Remove unused arg.
(parse_exp): Prototype.  Remove unused arg.  Adjust w65_expression
call.
(get_operands): Prototype.  Constify "struct opinfo *" arg.  Fix
parse_exp call.
(get_specific): Prototype.  Constify "struct opinfo *" arg and return
value.
(check): Remove unused function.
(build_Mytes): Prototype.  Constify "struct opinfo *" arg.  Abort
on unhandled switch case.
(md_assemble): Remove unused op_start, op_end, nlen, p vars.  Constify
"opcode".
(tc_crawl_symbol_chain): Delete unused function.
(tc_headers_hook): Likewise.
(tc_Nout_fix_to_chars): Likewise.
(md_undefined_symbol): Add ATTRIBUTE_UNUSED.
(md_parse_option): Likewise.
(md_convert_frag): Likewise.
(tc_coff_symbol_emit_hook): Likewise.
(md_show_usage): Likewise.
* config/tc-w65.h (tc_coff_sizemachdep): Declare.
(TC_PARSE_CONS_EXPRESSION): w65_expression takes one arg.
(w65_expression): Declare.

* po/POTFILES.in: Regenerate.

21 years ago * gas/arm/adrl.s: Test behaviour against globals too.
amodra [Tue, 3 Dec 2002 11:28:33 +0000 (11:28 +0000)]
* gas/arm/adrl.s: Test behaviour against globals too.
* gas/arm/adrl.d: Adjust.

21 years ago * config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE
amodra [Tue, 3 Dec 2002 11:27:26 +0000 (11:27 +0000)]
* config/tc-arm.c (arm_force_relocation): Return 0 for ARM_IMMEDIATE
and ARM_ADRL_IMMEDIATE.

21 years ago * configure: Move gcc_version_trigger stuff from here...
neroden [Tue, 3 Dec 2002 04:46:24 +0000 (04:46 +0000)]
* configure: Move gcc_version_trigger stuff from here...
* configure.in: ...to here.

* configure.in: Separate subconfigure options added by this file from
options given by the user.  Add machinery to put args for host
subconfigures into the Makefile.

* Makefile.tpl: Remove 'vault' targets.
* Makefile.tpl: Reorder and comment dependencies.
* Makefile.in: Regenerate.

21 years ago* gdb/objc-lang.c (objc_printstr): Add width arg to match
fedor [Tue, 3 Dec 2002 03:52:37 +0000 (03:52 +0000)]
* gdb/objc-lang.c (objc_printstr): Add width arg to match
printstr prototype.
(compare_selectors): Add 'const' to arg types.
(compare_classes): Likewise.
(find_imps): Cast msym pointer to avoid compiler warning.
(print_object_command): Validate the address before
passing it to the print routine.
(find_objc_msgcall_submethod): Change function argument to
return an int.
* objc-lang.h: Add 'extern' to all function declaration.
(value_nsstring): Add declaration.

21 years agoRevise gdbserv_{host,le,be}_bytes_{to,from}_reg() interfaces. Also add
kevinb [Tue, 3 Dec 2002 03:22:07 +0000 (03:22 +0000)]
Revise gdbserv_{host,le,be}_bytes_{to,from}_reg() interfaces.  Also add
support for mips64 targets.

21 years ago * somsolib.c (dld_cache): Replace boolean by int for field is_valid.
brobecke [Tue, 3 Dec 2002 00:13:44 +0000 (00:13 +0000)]
   * somsolib.c (dld_cache): Replace boolean by int for field is_valid.
       Fixes a build failure on HP/UX.

       * hpread.c (told_objfile): Replace boolean type by int. Fixes a build
       failure on HP/UX.
       (hpread_has_name): Advance declaration to avoid a compilation warning.
       (pst_syms_count): Add missing variable type. By change, the compiler
       was defaulting to int, which seems a good choice. Fixes a compilation
       warning.
       (pst_syms_size): Likewise.

21 years ago*** empty log message ***
gdbadmin [Tue, 3 Dec 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * hppa-tdep.c: Add #include "osabi.h" (for hppa_gdbarch_init).
brobecke [Mon, 2 Dec 2002 23:30:34 +0000 (23:30 +0000)]
   * hppa-tdep.c: Add #include "osabi.h" (for hppa_gdbarch_init).
       (hppa_gdbarch_init): Detect osabi from objfile. Will be needed
       later to set the proper gdbarch methods depending on the osabi.
       * Makefile.in (hppa-tdep.o): Add dependency on osabi.h.

21 years ago * osabi.h (gdb_osabi): Add two new enum values for HPUX ELF and SOM.
brobecke [Mon, 2 Dec 2002 23:26:29 +0000 (23:26 +0000)]
   * osabi.h (gdb_osabi): Add two new enum values for HPUX ELF and SOM.
       * osabi.c (gdb_osabi_name): Add strings images for the two new
       enum values.
       (generic_elf_osabi_sniffer): Handle HPUX objfiles.

21 years agodaily update
amodra [Mon, 2 Dec 2002 23:00:05 +0000 (23:00 +0000)]
daily update

21 years ago * cgen-dis.in: Include libiberty.h.
amodra [Mon, 2 Dec 2002 21:58:18 +0000 (21:58 +0000)]
* cgen-dis.in: Include libiberty.h.
* fr30-desc.c: Regenerate.
* fr30-dis.c: Regenerate.
* frv-desc.c: Regenerate.
* frv-dis.c: Regenerate.
* ip2k-asm.c: Regenerate.
* ip2k-desc.c: Regenerate.
* ip2k-dis.c: Regenerate.
* ip2k-opc.c: Regenerate.
* ip2k-opc.h: Regenerate.
* m32r-desc.c: Regenerate.
* m32r-dis.c: Regenerate.
* openrisc-desc.c: Regenerate.
* openrisc-dis.c: Regenerate.
* xstormy16-asm.c: Regenerate.
* xstormy16-desc.c: Regenerate.
* xstormy16-dis.c: Regenerate.

21 years ago * desc-cpu.scm (gen-maybe-multi-ifld): Remove superfluous parens.
amodra [Mon, 2 Dec 2002 21:53:52 +0000 (21:53 +0000)]
* desc-cpu.scm (gen-maybe-multi-ifld): Remove superfluous parens.
Add braces and cast for union field.
(gen-multi-ifield-nodes): Add braces and cast for union field.
(cgen_operand_table): Similarly fix sentinel.
(cgen_cpu_close): Constify "insns".  Formatting.
(cgen-desc.c): Include xregex.h.
* cpu/ip2k.opc (ip2k_cgen_insn_supported): Move to opc.c section.
Prototype.
<opc.c>: Include safe-ctype.h.
(ip2k_asm_hash): Use ISSPACE and TOLOWER.
(PARSE_FUNC_DECL): Declare.  Use to prototype parse_fr, parse_addr16,
parse_addr16_p, parse_addr16_cjp, parse_lit8 and parse_bit3.
(parse_fr): Constify "old_strp".  Correct type of "tempvalue".
Don't test it for >= 0.  Use ISSPACE rather than isspace.  Formatting.
(parse_addr16): Correct type of "value".  Formatting.
(parse_addr16_p): Likewise.
(parse_addr16_cjp): Likewise.
(parse_lit8): Likewise.
(parse_bit3): Formatting.
(PRINT_FUNC_DECL): Define.  Use to prototype print_fr, print_dollarhex,
print_dollarhex8, print_dollarhex16, print_dollarhex_addr16h,
print_dollarhex_addr16l, print_dollarhex_p, print_dollarhex_cj and
print_decimal.
(print_fr): Add ATTRIBUTE_UNUSED on unused args.  Formatting.
(print_dollarhex): Add ATTRIBUTE_UNUSED on unused args.
(print_dollarhex8): Likewise.
(print_dollarhex16): Likewise.
(print_dollarhex_addr16h): Likewise.
(print_dollarhex_addr16l): Likewise.
(print_dollarhex_p): Likewise.
(print_dollarhex_cj): Likewise.
(print_decimal): Likewise.
* cpu/xstormy16.opc (parse_mem8): Use ISALNUM rather than isalnum.

21 years ago * cgen.h (struct cgen_maybe_multi_ifield): Add "const PTR p" to union.
amodra [Mon, 2 Dec 2002 21:51:52 +0000 (21:51 +0000)]
* cgen.h (struct cgen_maybe_multi_ifield): Add "const PTR p" to union.
Constify "leaf" and "multi".

21 years ago2002-12-02 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 2 Dec 2002 21:35:13 +0000 (21:35 +0000)]
2002-12-02  Frank Ch. Eigler  <fche@redhat.com>

* tracedis.c: s/boolean/bfd_boolean/ throughout, to match bfd change.

21 years agoFix tipo.
cagney [Mon, 2 Dec 2002 20:44:48 +0000 (20:44 +0000)]
Fix tipo.

21 years ago2002-12-02 Andrew Cagney <ac131313@redhat.com>
cagney [Mon, 2 Dec 2002 19:54:16 +0000 (19:54 +0000)]
2002-12-02  Andrew Cagney  <ac131313@redhat.com>

* MAINTAINERS (Java): Global maintainers are responible for Java.
(Past Maintainers): Mention both Anthony Green and Per Bothner as
part Java maintainers.

21 years ago * xcoffread.c (read_symbol_lineno): Replace type boolean by int.
brobecke [Mon, 2 Dec 2002 16:45:05 +0000 (16:45 +0000)]
   * xcoffread.c (read_symbol_lineno): Replace type boolean by int.
       Fixes a compilation failure on AiX.

21 years ago * config/powerpc/aix432.mh (NATDEPFILES): Add a comment explaining
brobecke [Mon, 2 Dec 2002 15:44:50 +0000 (15:44 +0000)]
   * config/powerpc/aix432.mh (NATDEPFILES): Add a comment explaining
       why aix-thread.o is not listed.