aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2001-10-18* README: Mention problems with HP/UX.Andrew Cagney2-2/+16
2001-10-17Functions to convert to/from CORE_ADDR and a string. Use in Insight.Andrew Cagney3-0/+60
2001-10-17 * symtab.c (lookup_block_symbol): Break out of linear searchJason Molenda2-0/+9
if we're past the range of possible matches. Original patch submission, with links to history/background behind it, here: http://sources.redhat.com/ml/gdb-patches/2001-09/msg00120.html
2001-10-16* win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding load ofChristopher Faylor3-18/+32
already loaded DLL. (register_loaded_dll): Convert loaded DLL name to "posix" format or it will confuse subsequent opening of the filename due to dos paths. (dll_symbol_command): Pass from_tty parameter to safe_symbol_file_add.
2001-10-162001-10-15 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+5
* symtab.c (lookup_block_symbol): Update comment.
2001-10-16* value.h (value_as_address): Rename value_as_pointer.Andrew Cagney16-39/+51
* eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c, jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c, values.c: Update.
2001-10-16202001-10-15 Jim Ingham <jingham@inghji.apple.com>Andrew Cagney2-1/+6
* valarith.c (value_sub): Don't pass a raw type to value_from_pointer, it has to go through check_typedef first.
2001-10-15Provide a valid non-multi-arch default for INTEGER_TO_ADDRESS.Andrew Cagney3-2/+8
2001-10-15Add INTEGER_TO_ADDRESS to hadle nasty harvard architectures that doAndrew Cagney10-34/+201
funnies to integer to address conversions.
2001-10-14* config/s390/nm-linux.h: Don't include <signal.h>.Mark Kettenis2-10/+4
(lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Remove.
2001-10-14* config/nm-linux.h (struct objfile): Remove forward declaration.Mark Kettenis1-0/+22
(linuxthreads_new_objfile): Remove prototype. (linuxthreads_pid_to_str): Remove prototype. (PREPARE_TO_PROCEED): Redefine in terms of lin_lwp_prepare_to_proceed. (struct target_waitstatus): Forward declaration. (child_wait): New prototype. (CHILD_WAIT): Define. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Moved here from arch-specific files. * config/alpha/nm-linux.h, config/arm/nm-linux.h, config/ia64/nm-linux.h, config/mips/nm-linux.h, config/powerpc/nm-linux.h: Don't include <signal.h>. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Remove. * config/i386/nm-linux.h: Likewise. (struct target_waitstatus, child_wait, CHILD_WAIT): Remove. * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES): Remove linux-thread.o. Add proc-service.o, thread-db.o and lin-lwp.o. (LOADLIBES): New variable.
2001-10-14* config/nm-linux.h (struct objfile): Remove forward declaration.Mark Kettenis9-138/+40
(linuxthreads_new_objfile): Remove prototype. (linuxthreads_pid_to_str): Remove prototype. (PREPARE_TO_PROCEED): Redefine in terms of lin_lwp_prepare_to_proceed. (struct target_waitstatus): Forward declaration. (child_wait): New prototype. (CHILD_WAIT): Define. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Moved here from arch-specific files. * config/alpha/nm-linux.h, config/arm/nm-linux.h, config/ia64/nm-linux.h, config/mips/nm-linux.h, config/powerpc/nm-linux.h: Don't include <signal.h>. (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals, GET_THREAD_SIGNAL): Remove. * config/i386/nm-linux.h: Likewise. (struct target_waitstatus, child_wait, CHILD_WAIT): Remove. * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES): Remove linux-thread.o. Add proc-service.o, thread-db.o and lin-lwp.o. (LOADLIBES): New variable.
2001-10-14* sparc-nat.c (fetch_core_registers): Remove redundant prototype.Mark Kettenis2-2/+2
2001-10-14* proc-service.c (BUILD_LWP): Redefine in terms of ptid_build.Mark Kettenis2-1/+3
2001-10-14Fix attaching to cloned processes. This fixes PR gdb/61.Mark Kettenis3-19/+132
* lin-lwp.c (struct lwp_info): Add new member `cloned'. (is_cloned) Removed. (lin_lwp_attach_lwp): Don't call stop_wait_callback. Instead call waitpid explicitly. Mark the LWP as cloned if waitpid fails and retry with __WCLONE flag. (lin_lwp_attach): Likewise. Warn if attaching to a cloned process. (detach_callback): Replace use of is_cloned with explicit check on LWP id and process id. (stop_wait_callback): Replace use of is_cloned with check if LWP is marked as cloned. [CHILD_WAIT] (child_wait): New function. (lin_lwp_wait): Replace use of is_cloned with check if LWP is marked as cloned. Mark newly detected LWPs as cloned if detected by waitpid with __WCLONE flag. (kill_wait_callback): Replace use of is_cloned with check if LWP is marked as cloned. * config/i386/nm-linux.h (struct target_waitstatus): Add forward declaration. (child_wait): Add prototype. (CHILD_WAIT): Define.
2001-10-13S/390 31 & 64 bit target and GNU/Linux native support.Andrew Cagney12-0/+2141
Contributed by D.J. Barrow <djbarrow@de.ibm.com> of IBM. * s390-nat.c, s390-tdep.c: New file. * config/s390/nm-linux.h, config/s390/s390.mh: New file. * config/s390/s390.mt, config/s390/s390x.mt: New file. * config/s390/tm-linux.h, config/s390/tm-s390.h: New file. * config/s390/xm-linux.h: New file. * NEWS: Update. * MAINTAINERS: Update.
2001-10-13From 2001-07-09 D.J. Barrow <djbarrow@de.ibm.com>:Andrew Cagney3-3/+10
* gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check CALL_DUMMY_BREAKPOINT_OFFSET_P. * gdbarch.c: Regenerate.
2001-10-13* thread-db.c: Fix a few formatting mistakes.Mark Kettenis2-25/+23
2001-10-13 * gdb.base/maint.exp: Treat $EXEEXT as optional in output.Corinna Vinschen2-2/+6
2001-10-13Fix capitalization.Christopher Faylor1-1/+1
2001-10-13* win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked listChristopher Faylor3-2/+7
pointer to beginning rather than one beyond beginning.
2001-10-122001-10-12 Daniel Jacobowitz <drow@mvista.com>Daniel Jacobowitz13-68/+63
* symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro. * symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS. (make_symbol_completion_list): Likewise. (make_symbol_overload_list): Likewise. * buildsym.c (finish_block): Likewise. * breakpoint.c (get_catch_sals): Likewise. * mdebugread.c (mylookup_symbol): Likewise. * objfiles.c (objfile_relocate): Likewise. * printcmd.c (print_frame_args): Likewise. * stack.c (print_block_frame_locals): Likewise. (print_block_frame_labels): Likewise. (print_frame_arg_vars): Likewise. * symmisc.c (dump_symtab): Likewise. * tracepoint.c (add_local_symbols): Likewise. (scope_info): Likewise. 2001-10-12 Daniel Jacobowitz <drow@mvista.com> * mi-cmd-stack.c (list_args_or_locals): Use ALL_BLOCK_SYMBOLS. 2001-10-12 Daniel Jacobowitz <drow@mvista.com> * generic/gdbtk-cmds.c (gdb_listfuncs): Use ALL_BLOCK_SYMBOLS. * generic/gdbtk-stack.c (gdb_block_vars): Likewise. (gdb_get_blocks): Likewise. (gdb_get_vars_command): Likewise. 5~
2001-10-12* Makefile.in (MAKEHTMLFLAGS): Remove -glossary; the most recentJim Blandy2-1/+6
version of texi2html (1.64) doesn't support this flag any more.
2001-10-12 * minsyms.c (msymbol_hash): Use better hash function.Daniel Jacobowitz3-4/+14
(msymbol_hash_iw): Likewise. Terminate loop at '(' properly. * objfiles.h: Increase MINIMAL_SYMBOL_HASH_SIZE to match modern binaries.
2001-10-12 * printcmd.c (print_frame_args): Move symbol iteration explicitlyDaniel Jacobowitz2-138/+143
inside the func != NULL block.
2001-10-122001-10-12 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-1/+6
* MAINTAINERS (Misc): Add Ian Roxborough as tcl/, tk/ and itcl/ maintainer.
2001-10-12* config/i386/tm-cygwin.h: include tm-i386.h instead of tm-i386v.h. This fixesChristopher Faylor4-41/+77
errors in "long long" handling for 'finish' and 'return' commands. * win32-nat.c (safe_symbol_file_add_stub): Avoid adding a shared library if it has already been loaded. (safe_symbol_file_add_cleanup): Don't mess with stderr or we won't see any error messages. (safe_symbol_file_add): Ditto. (solib_symbols_add): Make static. Accept 'from_tty' parameter. Pass it to safe_symbol_file_add. (core_dll_symbols_add): Accomodate extra solib_symbols_add parameter. (child_solib_add): Ditto. * win32-nat.c (handle_exception): Don't print "first chance" exceptions. (get_child_debug_event): Continue from exceptions if !handle_exception.
2001-10-12 * symtab.c (lookup_symtab): Removed.Tom Tromey2-40/+7
(lookup_symtab_1): Renamed to lookup_symtab.
2001-10-12*** empty log message ***gdbadmin1-1/+1
2001-10-11* win32-nat.c (get_child_debug_event): Close file handles created after processChristopher Faylor3-0/+15
creation and DLL load. (child_create_inferior): Close unneeded process/thread handle after thread creation.
2001-10-11*** empty log message ***gdbadmin1-1/+1
2001-10-10* mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.Jim Blandy2-11/+59
2001-10-10 * varobj.c (cplus_value_of_child): Deal with a failureKeith Seitz2-1/+9
to dereference a pointer object.
2001-10-10*** empty log message ***gdbadmin1-1/+1
2001-10-09*** empty log message ***gdbadmin1-1/+1
2001-10-08Document changes to hpux-thread.c.Joel Brobecker1-0/+7
2001-10-08Rewrite find_active_thread() and find_tcb() to use ptid_t, instead ofJoel Brobecker1-16/+12
overloading the thread and the pid into the same 32-bit value. Make associated necessary adaptations. Also remove unused variable cached_active_thread.
2001-10-08 * MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove myNicholas Duffek2-4/+6
entries.
2001-10-08*** empty log message ***gdbadmin1-1/+1
2001-10-07*** empty log message ***gdbadmin1-1/+1
2001-10-06* config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.Mark Kettenis2-0/+11
2001-10-06*** empty log message ***gdbadmin1-1/+1
2001-10-05*** empty log message ***gdbadmin1-1/+1
2001-10-042001-10-04 Frank Ch. Eigler <fche@redhat.com>Frank Ch. Eigler2-1/+6
* lib/insight-support.exp (gdbtk_start): Don't exit dejagnu if gdb child process crashes, just signal an error.
2001-10-04 * main.c (enable_external_editor): Don't declare.Tom Tromey2-16/+7
(captured_main): Don't set enable_external_editor.
2001-10-04*** empty log message ***gdbadmin1-1/+1
2001-10-03*** empty log message ***gdbadmin1-1/+1
2001-10-02Split SVR4/SunOS solib support.Kevin Buettner12-410/+938
2001-10-02* lib/gdb.exp (test_xfail_format): Simplify.Jim Blandy2-12/+21
* lib/gdb.exp (setup_xfail_format): Don't forget to put a `$' in front of the variable name `format'. Simplify `if'.
2001-10-02 2001-10-01 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+5
* Makefile.in (mipsread.o): Remove old dependency on partial-stab.h.