OSDN Git Service

pf3gnuchains/sourceware.git
21 years ago2002-09-16 Bruno Haible <bruno@clisp.org>
obrien [Tue, 17 Sep 2002 02:24:32 +0000 (02:24 +0000)]
2002-09-16  Bruno Haible  <bruno@clisp.org>
* elf32-i386.c: Don't defined ELF_ARCH etc. if this file is included
by a target variant implementation.
* elf64-alpha.c: Likewise.
* elf32-i386-fbsd.c: New file.
* elf64-alpha-fbsd.c: New file.
* targets.c: Support bfd_elf32_i386_freebsd_vec and
bfd_elf64_alpha_freebsd_vec.
* configure.in: Accept the vectors bfd_elf32_i386_freebsd_vec,
bfd_elf64_alpha_freebsd_vec.
* Makefile.am (BFD32_BACKENDS): Add elf32-i386-fbsd.lo.
(BFD32_BACKENDS_CFILES): Add elf32-i386-fbsd.c.
(BFD64_BACKENDS): Add elf64-alpha-fbsd.lo.
(BFD64_BACKENDS_CFILES): Add elf64-alpha-fbsd.c.
(elf32-i386-fbsd.lo, elf64-alpha-fbsd.lo): Add dependencies.
* config.bfd: For FreeBSD targets, set targ_defvec to a FreeBSD
specific targets. Define OLD_FREEBSD_ABI_LABEL if appropriate.

* config/tc-i386.h (ELF_TARGET_FORMAT): New macro.
(TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf32-i386".
* config/tc-i386.c (i386_target_format): Likewise.
* config/tc-alpha.h (ELF_TARGET_FORMAT): New macro.
(TARGET_FORMAT): Use ELF_TARGET_FORMAT instead of "elf64-alpha".

* emulparams/elf_i386_fbsd.sh: Set OUTPUT_FORMAT to
elf32-i386-freebsd.
* emulparams/elf64alpha_fbsd.sh: Set OUTPUT_FORMAT to
elf64-alpha-freebsd.

Approved by:  Alan Modra <amodra@bigpond.net.au>
              Message-ID: <20020715021113.GJ30362@bubble.sa.bigpond.net.au>

21 years agodaily update
amodra [Tue, 17 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 17 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-09-16 David Carlton <carlton@math.stanford.edu>
carlton [Mon, 16 Sep 2002 22:02:45 +0000 (22:02 +0000)]
2002-09-16  David Carlton  <carlton@math.stanford.edu>

* cp-valprint.c (cp_print_class_method): Correct args to
check_stub_method_group.

21 years ago * gdb701.exp: New file for testing varobj target type bug.
kseitz [Mon, 16 Sep 2002 19:01:43 +0000 (19:01 +0000)]
    * gdb701.exp: New file for testing varobj target type bug.
        * gdb701.c: New file.

21 years ago2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 16 Sep 2002 18:55:24 +0000 (18:55 +0000)]
2002-09-16  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/wchar.h (mbstate_t): Change protective flag to
        be _MBSTATE_T.
        * libc/include/sys/_types.h (_mbstate_t): Remove protective flag.
        [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF
        for Cygwin.
        * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag.

21 years ago* init.cc: Cleanup slightly and remove obsolete code.
cgf [Mon, 16 Sep 2002 16:09:54 +0000 (16:09 +0000)]
* init.cc: Cleanup slightly and remove obsolete code.

21 years ago * h8300-tdep.c: Multiarch. Drop `set machine' command in favor of
corinna [Mon, 16 Sep 2002 15:03:16 +0000 (15:03 +0000)]
* h8300-tdep.c: Multiarch.  Drop `set machine' command in favor of
`set architecture'.  Unify naming convention of functions.
(h8300_skip_prologue): Improve prologue analysis.
(h8300_push_arguments): Rewritten to more closely match GCC's
bizarre argument-passing behavior, along with the comment describing
said behavior.
* remote-hms.c (hms_regnames): Don't use NUM_REGS in definition.
* config/h8300/tm-h8300.h: Multiarch.  Just keep stuff needed by
sim, remote-e7000.c, remote-hms.c and remote.c

21 years ago2002-09-11 Robert Collins <rbtcollins@hotmail.com>
rbcollins [Mon, 16 Sep 2002 10:53:29 +0000 (10:53 +0000)]
2002-09-11  Robert Collins  <rbtcollins@hotmail.com>

        * init.cc (dll_entry): On thread detach, if the thread hasn't
        exit()ed, do so.
        * pthread.cc (pthread_getsequence_np): Remove the
        __pthread_getsequence_np wrapper. This requires errno.h.
        * thread.cc (pthread::self): Instantiate a new pthread object
        when called and none exists. return a NULL object if instantiation
        fails.
        (pthread::precreate): Factor out common code.
        (pthread::postcreate): Ditto.
        (pthread::create): Ditto.
        (pthread::exit): Remove the TLS value when we exit to prevent
        double exits.
        (MTinterface::Init): Bugfix - don't mark the TLS index as created
        if one was not allocated.
        Apply Extract Method to move pthread specific initialisation into
        pthread.
        (pthread::initMainThread): Extracted method from MTinterface::Init.
        (pthread::setTlsSelfPointer): Extracted method from various pthread
        calls, to make reading those functions easier.
        (pthread::setThreadIdtoCurrent): Ditto.
        (pthread::cancel_self): Bring into the .cc file, it's only used
        within the class.
        (pthread::getThreadId): Ditto.
        (pthread::thread_init_wrapper): Apply Extract Method to the TLS
        setting logic.
        (pthread::isGoodObject): Extracted method from various pthread
        wrapper calls, for clarity of reading.
        (pthread::getsequence_np): Converted from __pthread_getsquence_np.
        (__pthread_create): Apply Extract Method to the object validation.
        (__pthread_cancel): Ditto.
        (__pthread_join): Ditto.
        (__pthread_detach): Ditto.
        (__pthread_suspend): Ditto.
        (__pthread_continue): Ditto.
        (__pthread_getschedparam): Ditto.
        (__pthread_getsequence_np): Remove.
        (__pthread_setschedparam): Apply Extract Method to the object
        validation.
        (pthreadNull::getNullpthread): New method, return the pthreadNull
        object.
        (pthreadNull::pthreadNull): Private constructor to prevent accidental
        use.
        (pthreadNull::~pthreadNull): Prevent compile warnings.
        (pthreadNull::create): Override pthread behaviour.
        (pthreadNull::exit): Ditto.
        (pthreadNull::cancel): Ditto.
        (pthreadNull::testcancel): Ditto.
        (pthreadNull::setcancelstate): Ditto.
        (pthreadNull::setcanceltype): Ditto.
        (pthreadNull::push_cleanup_handler): Ditto.
        (pthreadNull::pop_cleanup_handler): Ditto.
        (pthreadNull::getsequence_np): Ditto.
        (pthreadNull::_instance): Ditto.
        * thread.h (pthread): Declare pre- and post-create.
        Move GetThreadId to private scope and rename to getThreadId.
        Move setThreadIdtoCurrent to private scope.
        Make create virtual.
        Make ~pthread virtual.
        Declare initMainThread.
        Declare isGoodObject.
        Make exit virtual.
        Make cancel virtual.
        Make testcancel virtual.
        Make setcancelstate virtual.
        Make setcanceltype virtual.
        Make push_cleanup_handler virtual.
        Make pop_cleanup_handler virtual.
        Declare getsequence_np.
        Declare setTlsSelfPointer.
        (pthreadNull): New null object class for pthread.
        (__pthread_getsequence_np): Remove.

21 years ago * lib/shell32.def (SHGetFolderPath[AW]): Add comment.
dannysmith [Mon, 16 Sep 2002 10:28:16 +0000 (10:28 +0000)]
* lib/shell32.def (SHGetFolderPath[AW]): Add comment.
* lib/shfolder.def: New file.

21 years ago * lib/shell32.def (SHGetFolderPath[AW]): Add comment.
dannysmith [Mon, 16 Sep 2002 10:27:46 +0000 (10:27 +0000)]
* lib/shell32.def (SHGetFolderPath[AW]): Add comment.
* lib/shfolder.def: New file.

21 years ago2002-09-16 Ranjit Matthew <rmathew@hotmail.com>
dannysmith [Mon, 16 Sep 2002 09:44:06 +0000 (09:44 +0000)]
2002-09-16  Ranjit Matthew  <rmathew@hotmail.com>

* include/stdio.h: Correct comment about directory separator.

21 years ago*** empty log message ***
gdbadmin [Mon, 16 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Mon, 16 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years agoAdd final newlines to utils
joshuadfranklin [Sun, 15 Sep 2002 19:24:36 +0000 (19:24 +0000)]
Add final newlines to utils

21 years ago2002-09-12 Igor Pechtchanski <pechtcha@cs.nyu.edu>
joshuadfranklin [Sun, 15 Sep 2002 15:19:49 +0000 (15:19 +0000)]
2002-09-12  Igor Pechtchanski <pechtcha@cs.nyu.edu>
* cygpath.cc (options) New global variable.
(main) Make short options global for easier change.
(print_version) Add a missing newline.

21 years ago* i386-tdep.c (gdb_print_insn_i386): Removed.
kettenis [Sun, 15 Sep 2002 13:53:35 +0000 (13:53 +0000)]
* i386-tdep.c (gdb_print_insn_i386): Removed.
(i386_print_insn): New function.
(i386_gdbarch_init): Set print_insn to i386_print_insns.
(_initialize_i386_tdep): Don't initialize tm_print_insn and
tm_print_insn_info.

21 years ago*** empty log message ***
gdbadmin [Sun, 15 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Sun, 15 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago* gdbtypes.c (check_stub_method_group): Initialize found_stub to
kettenis [Sat, 14 Sep 2002 15:39:52 +0000 (15:39 +0000)]
* gdbtypes.c (check_stub_method_group): Initialize found_stub to
zero.

21 years ago * arch-utils.c (legacy_pc_in_sigtramp): Move preprocessor expression
corinna [Sat, 14 Sep 2002 09:40:35 +0000 (09:40 +0000)]
* arch-utils.c (legacy_pc_in_sigtramp): Move preprocessor expression
for IN_SIGTRAMP to here.  Use IN_SIGTRAMP only if it's defined.
Guard usage of SIGTRAMP_START() by using SIGTRAMP_START_P.

21 years ago * gdb.base/command.exp: Don't expect a "Program exited normally"
corinna [Sat, 14 Sep 2002 09:31:34 +0000 (09:31 +0000)]
* gdb.base/command.exp: Don't expect a "Program exited normally"
string after running the commands execution on breakpoint tests.

21 years ago* win32-nat.c (child_create_inferior): Honor 'tty' command.
cgf [Sat, 14 Sep 2002 03:28:23 +0000 (03:28 +0000)]
* win32-nat.c (child_create_inferior): Honor 'tty' command.

21 years ago * gdbtypes.c (check_stub_method): Make static.
drow [Sat, 14 Sep 2002 02:09:39 +0000 (02:09 +0000)]
    * gdbtypes.c (check_stub_method): Make static.
        (check_stub_method_group): New function.
        * gdbtypes.h: Update prototypes.
        * cp-support.c: New file.
        * cp-support.h: New file.

        * stabsread.c: Include "cp-abi.h" and "cp-support.h".
        (update_method_name_from_physname): New function.
        (read_member_functions): Correct method names for operators
        and v3 constructors/destructors.  Separate v2 constructors and
        destructors.
        * Makefile.in (stabsread.o): Update dependencies.
        (SFILES): Add cp-support.c.
        (COMMON_OBS): Add cp-support.o.
        (cp_support_h, cp-support.o): Add.

        * cp-valprint.c (cp_print_class_method): Call
        check_stub_method_group instead of check_stub_method.  Remove
        extraneous QUITs.
        * p-valprint.c (pascal_object_print_class_method): Likewise.
        * valops.c (search_struct_method): Likewise.
        (find_method_list, value_struct_elt_for_reference): Likewise.

21 years agoMerge of XML output code from the official DejaGNU site
fnasser [Sat, 14 Sep 2002 00:31:38 +0000 (00:31 +0000)]
Merge ... XML output code from the official DejaGNU site

21 years agodaily update
amodra [Sat, 14 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Sat, 14 Sep 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-09-13 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 13 Sep 2002 23:21:44 +0000 (23:21 +0000)]
2002-09-13  Andrew Cagney  <cagney@redhat.com>

* gdbarch.sh (SIGTRAMP_END): Change to a predicate function.
* gdbarch.h, gdbarch.c: Regenerate.

21 years ago2002-09-13 Andrew Cagney <ac131313@redhat.com>
cagney [Fri, 13 Sep 2002 22:53:36 +0000 (22:53 +0000)]
2002-09-13  Andrew Cagney  <ac131313@redhat.com>

* frame.c (find_saved_register): Delete function.
* frame.h (find_saved_register): Delete declaration.
Fix PR gdb/631.

21 years agoFri Sep 13 14:59:55 2002 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 13 Sep 2002 22:15:32 +0000 (22:15 +0000)]
Fri Sep 13 14:59:55 2002  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (read_next_frame_reg): Re-hack using
  frame_register_unwind.

21 years ago Fix line numbers.
kseitz [Fri, 13 Sep 2002 21:29:42 +0000 (21:29 +0000)]
    Fix line numbers.

21 years ago * mi-var-child.exp: Use mi_step_to and mi_execute_to instead
kseitz [Fri, 13 Sep 2002 21:03:33 +0000 (21:03 +0000)]
    * mi-var-child.exp: Use mi_step_to and mi_execute_to instead
        of a bunch of repeated send_gdb/gdb_expect statements.

21 years agoMerge of KFAIL code from the official DejaGNU site
fnasser [Fri, 13 Sep 2002 21:02:20 +0000 (21:02 +0000)]
Merge of KFAIL code from the official DejaGNU site

21 years ago * tui.c (tui_rl_switch_mode): Remove unecessary TUI switch printfs.
ciceron [Fri, 13 Sep 2002 20:06:56 +0000 (20:06 +0000)]
* tui.c (tui_rl_switch_mode): Remove unecessary TUI switch printfs.
(tui_initialize_readline): Allow to use space to leave SingleKey
to enter one gdb command.
(tui_enable): Restore the TUI keymap when we are back to TUI.
(tui_disable): Restore normal keymap when leaving TUI.
* tuiIO.c (tui_redisplay_readline): Restore the SingleKey mode
when the buffer becomes empty and we are in tui_one_command_mode.

21 years ago * tuiIO.c (tui_setup_io): rl_already_prompted must be cleared
ciceron [Fri, 13 Sep 2002 19:47:21 +0000 (19:47 +0000)]
* tuiIO.c (tui_setup_io): rl_already_prompted must be cleared
when leaving TUI mode so that gdb prompt is displayed.

21 years ago * tuiStack.c (tui_make_status_line): Make sure the local buffer
ciceron [Fri, 13 Sep 2002 19:37:47 +0000 (19:37 +0000)]
* tuiStack.c (tui_make_status_line): Make sure the local buffer
is large enough to hold the complete line.

21 years agoFri Sep 13 07:42:09 2002 Andrew Cagney <cagney@redhat.com>
cagney [Fri, 13 Sep 2002 17:58:22 +0000 (17:58 +0000)]
Fri Sep 13 07:42:09 2002  Andrew Cagney  <cagney@redhat.com>

* mips-tdep.c (mips_get_saved_register): Re-hack using
  frame_register_unwind.

21 years ago * lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.
corinna [Fri, 13 Sep 2002 17:20:10 +0000 (17:20 +0000)]
* lib/gdb.exp (gdb_continue_to_end): Fix typo in expected string.

21 years ago From Mo Dejong <supermo@bayarea.net>:
kseitz [Fri, 13 Sep 2002 14:43:07 +0000 (14:43 +0000)]
    From Mo Dejong  <supermo@bayarea.net>:
        * win/tkWinWm.c (Tk_WmCmd): Check the WM_NEVER_MAPPED
        flag while processing the wm deiconify command.
        The WM_UPDATE_PENDING flag should never be set when
        WM_NEVER_MAPPED is set, but double check so that
        the implementation is more explicit and matches
        the comment just above.
        Return without invoking TkWmRestackToplevel or
        TkSetFocusWin on a toplevel that has never been
        mapped. This fixes a bug where a toplevel is mapped
        with the wrong size and is then resized by the
        idle call to MapFrame.

21 years ago From Mo Dejong <supermo@bayarea.net>:
kseitz [Fri, 13 Sep 2002 14:40:59 +0000 (14:40 +0000)]
    From Mo Dejong  <supermo@bayarea.net>:
        * win/tclWin32Dll.c (DllMain): Remove unused os
        variable since VC++ treats warnings as errors
        when compiling with symbols.

        * win/tclWinPort.h: Remove undefine of PASCAL
        symbol added on 2001-09-12. It caused
        crashing problems with sockets.

21 years agofix typo
cgf [Fri, 13 Sep 2002 13:05:52 +0000 (13:05 +0000)]
fix typo

21 years agofix typo
cgf [Fri, 13 Sep 2002 13:01:28 +0000 (13:01 +0000)]
fix typo

21 years agoDo not count FAKE operands when deciding if any operands have been skipped.
nickc [Fri, 13 Sep 2002 09:16:01 +0000 (09:16 +0000)]
Do not count FAKE operands when deciding if any operands have been skipped.

21 years agoFix Book-E opcodes
nickc [Fri, 13 Sep 2002 09:07:49 +0000 (09:07 +0000)]
Fix Book-E opcodes

21 years ago * syscalls.cc (seteuid32): Treat ILLEGAL_UID invalid.
corinna [Fri, 13 Sep 2002 09:00:28 +0000 (09:00 +0000)]
* syscalls.cc (seteuid32): Treat ILLEGAL_UID invalid.
(setegid32): Treat ILLEGAL_GID invalid.

21 years ago * gdb.base/call-strs.exp: Fix a small typo in one of the comments.
brobecke [Fri, 13 Sep 2002 00:43:09 +0000 (00:43 +0000)]
    * gdb.base/call-strs.exp: Fix a small typo in one of the comments.

21 years ago * gdbarch.sh (NAME_OF_MALLOC): New variable in the architecture
brobecke [Fri, 13 Sep 2002 00:38:48 +0000 (00:38 +0000)]
   * gdbarch.sh (NAME_OF_MALLOC): New variable in the architecture
       vector. Will be useful for Interix.
       * gdbarch.h, gdbarch.c: Regenerate.

       * valops.c (value_allocate_space_in_inferior): Replace hard-coded
       name of the malloc function by NAME_OF_MALLOC.

21 years ago * value.h (find_function_in_inferior): Add const keyword to
brobecke [Fri, 13 Sep 2002 00:18:33 +0000 (00:18 +0000)]
   * value.h (find_function_in_inferior): Add const keyword to
       one of the parameters. Allows us to invoke this function with
       a const char *.
       * valops.c (find_function_in_inferior): Likewise.

21 years agodaily update
amodra [Fri, 13 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Fri, 13 Sep 2002 00:00:02 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago * exec.c (xfer_memory): Fix compilation warning with old versions
brobecke [Thu, 12 Sep 2002 19:49:56 +0000 (19:49 +0000)]
    * exec.c (xfer_memory): Fix compilation warning with old versions
        of GCC.
        * tracepoint.c (trace_find_tracepoint_command): Likewise.

21 years ago2002-09-12 David Carlton <carlton@math.stanford.edu>
carlton [Thu, 12 Sep 2002 19:19:36 +0000 (19:19 +0000)]
2002-09-12  David Carlton  <carlton@math.stanford.edu>

* symtab.h: Run through gdb_indent.h.
Add 2002 to Copyright year list.

21 years agoImport chnages from master config repository.
nickc [Thu, 12 Sep 2002 15:59:37 +0000 (15:59 +0000)]
Import chnages from master config repository.

21 years ago * elf32-i386.c (dtpoff_base, tpoff): Don't crash if tls_segment is
jakub [Thu, 12 Sep 2002 14:01:20 +0000 (14:01 +0000)]
* elf32-i386.c (dtpoff_base, tpoff): Don't crash if tls_segment is
NULL.
(elf_i386_relocate_section): Return false after printing error about
unresolvable relocation.

21 years agoFix handling of R_ARM_THM_PC11
nickc [Thu, 12 Sep 2002 13:18:56 +0000 (13:18 +0000)]
Fix handling of R_ARM_THM_PC11

21 years agoHandle DW_OP_GNU_push_tls_address.
nickc [Thu, 12 Sep 2002 10:35:53 +0000 (10:35 +0000)]
Handle DW_OP_GNU_push_tls_address.
Synch up with the gcc's dwarf2.h

21 years ago * include/sys/time.h (timeval): Add struct definition and
dannysmith [Thu, 12 Sep 2002 10:34:54 +0000 (10:34 +0000)]
* include/sys/time.h (timeval): Add struct definition and
associated macros (copied from w32api/include/winsock.h).

21 years ago * include/winsock.h (timeval): Guard struct and associated
dannysmith [Thu, 12 Sep 2002 10:11:04 +0000 (10:11 +0000)]
* include/winsock.h (timeval): Guard struct and associated
macros with _TIMEVAL_DEFINED.
* include/winsock2.h (timeval): Likewise.

21 years ago * x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded
amodra [Thu, 12 Sep 2002 08:39:25 +0000 (08:39 +0000)]
* x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded
mach constants.
* MAINTAINERS: Add myself to write after approval list.

21 years ago * ppc-dis.c (powerpc_dialect): Add missing PPC_OPCODE_CLASSIC.
amodra [Thu, 12 Sep 2002 03:58:37 +0000 (03:58 +0000)]
* ppc-dis.c (powerpc_dialect): Add missing PPC_OPCODE_CLASSIC.

21 years agomerge from gcc
dj [Thu, 12 Sep 2002 01:11:29 +0000 (01:11 +0000)]
merge from gcc

21 years agomerge from gcc
dj [Thu, 12 Sep 2002 01:11:20 +0000 (01:11 +0000)]
merge from gcc

21 years ago * osabi.c (gdb_osabi_name): Add entry for GDB_OSABI_INTERIX.
brobecke [Thu, 12 Sep 2002 00:26:30 +0000 (00:26 +0000)]
    * osabi.c (gdb_osabi_name): Add entry for GDB_OSABI_INTERIX.

21 years ago*** empty log message ***
gdbadmin [Thu, 12 Sep 2002 00:00:32 +0000 (00:00 +0000)]
*** empty log message ***

21 years agodaily update
amodra [Thu, 12 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago * osabi.h (gdb_osabi): Add new GDB_OSABI_INTERIX enum value for
brobecke [Wed, 11 Sep 2002 22:32:45 +0000 (22:32 +0000)]
   * osabi.h (gdb_osabi): Add new GDB_OSABI_INTERIX enum value for
       Interix.

21 years ago * mi-main.c (mi_cmd_data_list_register_names): Use cleanups
kseitz [Wed, 11 Sep 2002 21:49:04 +0000 (21:49 +0000)]
    * mi-main.c (mi_cmd_data_list_register_names): Use cleanups
        for the uiout list. Do the cleanups when returning an error.
        (mi_cmd_data_list_changed_registers): Ditto.
        (mi_cmd_data_list_register_values): Use cleanups for the uiout list
        and tuples. Do the cleanups when returning errors.

21 years ago * elf32-h8300.c (elf32_h8_relax_section): Fix typo.
law [Wed, 11 Sep 2002 19:19:11 +0000 (19:19 +0000)]
* elf32-h8300.c (elf32_h8_relax_section): Fix typo.

21 years ago2002-09-11 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Wed, 11 Sep 2002 18:36:38 +0000 (18:36 +0000)]
2002-09-11  Jeff Johnston  <jjohnstn@redhat.com>

        * acinclude.m4 (enable-newlib-mb): Change check to
        default newlib_mb variable to empty string rather than "no".
        * configure.host: Remove hard-coding of -DMB_CAPABLE for
        x86-linux and Cygwin.  Add code to check for newlib_mb
        being unset in which case set to "yes" for x86-linux and
        Cygwin.  Change check for newlib_mb being "yes" to allow
        for an empty string.
        * configure.in (_MB_LEN_MAX): New AC_DEFINE.
        * newlib.hin (_MB_LEN_MAX): New define to configure.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * libc/include/limits.h: New file.
        * libc/sys/linux/include/limits.h: Ditto.
        * doc/aclocal.m4 doc/configure libc/aclocal.m4
          libc/configure libc/machine/aclocal.m4
          libc/machine/configure libc/machine/a29k/aclocal.m4
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
          libc/machine/fr30/configure libc/machine/frv/aclocal.m4
          libc/machine/frv/configure libc/machine/h8300/aclocal.m4
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
          libc/machine/m32r/configure libc/machine/m68hc11/aclocal.m4
          libc/machine/m68hc11/configure libc/machine/m68k/aclocal.m4
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
          libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
          libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
          libc/machine/tic80/configure libc/machine/v850/aclocal.m4
          libc/machine/v850/configure libc/machine/w65/aclocal.m4
          libc/machine/w65/configure libc/machine/xscale/aclocal.m4
          libc/machine/xscale/configure
          libc/machine/xstormy16/aclocal.m4
          libc/machine/xstormy16/configure libc/machine/z8k/aclocal.m4
          libc/machine/z8k/configure libc/sys/aclocal.m4
          libc/sys/configure libc/sys/a29khif/aclocal.m4
          libc/sys/a29khif/configure libc/sys/arc/aclocal.m4
          libc/sys/arc/configure libc/sys/arm/aclocal.m4
          libc/sys/arm/configure libc/sys/cygwin/aclocal.m4
          libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4
          libc/sys/d10v/configure libc/sys/decstation/aclocal.m4
          libc/sys/decstation/configure libc/sys/go32/aclocal.m4
          libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4
          libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4
          libc/sys/h8500hms/configure libc/sys/idt/aclocal.m4
          libc/sys/idt/configure libc/sys/linux/aclocal.m4
          libc/sys/linux/configure libc/sys/linux/machine/aclocal.m4
          libc/sys/linux/machine/configure
          libc/sys/linux/machine/i386/aclocal.m4
          libc/sys/linux/machine/i386/configure
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
          libc/sys/mmixware/aclocal.m4 libc/sys/mmixware/configure
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
          libm/aclocal.m4 libm/configure: Regenerated.

21 years agoNew TI port supports both C4x and C3x series of DSPs.
nickc [Wed, 11 Sep 2002 14:42:44 +0000 (14:42 +0000)]
New TI port supports both C4x and C3x series of DSPs.

21 years agoCheck functionname_ptr and line_ptr before deciding we've found a symbol.
nickc [Wed, 11 Sep 2002 14:30:53 +0000 (14:30 +0000)]
Check functionname_ptr and line_ptr before deciding we've found a symbol.

21 years agoUpdate translations
nickc [Wed, 11 Sep 2002 13:52:10 +0000 (13:52 +0000)]
Update translations

21 years ago * grp.cc (initgroups): Call groups::clear_supp to free the
corinna [Wed, 11 Sep 2002 10:37:11 +0000 (10:37 +0000)]
* grp.cc (initgroups): Call groups::clear_supp to free the
supplementary group sids that may have been set by setgroups.
* security.cc (cygsidlist::free_sids): Also zero the class members.
* security.h (groups::clear_supp): New.
Rename cygsidlist_unknown to cygsidlist_empty.

21 years ago * config/tc-i386.c (md_apply_fix3): Allow addend for
jakub [Wed, 11 Sep 2002 09:51:57 +0000 (09:51 +0000)]
* config/tc-i386.c (md_apply_fix3): Allow addend for
BFD_RELOC_386_TLS_LDO_32, BFD_RELOC_386_TLS_LE and
BFD_RELOC_386_TLS_LE_32.

21 years ago * ntsec.html: Add chapter for switching user context w/o password.
corinna [Wed, 11 Sep 2002 08:39:03 +0000 (08:39 +0000)]
* ntsec.html: Add chapter for switching user context w/o password.

21 years ago2002-06-05 Paul N. Hilfinger <hilfingr@otisco.mckusick.com>
msnyder [Wed, 11 Sep 2002 00:13:58 +0000 (00:13 +0000)]
2002-06-05  Paul N. Hilfinger  <hilfingr@otisco.mckusick.com>

* procfs.c (do_detach): Clear current signal, not just fault.
Corrects problem with breakpoint trap signal leaking to detached
process on Tru64.

21 years ago * lib/shell32.def: Add missing stubs.
dannysmith [Wed, 11 Sep 2002 00:10:12 +0000 (00:10 +0000)]
* lib/shell32.def: Add missing stubs.

21 years agodaily update
amodra [Wed, 11 Sep 2002 00:00:04 +0000 (00:00 +0000)]
daily update

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

21 years ago2002-09-10 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 10 Sep 2002 23:45:25 +0000 (23:45 +0000)]
2002-09-10  Michael Snyder  <msnyder@redhat.com>

* buildsym.c (finish_block): Protect against null pointer.

21 years ago2002-09-10 Andrew Cagney <cagney@redhat.com>
cagney [Tue, 10 Sep 2002 23:28:53 +0000 (23:28 +0000)]
2002-09-10  Andrew Cagney  <cagney@redhat.com>

* infcmd.c (default_print_registers_info): Send all output to
``file'' instead of ``gdb_stdout''.

21 years ago * mi-simplerun.exp (test_controlled_execution): Follow renaming of
kseitz [Tue, 10 Sep 2002 22:28:44 +0000 (22:28 +0000)]
    * mi-simplerun.exp (test_controlled_execution): Follow renaming of
        mi_run_to to mi_execute_to.
        * mi-var-cmd.exp: Likewise.
        * mi0-simplerun.exp: Likewise.
        * mi0-var-cmd.exp: Likewise.

21 years ago * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
kseitz [Tue, 10 Sep 2002 22:28:19 +0000 (22:28 +0000)]
    * lib/mi-support.exp (mi_runto): New proc. Does the same as gdb's
        runto proc.
        (mi_run_to_main): Use mi_runto.
        (mi_execute_to): Renamed from mi_run_to. Changed all callers.

21 years ago * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
kseitz [Tue, 10 Sep 2002 22:07:57 +0000 (22:07 +0000)]
    * lib/mi-support.exp: (mi_run_to_main): Allow anything to precede
        regexp for stopping at main. Could have multiple event notifications.
        Don't assume that main was declared with no parameters.
        (mi_next): Use mi_step_to.
        (mi_step): Use mi_next_to.

21 years ago2002-09-10 Michael Snyder <msnyder@redhat.com>
msnyder [Tue, 10 Sep 2002 21:31:18 +0000 (21:31 +0000)]
2002-09-10  Michael Snyder  <msnyder@redhat.com>

* mips-tdep.c (mips_extract_struct_value_address): Make val a
LONGEST, and use signed register read (addresses are sign-
extended for mips).

21 years ago * tui-hooks.c (tui_event_loop): New function.
ciceron [Tue, 10 Sep 2002 19:59:31 +0000 (19:59 +0000)]
* tui-hooks.c (tui_event_loop): New function.
(tui_command_loop): New function to override gdb loop and make sure
uiout is set according to TUI mode.
(tui_command_loop): Install the specific TUI command hook.
* tuiIO.c (tui_initialize_io): Initialize tui_old_uiout.
(tui_uiout, tui_old_uiout): Make public.
* tuiIO.h (tui_uiout, tui_old_uiout): Declare.

21 years ago * event-loop.c (gdb_do_one_event): Make public.
ciceron [Tue, 10 Sep 2002 19:53:24 +0000 (19:53 +0000)]
* event-loop.c (gdb_do_one_event): Make public.
* event-loop.h (gdb_do_one_event): Declare.

21 years ago* test commit
fche [Tue, 10 Sep 2002 19:04:38 +0000 (19:04 +0000)]
* test commit

21 years ago2002-09-10 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 10 Sep 2002 19:02:38 +0000 (19:02 +0000)]
2002-09-10  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: More updates.

21 years ago * infttrace.c (child_resume): Simplify and rework to avoid
law [Tue, 10 Sep 2002 17:34:04 +0000 (17:34 +0000)]
    * infttrace.c (child_resume): Simplify and rework to avoid
        TT_PROC_CONTINUE.

21 years agoCall new functions do_sections, do_sections64, depending on corefile (32-bit
nickc [Tue, 10 Sep 2002 10:39:03 +0000 (10:39 +0000)]
Call new functions do_sections, do_sections64, depending on corefile (32-bit
or 64-bit).

21 years agoAdd Ben Elliston as a maintainer for configure and testsuite changes.
nickc [Tue, 10 Sep 2002 08:21:41 +0000 (08:21 +0000)]
Add Ben Elliston as a maintainer for configure and testsuite changes.
Add paragraphs about testsuite and config patches.

21 years ago * gdb.base/default.exp: Fix expected string in `info float' test.
corinna [Tue, 10 Sep 2002 07:03:17 +0000 (07:03 +0000)]
* gdb.base/default.exp: Fix expected string in `info float' test.

21 years agoReviewed and approved by Kevin Buettner <kevinb@redhat.com>
fnf [Tue, 10 Sep 2002 02:13:15 +0000 (02:13 +0000)]
Reviewed and approved by Kevin Buettner <kevinb@redhat.com>

2002-09-09  Fred Fish  <fnf@intrinsity.com>
* simple.c:  Pass addresses to strncpy, not chars.

21 years agoReviewed and approved by Kevin Buettner <kevinb@redhat.com>
fnf [Tue, 10 Sep 2002 02:04:38 +0000 (02:04 +0000)]
Reviewed and approved by Kevin Buettner <kevinb@redhat.com>

2002-09-09  Fred Fish  <fnf@intrinsity.com>
* printcmd.c (print_scalar_formatted): "len" is the number of
target bytes, NOT the number of target bits.

21 years ago2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Tue, 10 Sep 2002 00:46:45 +0000 (00:46 +0000)]
2002-09-09  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/machine/i386/crt0.c (_start): Remove
        code that clears the .bss section.

21 years agodaily update
amodra [Tue, 10 Sep 2002 00:00:05 +0000 (00:00 +0000)]
daily update

21 years ago*** empty log message ***
gdbadmin [Tue, 10 Sep 2002 00:00:03 +0000 (00:00 +0000)]
*** empty log message ***

21 years ago2002-09-09 Jeff Johnston <jjohnstn@redhat.com>
jjohnstn [Mon, 9 Sep 2002 21:42:13 +0000 (21:42 +0000)]
2002-09-09  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/_types.h (_mbstate_t): Changed to use
        unsigned char internally.
        * libc/sys/linux/sys/_types.h: Ditto.
        * libc/include/sys/reent.h
        * libc/stdlib/mblen.c (mblen): Use function-specific state
        value from default reentrancy structure.
        * libc/stdlib/mblen_r.c (_mblen_r):  If return code from
        _mbtowc_r is less than 0, reset state __count value and
        return -1.
        * libc/stdlib/mbrlen.c (mbrlen): If the input state pointer
        is NULL, use the function-specific pointer provided in the
        default reentrancy structure.
        * libc/stdlib/mbrtowc.c: Add reentrant form of function.
        If input state pointer is NULL, use function-specific area
        provided in reentrancy structure.
        * libc/stdlib/mbsrtowcs.c: Ditto.
        * libc/stdlib/wcrtomb.c: Ditto.
        * libc/stdlib/wcsrtombs.c: Ditto.
        * libc/stdlib/mbstowcs.c: Reformat.
        * libc/stdlib/wcstombs.c: Ditto.
        * libc/stdlib/mbstowcs_r.c (_mbstowcs_r): If an error occurs,
        reset the state's __count value and return -1.
        * libc/stdlib/mbtowc.c: Ditto.
        * libc/stdlib/mbtowc_r.c (_mbtowc_r): Add restartable functionality.
        If number of bytes is used up before completing a valid multibyte
        character, return -2 and save the state.
        * libc/stdlib/wctomb_r.c (_wctomb_r): Define __state as __count
        and change some __count references to __state for clarity.

21 years ago * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for
law [Mon, 9 Sep 2002 21:31:40 +0000 (21:31 +0000)]
    * config/tc-hppa.c (md_apply_fix3): Don't set fx_done for
        marker relocations such as ENTRY/EXIT.
        * config/tc-hppa.h (MD_APPLY_SYM_VALUE): Definition applies
        to both OBJ_ELF and OBJ_SOM.