OSDN Git Service

pf3gnuchains/pf3gnuchains4x.git
21 years ago2002-11-08 Martin M. Hunt <hunt@redhat.com>
hunt [Fri, 8 Nov 2002 20:56:43 +0000 (20:56 +0000)]
2002-11-08  Martin M. Hunt  <hunt@redhat.com>

* library/prefs.tcl (pref_save): Fix GDBtkInitVersion.
(pref_save): Check that value is not null before writing.

21 years ago2002-11-08 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 8 Nov 2002 20:48:53 +0000 (20:48 +0000)]
2002-11-08  Andrew Cagney  <ac131313@redhat.com>

* Makefile.in (frame.o): Update dependencies.
* blockframe.c (current_frame, frame_obstack_alloc)
(frame_saved_regs_zalloc, get_current_frame)
(set_current_frame, create_new_frame)
(set_unwind_by_pc, get_next_frame)
(flush_cached_frames, reinit_frame_cache)
(frame_saved_regs_register_unwind)
(deprecated_generic_get_saved_register)
(get_prev_frame, get_frame_pc, get_frame_saved_regs)
(_initialize_blockframe): Move frame code from
here...
* frame.c: ...to here.  Include "gdb_obstack.h", "gdbcore.h",
"annotate.h" and "dummy-frame.h".
(_initialize_frame): New function.

21 years ago2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 8 Nov 2002 20:39:06 +0000 (20:39 +0000)]
2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>

        * mi-main.c (mi_command_loop): Initialize raw_stdout and gdb_stdout
        only if mi version is <= 1.
        (mi_init_ui): Initialize raw_stdout and gdb_stdout if mi version
        is > 1 so startup message is treated as console output.  This is
        part of fix for PR gdb/604.

21 years ago2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Fri, 8 Nov 2002 20:37:49 +0000 (20:37 +0000)]
2002-11-08  Jeff Johnston  <jjohnstn@redhat.com>

        * lib/mi-support.exp (mi_gdb_start): Verify the startup message
        for mi1 and current mi is in correct format.  New mi startup message
        should be in mi console format.  This is part of fix for PR gdb/604.

21 years ago* dwarf2read.c (read_func_scope): Restore list_in_scope properly
jimb [Fri, 8 Nov 2002 20:05:10 +0000 (20:05 +0000)]
* dwarf2read.c (read_func_scope): Restore list_in_scope properly
when we finish a function a context.
* buildsym.h (outermost_context_p): New macro.
(Bug analyzed by David Edelsohn.)

21 years ago2002-11-08 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 8 Nov 2002 19:41:59 +0000 (19:41 +0000)]
2002-11-08  Andrew Cagney  <ac131313@redhat.com>

* blockframe.c: Include "dummy-frame.h".
(struct dummy_frame, dummy_frame_stack)
(generic_find_dummy_frame, deprecated_generic_find_dummy_frame)
(generic_pc_in_call_dummy, deprecated_read_register_dummy)
(generic_push_dummy_frame, generic_save_dummy_frame_tos)
(generic_save_call_dummy_addr, generic_pop_current_frame)
(generic_pop_dummy_frame, generic_fix_call_dummy)
(generic_fix_call_dummy, generic_call_dummy_register_unwind): Move
dummy frame code from here...
* dummy-frame.c: ...to here.  New file.
* dummy-frame.h: New file.
(generic_call_dummy_register_unwind): Declare.
(generic_find_dummy_frame): Declare.
* Makefile.in (SFILES): Add dummy-frame.c.
(dummy-frame.o): Specify dependencies.
(dummy_frame_h): Define.
(COMMON_OBS): Add dummy-frame.o.
(blockframe.o): Update dependencies.

21 years ago* dwarf2read.c (read_func_scope): Restore local_symbols and
jimb [Fri, 8 Nov 2002 19:33:36 +0000 (19:33 +0000)]
* dwarf2read.c (read_func_scope): Restore local_symbols and
param_symbols after we finish the function context.  (Based on a
patch from David Edelsohn.)

21 years ago2002-11-08 David Carlton <carlton@math.stanford.edu>
carlton [Fri, 8 Nov 2002 19:16:16 +0000 (19:16 +0000)]
2002-11-08  David Carlton  <carlton@math.stanford.edu>

* linespec.c (symbol_found): New function.
(minsym_found): New function.
(decode_line_1): Separate out some code into separate functions.

21 years ago * i386-tdep.c (i386_frameless_signal_p): Make non static for
brobecke [Fri, 8 Nov 2002 17:34:31 +0000 (17:34 +0000)]
   * i386-tdep.c (i386_frameless_signal_p): Make non static for
       the benefit of the interix target.
       * i386-tdep.h (i386_frameless_signal_p): Declare.

21 years ago2002-11-08 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 8 Nov 2002 17:03:26 +0000 (17:03 +0000)]
2002-11-08  Andrew Cagney  <ac131313@redhat.com>

* i386-tdep.h (i386_linux_orig_eax_regnum_p): Delete stray
declaration that snuck in from change below.

21 years ago2002-11-06 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 8 Nov 2002 16:52:35 +0000 (16:52 +0000)]
2002-11-06  Andrew Cagney  <cagney@redhat.com>

* i386-tdep.c (i386_mmx_regnum_p): Rename mmx_regnum_p.  Update
all callers.
(i386_fp_regnum_p): New function.  Use instead of FP_REGNUM_P.
(i386_fpc_regnum_p): New function.  Use instead of FPC_REGNUM_P.
(i386_sse_regnum_p): New function.  Use instead of SSE_REGNUM_P.
(i386_mxcsr_regnum_p): new function.  Use instead of
MXCSR_REGNUM_P.
* i386-tdep.h (SSE_REGNUM_P): Delete macro.
(i386_sse_regnum_p): Declare.
(i386_mxcsr_regnum_p): Declare.
(FP_REGNUM_P, FPC_REGNUM_P): Delete macros.
(i386_fp_regnum_p, i386_fpc_regnum_p): Declare.
(IS_FP_REGNUM): Update definition.
(IS_FPU_CTRL_REGNUM): Update definition..
(IS_SSE_REGNUM): Update definition..
* i386v-nat.c (register_u_addr): Update.
* go32-nat.c (fetch_register): Update.
(store_register): Update.

21 years ago * setfacl.c (usage): Add missing LF.
corinna [Fri, 8 Nov 2002 10:22:58 +0000 (10:22 +0000)]
* setfacl.c (usage): Add missing LF.

21 years ago2002-11-07 Martin M. Hunt <hunt@redhat.com>
hunt [Fri, 8 Nov 2002 05:25:19 +0000 (05:25 +0000)]
2002-11-07  Martin M. Hunt  <hunt@redhat.com>

* library/util.tcl (CygScrolledListbox): Delete.

* library/srctextwin.itb: Change from CygScrolledListbox
to iwidgets::scrolledlistbox. Set foreground and background.
Center popup over source window.

21 years ago Preparation work to convert the hppa targets to multiarch partial.
brobecke [Fri, 8 Nov 2002 03:35:47 +0000 (03:35 +0000)]
    Preparation work to convert the hppa targets to multiarch partial.

        * hppa-tdep.c: Add new functions replacing macro bodies from
        config/pa/tm-hppa.h. These function will be used to initialize
        the gdbarch structure. Import some comments from tm-hppa.h,
        and place them where appropriate, to avoid loosing them when
        we cleanup this file.
        (hppa_reg_struct_has_addr): New function.
        (hppa_inner_than): New function.
        (hppa_stack_align): New function.
        (hppa_pc_requires_run_before_use): New function.
        (hppa_instruction_nullified): New function.
        (hppa_register_byte): New function.
        (hppa_register_virtual_type): New function.
        (hppa_store_struct_return): New function.
        (hppa_cannot_store_register): New function.
        (hppa_frame_args_address): New function.
        (hppa_frame_locals_address): New function.
        (hppa_smash_text_address): New function.
        (hppa_coerce_float_to_double): New function. Requires the inclusion
        of "language.h".

        * Makefile.in (hppa-tdep.o): Add dependency on language.h.

        * tm-hppa.h (REG_STRUCT_HAS_ADDR): Change the definition of this
        gdbarch-eligible macro to a call to the new associated function
        created in hppa-tdep.c.
        (INNER_THAN): Likewise.
        (STACK_ALIGN): Likewise.
        (PC_REQUIRES_RUN_BEFORE_USE): Likewise.
        (INSTRUCTION_NULLIFIED): Likewise.
        (REGISTER_BYTE): Likewise.
        (REGISTER_VIRTUAL_TYPE): Likewise.
        (STORE_STRUCT_RETURN): Likewise.
        (CANNOT_STORE_REGISTER): Likewise.
        (FRAME_ARGS_ADDRESS): Likewise.
        (FRAME_LOCALS_ADDRESS): Likewise.
        (SMASH_TEXT_ADDRESS): Likewise.
        (COERCE_FLOAT_TO_DOUBLE): Likewise.
        (ABOUT_TO_RETURN): Delete, as no longer used.

21 years ago Preparation work to convert the hppa targets to multiarch partial.
brobecke [Fri, 8 Nov 2002 03:35:13 +0000 (03:35 +0000)]
    Preparation work to convert the hppa targets to multiarch partial.

        * hppa-tdep.c: Add new functions replacing macro bodies from
        config/pa/tm-hppa.h. These function will be used to initialize
        the gdbarch structure. Import some comments from tm-hppa.h,
        and place them where appropriate, to avoid loosing them when
        we cleanup this file.
        (hppa_reg_struct_has_addr): New function.
        (hppa_inner_than): New function.
        (hppa_stack_align): New function.
        (hppa_pc_requires_run_before_use): New function.
        (hppa_instruction_nullified): New function.
        (hppa_register_byte): New function.
        (hppa_register_virtual_type): New function.
        (hppa_store_struct_return): New function.
        (hppa_cannot_store_register): New function.
        (hppa_frame_args_address): New function.
        (hppa_frame_locals_address): New function.
        (hppa_smash_text_address): New function.
        (hppa_coerce_float_to_double): New function. Requires the inclusion
        of "language.h".

        * Makefile.in (hppa-tdep.o): Add dependency on language.h.

        * tm-hppa.h (REG_STRUCT_HAS_ADDR): Change the definition of this
        gdbarch-eligible macro to a call to the new associated function
        created in hppa-tdep.c.
        (INNER_THAN): Likewise.
        (STACK_ALIGN): Likewise.
        (PC_REQUIRES_RUN_BEFORE_USE): Likewise.
        (INSTRUCTION_NULLIFIED): Likewise.
        (REGISTER_BYTE): Likewise.
        (REGISTER_VIRTUAL_TYPE): Likewise.
        (STORE_STRUCT_RETURN): Likewise.
        (CANNOT_STORE_REGISTER): Likewise.
        (FRAME_ARGS_ADDRESS): Likewise.
        (FRAME_LOCALS_ADDRESS): Likewise.
        (SMASH_TEXT_ADDRESS): Likewise.
        (COERCE_FLOAT_TO_DOUBLE): Likewise.
        (ABOUT_TO_RETURN): Delete, as no longer used.

21 years ago * printcmd.c (disassemble_command): Remove obsolete function.
fnasser [Fri, 8 Nov 2002 03:21:33 +0000 (03:21 +0000)]
* printcmd.c (disassemble_command): Remove obsolete function.
(_initialize_printcmd): Do not create disassemble command here.
* cli/cli-cmds.c (disassemble_command): New function.  Implements
disassemble command.
(init_cli_cmds): Create disassemble command here instead.

* gdb.asm/asm-source.exp: Adjust patter to new disassembler routine
which explicitly prints the zero offset as "+0".

21 years ago2002-11-07 Aldy Hernandez <aldyh@redhat.com>
aldyh [Fri, 8 Nov 2002 00:46:21 +0000 (00:46 +0000)]
2002-11-07  Aldy Hernandez  <aldyh@redhat.com>

* ppc-opc.c (EVUIMM_4): Change bit size to 32.
(EVUIMM_2): Same.
(EVUIMM_8): Same.

21 years ago*** empty log message ***
gdbadmin [Fri, 8 Nov 2002 00:00:33 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * include/oleauto.h (DeregisterTypeLib): Remove.
dannysmith [Thu, 7 Nov 2002 23:59:59 +0000 (23:59 +0000)]
* include/oleauto.h (DeregisterTypeLib): Remove.
(UnRegisterTypeLib): Add prototype.

21 years ago2002-11-07 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 7 Nov 2002 23:43:50 +0000 (23:43 +0000)]
2002-11-07  Aldy Hernandez  <aldyh@redhat.com>

* ppc-opc.c (EVUIMM_4): Change bit size to 32.
(EVUIMM_2): Same.

21 years ago2002-11-07 Andrew Cagney <ac131313@redhat.com>
cagney [Thu, 7 Nov 2002 23:28:53 +0000 (23:28 +0000)]
2002-11-07  Andrew Cagney  <ac131313@redhat.com>

* MAINTAINERS: Add Daniel Jacobowitz to global maintainers list.

21 years agoDisable sym_vec too.
amodra [Thu, 7 Nov 2002 23:26:51 +0000 (23:26 +0000)]
Disable sym_vec too.

21 years ago * targets.c (_bfd_target_vector): Disable pef_vec and pef_xlib_vec.
amodra [Thu, 7 Nov 2002 23:13:29 +0000 (23:13 +0000)]
* targets.c (_bfd_target_vector): Disable pef_vec and pef_xlib_vec.

21 years agodaily update
amodra [Thu, 7 Nov 2002 23:00:09 +0000 (23:00 +0000)]
daily update

21 years ago * dwarf2.c: Revert last change.
amodra [Thu, 7 Nov 2002 22:19:58 +0000 (22:19 +0000)]
* dwarf2.c: Revert last change.

21 years ago2002-11-07 Andrew Cagney <ac131313@redhat.com>
cagney [Thu, 7 Nov 2002 21:43:23 +0000 (21:43 +0000)]
2002-11-07  Andrew Cagney  <ac131313@redhat.com>

* regcache.h (regcache_cooked_read_using_offset_hack)
(regcache_cooked_write_using_offset_hack): Delete declarations.
(register_changed): Delete declaration.
* regcache.c (regcache_cooked_read_using_offset_hack)
(regcache_cooked_write_using_offset_hack): Delete functions.
(cooked_xfer_using_offset_hack): Delete function.
(register_changed): Delete function.

21 years ago* macroscope.c: #include "complaints.h".
jimb [Thu, 7 Nov 2002 20:43:22 +0000 (20:43 +0000)]
* macroscope.c: #include "complaints.h".
(sal_macro_scope): Cope with filenames that appear in the symtabs,
but not in the macro table.
* Makefile.in (macroscope.o): Record dependency.

21 years ago2002-11-07 Joel Sherrill <joel@OARcorp.com>
jjohnstn [Thu, 7 Nov 2002 19:27:35 +0000 (19:27 +0000)]
2002-11-07  Joel Sherrill <joel@OARcorp.com>

        * libc/sys/rtems/machine: New directory.
        * libc/sys/rtems/machine/limits.h, libc/sys/rtems/machine/param.h,
        libc/sys/rtems/sys/param.h, libc/sys/rtems/sys/syslimits.h,
        libc/sys/rtems/sys/utime.h: New files added to make *-rtems newlib
        targets more BSD like when installed without requiring files to
        be overwritten at install point when RTEMS itself is installed.
        * Makefile.am: Pick up system dependent machine .h files such as
        might be found on a BSD-ish system.
        * Makefile.in: Regenerate.
        * libc/include/machine/types.h: When on an RTEMS target, define a
        few BSD flavor types.

21 years ago* fhandler_serial.cc (fhandler_serial::ioctl): Fix typo.
cgf [Thu, 7 Nov 2002 18:47:21 +0000 (18:47 +0000)]
* fhandler_serial.cc (fhandler_serial::ioctl): Fix typo.

21 years ago * PROBLEMS: Document gdb/816 (unable to read core file on alpha-osf).
brobecke [Thu, 7 Nov 2002 18:04:44 +0000 (18:04 +0000)]
    * PROBLEMS: Document gdb/816 (unable to read core file on alpha-osf).

21 years ago2002-11-07 Andrew Cagney <ac131313@redhat.com>
cagney [Thu, 7 Nov 2002 15:31:29 +0000 (15:31 +0000)]
2002-11-07  Andrew Cagney  <ac131313@redhat.com>

* regcache.c (deprecated_registers_fetched): Update.
* regcache.h (deprecated_registers_fetched): Rename
registers_fetched.
* remote-vxsparc.c (vx_read_register): Update.
* remote-vxmips.c (vx_read_register): Update.
* remote-vx68.c (vx_read_register): Update.
* irix5-nat.c (fetch_core_registers): Update.
* mipsm3-nat.c (fetch_inferior_registers): Update.
* sun3-nat.c (fetch_inferior_registers): Update.
* symm-nat.c (fetch_inferior_registers): Update.
* ns32knbsd-nat.c (fetch_inferior_registers): Update.
(fetch_core_registers): Update.
(fetch_kcore_registers): Update.
* mips-nat.c (fetch_inferior_registers): Update.
* corelow.c (get_core_registers): Update.
* a68v-nat.c (fetch_inferior_registers): Update.

21 years agoUse bfd_simple_get_relocated_section_contents() instead of bfd_get_section_contents().
nickc [Thu, 7 Nov 2002 14:36:31 +0000 (14:36 +0000)]
Use bfd_simple_get_relocated_section_contents() instead of bfd_get_section_contents().

21 years agoConvert ia64-gen to use getopt(). Add standard GNU options plus --srcdir.
nickc [Thu, 7 Nov 2002 14:33:47 +0000 (14:33 +0000)]
Convert ia64-gen to use getopt().  Add standard GNU options plus --srcdir.
Convert Makefile.am to pass --srcdir to ia64-gen.  Fix compile time warnings.

21 years ago * include/cygwin/fs.h: New file.
corinna [Thu, 7 Nov 2002 14:16:27 +0000 (14:16 +0000)]
* include/cygwin/fs.h: New file.
* include/cygwin/hdreg.h: New file.
* fhandler_floppy.cc (fhandler_floppy::ioctl): Add implementation for
HDIO_GETGEO, BLKGETSIZE, BLKGETSIZE64, BLKRRPART and BLKSSZGET ioctls.

21 years ago * include/winioctl.h: Add definition for IOCTL_DISK_UPDATE_DRIVE_SIZE.
corinna [Thu, 7 Nov 2002 14:14:00 +0000 (14:14 +0000)]
* include/winioctl.h: Add definition for IOCTL_DISK_UPDATE_DRIVE_SIZE.

21 years agoFix attribution last entry
hp [Thu, 7 Nov 2002 13:28:48 +0000 (13:28 +0000)]
Fix attribution last entry

21 years ago * elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOT,
hp [Thu, 7 Nov 2002 13:28:03 +0000 (13:28 +0000)]
* elf32-cris.c (cris_elf_relocate_section) <case R_CRIS_16_GOT,
case R_CRIS_32_GOT>: Correct test for filling in constant .got
contents, enabling for a non-DSO, for symbols defined in the
program with --export-dynamic.

21 years ago * ld-cris/expdyn6.d, ld-cris/weakref2.d, ld-cris/expdyn7.d,
hp [Thu, 7 Nov 2002 13:25:47 +0000 (13:25 +0000)]
* ld-cris/expdyn6.d, ld-cris/weakref2.d, ld-cris/expdyn7.d,
ld-cris/nodyn5.d, ld-cris/expdyn5.d: New tests.

21 years ago * elf64-ppc.c: Comment typo fixes.
amodra [Thu, 7 Nov 2002 12:45:29 +0000 (12:45 +0000)]
* elf64-ppc.c: Comment typo fixes.
(ppc64_elf_merge_private_bfd_data): Allow BFD_ENDIAN_UNKNOWN input.

21 years ago * fhandler_socket.cc (fhandler_socket::ioctl): Return correct flags
corinna [Thu, 7 Nov 2002 10:22:26 +0000 (10:22 +0000)]
* fhandler_socket.cc (fhandler_socket::ioctl): Return correct flags
for loopback interface when name is given on input instead of address.

21 years ago Only run fastcall test for x86 PE targets.
nickc [Thu, 7 Nov 2002 09:20:09 +0000 (09:20 +0000)]
 Only run fastcall test for x86 PE targets.

21 years ago * cygwin.din: Export fseeko() and ftello().
corinna [Thu, 7 Nov 2002 09:08:39 +0000 (09:08 +0000)]
* cygwin.din: Export fseeko() and ftello().
* include/cygwin/version.h: Bump API minor version.

21 years agoAdded/Updated Danish translation.
nickc [Thu, 7 Nov 2002 08:45:23 +0000 (08:45 +0000)]
Added/Updated Danish translation.

21 years agoOnly run tests for PE type x86 targets.
nickc [Thu, 7 Nov 2002 08:36:03 +0000 (08:36 +0000)]
Only run tests for PE type x86 targets.

21 years agoRevert part of previous patch: Display unknown symbol types in decimal, not hex.
nickc [Thu, 7 Nov 2002 08:33:15 +0000 (08:33 +0000)]
Revert part of previous patch: Display unknown symbol types in decimal, not hex.

21 years ago Put in place the framework necessary for multiarching the hppa targets.
brobecke [Thu, 7 Nov 2002 07:47:20 +0000 (07:47 +0000)]
   Put in place the framework necessary for multiarching the hppa targets.
       * hppa-tdep.c (hppa_gdbarch_init): New function.
       (hppa_dump_tdep): New function.
       (_initialize_hppa_tdep): Register the hppa gdbarch init function and
       tdep structure dumper.
       * config/pa/tm-hppa.h (GDB_MULTI_ARCH): New macro, defined to 0
       until the multi-arching conversion has partially been completed.

21 years agominor reformat
cgf [Thu, 7 Nov 2002 03:41:16 +0000 (03:41 +0000)]
minor reformat

21 years ago* fhandler_console.cc (keytable[]): Revert previous change. It would break too
cgf [Thu, 7 Nov 2002 03:35:02 +0000 (03:35 +0000)]
* fhandler_console.cc (keytable[]): Revert previous change.  It would break too
many things.

21 years ago* fhandler_console.cc (keytable[]): Redefine F1 - F5 to something a little more
cgf [Thu, 7 Nov 2002 03:16:08 +0000 (03:16 +0000)]
* fhandler_console.cc (keytable[]): Redefine F1 - F5 to something a little more
sensical.

21 years ago* syscalls.cc (getutid): Use UT_IDLEN where appropriate.
cgf [Thu, 7 Nov 2002 02:50:50 +0000 (02:50 +0000)]
* syscalls.cc (getutid): Use UT_IDLEN where appropriate.

21 years ago* include/utmp.h: Define WTMP_FILE. Define and use UT_IDLEN.
cgf [Thu, 7 Nov 2002 02:48:58 +0000 (02:48 +0000)]
* include/utmp.h: Define WTMP_FILE.  Define and use UT_IDLEN.

21 years ago2002-11-06 Andrew Cagney <ac131313@redhat.com>
cagney [Thu, 7 Nov 2002 02:45:26 +0000 (02:45 +0000)]
2002-11-06  Andrew Cagney  <ac131313@redhat.com>

* valops.c (value_assign): Merge lval_register case into
lval_reg_frame_relative.  Use frame_register and
regcache_cooked_write instead of get_saved_register and
write_register_bytes.  After flushing the register cache, try to
re-select the selected frame.

21 years ago2002-11-06 Andrew Cagney <ac131313@redhat.com>
cagney [Thu, 7 Nov 2002 02:40:28 +0000 (02:40 +0000)]
2002-11-06  Andrew Cagney  <ac131313@redhat.com>

* regcache.h (deprecated_register_valid): Rename register_valid.
* regcache.c: Update.
* ia64-aix-nat.c: Update.
* i386gnu-nat.c: Update.
* alpha-nat.c: Update.
* sparc-nat.c: Update.
* lynx-nat.c: Update.
* remote-mips.c: Update.

21 years ago* config/tc-mips.c (macro_build_lui): _gp_disp is not special on
aoliva [Thu, 7 Nov 2002 02:29:31 +0000 (02:29 +0000)]
* config/tc-mips.c (macro_build_lui): _gp_disp is not special on
NEWABI, but we should still emit HI16_S for non-PIC n32.

21 years ago * hppa-tdep.c (_initialize_hppa_tdep): Move function body
brobecke [Thu, 7 Nov 2002 02:19:56 +0000 (02:19 +0000)]
    * hppa-tdep.c (_initialize_hppa_tdep): Move function body
        to end of file, to be more consistent with the pratice followed
        by other targets.

21 years ago* include/cygwin/version.h: Bump API minor number for below export.
cgf [Thu, 7 Nov 2002 02:19:51 +0000 (02:19 +0000)]
* include/cygwin/version.h: Bump API minor number for below export.
* cygwin.din (pututline): New exported function.
* syscalls.cc (login): Use pututiline().
(setutent): Open utmp as read/write.
(endutent): Check if utmp file is open.
(utmpname): call endutent() to close current utmp file.
(getutid): Enable all cases, use strncmp() to compare ut_id fields.
(pututline): New.
* tty.cc (create_tty_master): Set ut_pid to current pid.

21 years ago2002-11-06 Andrew Cagney <ac131313@redhat.com>
cagney [Thu, 7 Nov 2002 01:55:16 +0000 (01:55 +0000)]
2002-11-06  Andrew Cagney  <ac131313@redhat.com>

* infcmd.c: Include "reggroups.h" and <ctype.h>.
(print_float_info): Print registers in float_reggroup.
(print_vector_info): Print registers in vector_reggroup.
(default_print_registers_info): When all, print registers in
all_reggroup.  Otherwize, print registers in general_reggroup.
(registers_info): Rewrite.  Add support for register groups.
Eliminate a goto.

21 years ago2002-11-06 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 7 Nov 2002 01:43:59 +0000 (01:43 +0000)]
2002-11-06  Jeff Johnston  <jjohnstn@redhat.com>

        * mi-cmd-var.c (mi_cmd_var_create): Change the function used to
        parse the frame addr from parse_and_eval_address() to
        string_to_core_addr().  This is a fix for PR gdb/494.

21 years ago2002-11-06 Aldy Hernandez <aldyh@redhat.com>
aldyh [Thu, 7 Nov 2002 00:54:09 +0000 (00:54 +0000)]
2002-11-06  Aldy Hernandez  <aldyh@redhat.com>

        * opcodes/ppc-opc.c: Change RD to RS for evmerge*.

21 years ago* emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
aoliva [Thu, 7 Nov 2002 00:46:58 +0000 (00:46 +0000)]
* emulparams/elf32btsmipn32.sh (TEXT_DYNAMIC): Define.
* emulparams/elf64btsmip.sh (TEXT_DYNAMIC): Likewise.

21 years ago2002-11-06 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
jjohnstn [Thu, 7 Nov 2002 00:44:30 +0000 (00:44 +0000)]
2002-11-06  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>

        * libc/include/wchar.h: Use _{BEGIN,END}_STD_C instead of extern "C".
        * libc/include/wctype.h: Ditto.

21 years ago * config/tc-alpha.c (alpha_validate_fix): Move code ...
rth [Thu, 7 Nov 2002 00:42:17 +0000 (00:42 +0000)]
    * config/tc-alpha.c (alpha_validate_fix): Move code ...
        (alpha_fix_adjustable): ... here.
        * config/tc-alpha.h (TC_VALIDATE_FIX): Remove.

21 years ago2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Thu, 7 Nov 2002 00:25:56 +0000 (00:25 +0000)]
2002-11-08 Jeff Johnston  <jjohnstn@redhat.com>

        * arm/Makefile.in: Add support for new pid specs.
        * arm/coff-iq80310.specs: Change to allow future support.
        * arm/elf-iq80310.specs: Ditto.
        * arm/elf-redboot.specs: Ditto.
        * arm/coff-redboot.ld: Add EH frame support.
        * arm/redboot-crt0.S: Add optional code to clear bss without
        memset.
        * arm/coff-pid.specs: New file.
        * arm/elf-pid.specs: New file.

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

21 years ago2002-11-06 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 6 Nov 2002 23:45:25 +0000 (23:45 +0000)]
2002-11-06  Martin M. Hunt  <hunt@redhat.com>

* library/locals.tcl (build_win): Fix so window opens
on Windows.

21 years ago * ld-sh/rd-sh.exp: Set asflags_save always.
kkojima [Wed, 6 Nov 2002 23:37:23 +0000 (23:37 +0000)]
* ld-sh/rd-sh.exp: Set asflags_save always.

21 years ago2002-11-06 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Wed, 6 Nov 2002 23:27:57 +0000 (23:27 +0000)]
2002-11-06  Elena Zannoni  <ezannoni@redhat.com>

* symtab.c (methods_info): Delete. It has been ifdeffed out for
ages.
(symtab_symbol_info): Remove eons old ifdeffed out code.
(_initialize_symtab): Remove prehistoric disabled 'info methods'
command.

21 years agodaily update
amodra [Wed, 6 Nov 2002 23:00:04 +0000 (23:00 +0000)]
daily update

21 years ago2002-11-08 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 6 Nov 2002 22:54:51 +0000 (22:54 +0000)]
2002-11-08 Jeff Johnston  <jjohnstn@redhat.com>
           Catherine Moore  <clm@redhat.com>

        * m32r/configure.in:  Do not require gcc to be able to link an
        executable.
        * m32r/configure: Regenerate.
        * m32r/Makefile.in: Directly reference gdbstub.

21 years ago* c-exp.y: Add missing semi-colons.
troth [Wed, 6 Nov 2002 22:48:24 +0000 (22:48 +0000)]
* c-exp.y: Add missing semi-colons.
* f-exp.y: Add missing semi-colons.
* m2-exp.y: Add missing semi-colons.
* p-exp.y: Add missing semi-colons.
Add empty action to start rule to avoid a type clash error when
building with bison >= 1.50.

21 years ago2002-11-06 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 6 Nov 2002 21:59:23 +0000 (21:59 +0000)]
2002-11-06  Martin M. Hunt  <hunt@redhat.com>

* library/debugwin.itb: Remove VariableWin.  Add VarTree.

21 years ago* elf64-mips.c (mips_elf64_slurp_one_reloc_table): Generate
aoliva [Wed, 6 Nov 2002 21:56:04 +0000 (21:56 +0000)]
* elf64-mips.c (mips_elf64_slurp_one_reloc_table): Generate
exactly three internal relocs per external reloc.  Set reloc_count
to the external reloc count.

21 years ago2002-11-06 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 6 Nov 2002 21:05:22 +0000 (21:05 +0000)]
2002-11-06  Martin M. Hunt  <hunt@redhat.com>

* library/watch.tcl: Completely rewritten to use VarTree.
* library/locals.tcl: Completely rewritten to use VarTree.
* library/variables.tcl: Deleted.
* library/vartree.ith: New file.
* library/vartree.itb: New file. Implements a variable
tree.
* library/tclIndex: Rebuilt.

21 years ago* macrotab.h (struct macro_source_file): Doc fix.
jimb [Wed, 6 Nov 2002 20:57:41 +0000 (20:57 +0000)]
* macrotab.h (struct macro_source_file): Doc fix.

21 years ago2002-11-06 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 6 Nov 2002 20:45:52 +0000 (20:45 +0000)]
2002-11-06  Martin M. Hunt  <hunt@redhat.com>

* library/globalpref.itb (_build_win): Add radiobox
to select KDE/GNOME/default for pref gdb/compat. Remove
browser option.

* library/regwin.itb (build_win): Colors(hbg) has been
removed so use Colors(bg) instead.

* library/prefs.tcl (pref_set_defaults): Add a new
preference "gdb/compat" which can be set to KDE, GNOME,
Windows or default. This allows us to change Insight's
behavior based on windowing system.
(pref_set_colors): Attempt to read in .gtkrc files.
Do different things for KDE vs GNOME.
(pref_load_default): New function. Load default colors.
(pref_load_gnome): New function. Find and open GNOME file.
(load_gnome_file): New function. Loads GNOME file.
(pref_set_option_db): New function.  Set option database.

21 years ago2002-11-06 Martin M. Hunt <hunt@redhat.com>
hunt [Wed, 6 Nov 2002 20:29:13 +0000 (20:29 +0000)]
2002-11-06  Martin M. Hunt  <hunt@redhat.com>

* generic/gdbtk-varobj.c: Remove FREEIF and replace with xfree.
Make format_string static.

(variable_update): Return an object
with "-1" in it on error.

21 years agoAdds support for fastcall symbols as used on Microsoft Windows platforms
nickc [Wed, 6 Nov 2002 19:36:17 +0000 (19:36 +0000)]
Adds support for fastcall symbols as used on Microsoft Windows platforms
(i386)

21 years ago2002-11-06 Richard Sandiford <rsandifo@redhat.com>
cgd [Wed, 6 Nov 2002 18:41:09 +0000 (18:41 +0000)]
2002-11-06  Richard Sandiford  <rsandifo@redhat.com>

        * gen-engine.c (print_engine_issue_prefix_hook): Don't add the
        global prefix to ENGINE_ISSUE_PREFIX_HOOK.
        (print_engine_issue_postfix_hook): Likewise ENGINE_ISSUE_POSTFIX_HOOK.

21 years ago2002-11-06 Richard Sandiford <rsandifo@redhat.com>
cgd [Wed, 6 Nov 2002 18:40:25 +0000 (18:40 +0000)]
2002-11-06  Richard Sandiford  <rsandifo@redhat.com>

        * Make-common.in (SIM_EXTRA_DISTCLEAN): New macro.
        (distclean): Depend on it.

21 years agoAdded Svein Seldal as maintainer for the TIC4X target
sveinse [Wed, 6 Nov 2002 17:32:51 +0000 (17:32 +0000)]
Added Svein Seldal as maintainer for the TIC4X target

21 years ago(stub_bytes): Mark as const.
nickc [Wed, 6 Nov 2002 17:12:05 +0000 (17:12 +0000)]
(stub_bytes): Mark as const.
Fix comment formatting.

21 years agooops - omitted fix to display unknown symbol type in hex.
nickc [Wed, 6 Nov 2002 17:02:36 +0000 (17:02 +0000)]
oops - omitted fix to display unknown symbol type in hex.

21 years agoAdd hex number to PROCESSOR-specific, OS-specific, and reserved symbol types.
nickc [Wed, 6 Nov 2002 17:00:56 +0000 (17:00 +0000)]
Add hex number to PROCESSOR-specific, OS-specific, and reserved symbol types.

21 years ago * generic/gdbtk-hooks.c (gdbtk_call_command): Make a null
kseitz [Wed, 6 Nov 2002 14:22:27 +0000 (14:22 +0000)]
    * generic/gdbtk-hooks.c (gdbtk_call_command): Make a null
        cleanup and run it after every issued gdb command. Apparently
        some commands depend on this. [This should really be part of
        main gdb...]

21 years agoAdd support for PEF, Mach-O, xSYM
nickc [Wed, 6 Nov 2002 13:26:25 +0000 (13:26 +0000)]
Add support for PEF, Mach-O, xSYM

21 years agoAh bah, missed these from last commit.
amodra [Wed, 6 Nov 2002 12:04:30 +0000 (12:04 +0000)]
Ah bah, missed these from last commit.

21 years ago * Makefile.am: Remove entries for elf32-qnx.[ch].
amodra [Wed, 6 Nov 2002 11:38:34 +0000 (11:38 +0000)]
* Makefile.am: Remove entries for elf32-qnx.[ch].
* Makefile.in: Regenerate.
* config.bfd: Change arm-nto to use bfd_elf32_{big|little}arm_vec,
ppc-nto to use bfd_elf32_powerpc{le}_vec, sh-nto to use
bfd_elf32_sh{l}_vec, and i386-nto to use bfd_elf32_i386_vec.
* configure.in: Remove support for bfd_elf32_sh{l}qnx_vec,
bfd_elf32_powerpc{le}qnx_vec, bfd_elf32_{big|little}armqnx_vec,
and bfd_elf32_i386qnx_vec, and removed elf32-qnx.lo from other targets.
bfd_elf32_sh{l}_vec, and i386-nto to use bfd_elf32_i386_vec.
* configure: Regenerate.
* elf32-qnx.c: Remove.
* elf32-qnx.h: Remove.
* elf.c: Remove calls to QNX specific set_nonloadable_filepos,
is_contained_by_filepos, and copy_private_bfd_data_p.
* elf32-i386.c: Remove QNX extended bfd support.
* elf32-ppc.c: Remove QNX extended bfd support.
* elf32-sh.c: Remove QNX extended bfd support.
* elfarm-nabi.c: Remove QNX extended bfd support.
* targets.c: Remove qnx vectors.
* elfxx-target.h (elf_backend_set_nonloadable_filepos): Remove
(elf_backend_is_contained_by_filepos): Remove.
(elf_backend_copy_private_bfd_data_p): Remove.
* po/SRC-POTFILES.in: Regenerate.

21 years ago* fhandler_serial.cc (fhandler_serial::ioctl): Don't try to figure out if OS
cgf [Wed, 6 Nov 2002 01:50:31 +0000 (01:50 +0000)]
* fhandler_serial.cc (fhandler_serial::ioctl): Don't try to figure out if OS
has the capability to retrieve RTS/CTS.  Just set default values if
DeviceIoControl fails.  (suggested by Sergey Okhapkin)

21 years ago*** empty log message ***
gdbadmin [Wed, 6 Nov 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago* fhandler_serial.cc (fhandler_serial::raw_read): Use correct type for
cgf [Tue, 5 Nov 2002 23:15:04 +0000 (23:15 +0000)]
* fhandler_serial.cc (fhandler_serial::raw_read): Use correct type for
minchars.
(fhandler_serial::ioctl): Set errno if the ClearCommError fails.
(fhandler_serial::tcsetattr): Use correct value for vmin_.
(fhandler_serial::tcgetattr): Ditto.

21 years agodaily update
amodra [Tue, 5 Nov 2002 23:00:03 +0000 (23:00 +0000)]
daily update

21 years ago * elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of
amodra [Tue, 5 Nov 2002 22:59:23 +0000 (22:59 +0000)]
* elf64-sparc.c (sparc64_elf_relocate_section): Adjust addend of
dynamic relocs against section symbols for the output section vma.

21 years ago2002-11-05 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 5 Nov 2002 22:38:10 +0000 (22:38 +0000)]
2002-11-05  Elena Zannoni  <ezannoni@redhat.com>

        From Jim Ingham  <jingham@apple.com>:
* event-top.c (gdb_disable_readline): New function.
(_initialize_event_loop): Move comment.

21 years ago2002-11-05 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 5 Nov 2002 22:31:32 +0000 (22:31 +0000)]
2002-11-05  Jeff Johnston  <jjohnstn@redhat.com>

        * gdb792.cc: New file to test patch for PR gdb/792.
        * gdb792.exp: Ditto.

21 years ago2002-11-05 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 5 Nov 2002 22:30:58 +0000 (22:30 +0000)]
2002-11-05  Jeff Johnston  <jjohnstn@redhat.com>

        * varobj.c (child_exists, cplus_number_of_children): Change
        STREQ macro references to strcmp.
        (cplus_name_of_child): Change code to handle the fact that
        fields are not necessarily contiguous with regards to their
        access control. This is a fix for PR gdb/792.

21 years ago2002-11-05 H.J. Lu <hjl@gnu.org>
hjl [Tue, 5 Nov 2002 21:53:12 +0000 (21:53 +0000)]
2002-11-05  H.J. Lu <hjl@gnu.org>

* config/tc-mips.c (support_64bit_objects): Check *l before it
is freed.

21 years ago2002-11-05 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 5 Nov 2002 21:44:04 +0000 (21:44 +0000)]
2002-11-05  Andrew Cagney  <ac131313@redhat.com>

* gdbarch.sh (GET_SAVED_REGISTER): Change to a predicate function.
* gdbarch.h, gdbarch.c: Regnerate.
* frame.h (frame_register): Declare.
* frame.c (frame_register): New function.
(get_saved_register): Test GET_SAVED_REGISTER_P before calling
GET_SAVED_REGISTER, otherwize call
generic_unwind_get_saved_register.
(frame_register_read): Use frame_register instead of
get_saved_register.

21 years ago2002-11-05 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 5 Nov 2002 21:35:45 +0000 (21:35 +0000)]
2002-11-05  Frank Ch. Eigler  <fche@redhat.com>

* dev.scm: Call getenv with a string, not a symbol.

21 years ago2002-11-05 Elena Zannoni <ezannoni@redhat.com>
ezannoni [Tue, 5 Nov 2002 21:17:31 +0000 (21:17 +0000)]
2002-11-05  Elena Zannoni  <ezannoni@redhat.com>

* event-loop.c (start_event_loop): Add comment.
Update copyright.

21 years ago2002-11-05 Andrew Cagney <ac131313@redhat.com>
cagney [Tue, 5 Nov 2002 20:52:42 +0000 (20:52 +0000)]
2002-11-05  Andrew Cagney  <ac131313@redhat.com>

       * infcmd.c (default_print_registers_info): Do not call
       PRINT_REGISTER_HOOK.