aboutsummaryrefslogtreecommitdiff
path: root/gdb/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2001-06-132001-06-13 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+12
* gdbthread.h (struct thread_info): Add new fields: current_line, current_symtab, step_sp, for saved infrun state. * thread.c (save_infrun_state, load_infrun_state): Save and restore current_line, current_symtab, and step_sp. (add_thread): Rather than adding assignments to initialize the new fields, just use memset (tp, 0, sizeof (*tp). This way future new fields will not be overlooked. * infrun.c (handle_inferior_event): Save and restore save_sp, current_line, and current_symtab when switching threads.
2001-06-132001-06-13 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni1-0/+5
* MAINTAINERS: Add Andrew Cagney as co-maintainer of testsuite/gdb.mi.
2001-06-13s/basename/lbasename/ clean up consequences of assuming lbasename()Andrew Cagney1-0/+11
returns const char *.
2001-06-13 * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)Eli Zaretskii1-0/+6
(SLASH_STRING): Remove unised definitions. * config/i386/xm-cygwin.h: Likewise.
2001-06-12* ui-out.c (ui_out_list_begin): Add parameter ``id''.Andrew Cagney1-0/+6
(make_cleanup_ui_out_list_begin_end): Ditto. Open the list. * ui-out.h: Update declarations.
2001-06-12s/char */const char */Andrew Cagney1-0/+12
2001-06-11s/char */const char */Andrew Cagney1-0/+17
2001-06-11 * completer.c (gdb_completer_loc_break_characters): New variable.Eli Zaretskii1-0/+43
(line_completion_function): If we are completing on locations, back up the start of word pointer past all characters which can appear in a location spec. (location_completer): New function. * completer.h: Add prototype for location_completer. * symtab.c (make_source_files_completion_list) (add_filename_to_list, not_interesting_fname): New functions. (filename_seen): New function, body extracted from output_source_filename. (output_source_filename): Call filename_seen to check if the file was already printed. (make_symbol_completion_list): If TEXT includes a double-quoted string, return an empty list, not NULL. (make_file_symbol_completion_list): New function, similar to make_symbol_completion_list but with an additional argument SRCFILE. * symtab.h (make_file_symbol_completion_list) (make_source_files_completion_list): Add prototypes. * breakpoint.c (_initialize_breakpoint): Make location_completer be the completion function for all commands which set breakpoints and watchpoints. (top-level): #include "completer.h". * tracepoint.c (_initialize_tracepoint): Make location_completer be the completion function for the "trace" command. (top-level): #include "completer.h". * printcmd.c (_initialize_printcmd): Make location_completer be the completion function for the "print", "inspect", "call", and "disassemble" commands. (top-level): #include "completer.h". * infcmd.c (_initialize_infcmd): Make location_completer be the completion function for the "go", "jump", and "until" commands. (top-level): #include "completer.h".
2001-06-10Remove trailing garbage from previous checkin.Christopher Faylor1-2/+2
2001-06-10* gnu-regex.c: Eliminate obsolete check for _MSC_VER.Christopher Faylor1-0/+20
* utils.c (notice_quit): Remove dummy function only used for _MSC_VER. * values.c (unpack_double): Remove obsolete check for _MSC_VER. * defs.h: Ditto. * m32r-rom.c: Ditto. * p-exp.y: Ditto. * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for faster compilation. (get_ds_base): Remove _MSC_VER version of this function. * nindy-share/ttyflush.c: Ditto. X * rdi-share/host.h: Ditto. X * ser-go32.c (dos_readchar): Remove call to obsolete function. * remote-sim.c (gdb_os_poll_quit): Ditto. * remote-e7000.c (expect): Remove obsolete #if 0'ed code. * main.c (captured_main): Eliminate special Cygwin checks. * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
2001-06-10Add missing $(ui_out_h) dependencies.Andrew Cagney1-0/+4
2001-06-10Make char *, const char *.Andrew Cagney1-0/+28
2001-06-092001-06-08 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+6
* breakpoint.c (delete_breakpoint): Pass mark_inserted to remove_breakpoint, so that the subsequent test for bpt->inserted will succeed, and duplicates will be fixed up.
2001-06-08 * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.Per Bothner1-0/+4
2001-06-07 * tracepoint.c (tracepoint_opertation): Add ui eventKeith Seitz1-0/+6
notifications. (trace_pass_command): Ditto.
2001-06-07Jeff Law sepped down as HP/UX maintainer.Andrew Cagney1-0/+1
2001-06-07Doco write-after-approval criteria.Andrew Cagney1-0/+4
2001-06-07* gdbarch.sh: Make sure that '[' doesn't interpret interestingJim Blandy1-0/+5
variable values as operators.
2001-06-07 * gdb-events.sh: Fix quote escaping which was obsoletedKeith Seitz1-0/+5
by last patch.
2001-06-07 * gdb-events.sh: Make if statements and testsKeith Seitz1-0/+10
a little more portable. Don't use shell's echo command to put strings containing escaped characeters into a file -- different flavors of /bin/sh require differnt levels of escaping. Use cat <<EOF instead. Our internal field separator is a colon. Change all commands which assume it is a space.
2001-06-07* lin-lwp.c (struct lwp_info): Add member `resumed'.Mark Kettenis1-0/+19
(iterate_over_lwps): Make sure we can handle CALLBACK deleting the LWP it's called for. (lin_lwp_attach): Mark LWP as resumed to make sure the fake SIGSTOP is reported. (resume_clear_callback): New function. (resume_set_callback): New function. (lin_lwp_resume): Mark all LWP's that we're going to resume as resumed, and unmark all others. (status_callback): Only report a pending wait status if we pretend that LP has been resumed. (resumed_callback): New function. (lin_lwp_wait): Add assertions to check that LWP's are properly marked as resumed. Partially revert 2001-05-25 patch by Michael Snyder: do not resume all threads. Add comment explaining the problems associated with this bit of code.
2001-06-07 * MAINTAINTERS: Syd Polk is stepping down fromKeith Seitz1-0/+5
maintaining libgui. I am replacing him.
2001-06-07 * config/mips/tm-irix6.h: New file.Eli Zaretskii1-0/+21
* config/mips/irix6.mh: New file. * config/mips/irix6.mt: New file. * config/mips/xm-irix6.h: New file. * config/mips/nm-irix6.h: New file. * mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the disassembler info in tm_print_insn_info as appropriate for the N32 ABI. Force N32 ABI to be the default if the CPU is R8000 or R10000. * configure.tgt (mips*-sgi-irix6*): Map to irix6. * configure.host (mips*-sgi-irix6*): Ditto.
2001-06-07s/abort/gdb_assert/Andrew Cagney1-0/+5
2001-06-06* cp-abi.h: Rearrange code to put documentation comments above theJim Blandy1-0/+4
functions we export. The actual function table itself simply refers to those functions. Minor doc fixes.
2001-06-06* gdbarch.sh: Changes to effect the following:Jim Blandy1-0/+8
* gdbarch.c (initialize_non_multiarch): New function. * gdbarch.h (initialize_non_multiarch): New declaration. * arch-utils.c (initialize_current_architecture): For non-multiarch configurations, call initialize_non_multiarch.
2001-06-06Delete some unnecessary PTR uses.Andrew Cagney1-0/+6
2001-06-06* arch-utils.c (generic_prepare_to_proceed): Allow for havingJonathan Larmour1-0/+11
stopped due to a Ctrl-C as well as breakpoints. * hppa-tdep.c (hppa_prepare_to_proceed): Add FIXME as this may not support thread switches after Ctrl-C. * lin-lwp.c (lin_lwp_prepare_to_proceed): Ditto. * linux-thread.c (linuxthreads_prepare_to_proceed): Ditto. * m3-nat.c (mach3_prepare_to_proceed): Ditto.
2001-06-06* gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; allJim Blandy1-0/+7
per-architecture data should be registered at initialization time, before any gdbarch objects get used, so the generality is unnecessary.
2001-06-06 * gdb-events.sh (function_list): Add tracepoint_create,Keith Seitz1-0/+7
tracepoint_delete, and tracepoint_modify events. * gdb-events.c: Regenerated. * gdb-events.h: Regenerated.
2001-06-06 * gdb-events.sh: Update copyrights.Keith Seitz1-0/+7
Change free to xfree. * gdb-events.c: Regenerated. * gdb-events.h: Regenerated.
2001-06-06 * source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEMEli Zaretskii1-0/+7
instead of #if HAVE_DOS_BASED_FILE_SYSTEM. * completer.c: Ditto. * cli/cli-cmds.c (cd_command): Ditto.
2001-06-04 * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.Eli Zaretskii1-0/+5
(mips_set_processor_type_command): Remove unused variable j. (mips_breakpoint_from_pc): Declare breakpoint instruction sequences as unsigned char, to avoid compiler warnings.
2001-06-04 * source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEMEli Zaretskii1-0/+21
instead of system-specific define's like _WIN32 and __MSDOS__. Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P. (top-level): #include "filenames.h". * solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_CHAR, ROOTED_P and SLASH_P. (top-level): #include "filenames.h". * defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions. (SLASH_STRING): Define only for _WIN32. * completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of __MSDOS_. * cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P. Replace system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM. (top-level): #include "filenames.h".
2001-06-04*** empty log message ***Eli Zaretskii1-0/+9
2001-06-02Expand the gdbarch per-architecture data vector as needed, ratherJim Blandy1-0/+16
than requiring that all per-architecture data be registered before the first gdbarch object is allocated. * gdbarch.sh: Changes to effect the following: * gdbarch.c (alloc_gdbarch_data, init_gdbarch_data): Delete declarations and definitions. (check_gdbarch_data): New function, and declaration. (gdbarch_alloc): Don't call alloc_gdbarch_data; leaving the fields zero is good enough. (free_gdbarch_data): Tolerate a null data pointer. Free only those data items gdbarch->data actually has allocated. (set_gdbarch_data, gdbarch_data): Call check_gdbarch_data. (gdbarch_update_p): No need to call init_gdbarch_data.
2001-06-02Make alignment of struct arguments in inferior function calls comply withKevin Buettner1-0/+9
the IA-64 Software Conventions and Runtime manual.
2001-06-022001-06-01 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+12
* thread.c (delete_step_resume_breakpoint): New function. Maintain internal consistency of the thread list while deleting a step_resume_breakpoint. * gdbthread.h (delete_step_resume_breakpoint): Export. * breakpoint.c (bpstat_find_step_resume_breakpoint): Make thread-aware: don't return a step_resume_breakpoint for the wrong thread. * infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint instead of delete_breakpoint_current_contents. (fetch_inferior_event): Ditto. (handle_inferior_event): Call delete_step_resume_breakpoint instead of delete_breakpoint.
2001-06-012001-06-01 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+6
* infrun.c (handle_inferior_event): After singlestepping over a thread-specific breakpoint, use currently_stepping() to decide whether to step or continue.
2001-06-01* gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): MakeJim Blandy1-0/+3
these static --- there's no reason other files should use these.
2001-06-01* partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)Jim Blandy1-0/+3
Fix memory leak.
2001-06-01* partial-stab.h: New complaint: function_outside_compilation_unit.Jim Blandy1-0/+6
(case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero, complain, and don't try to set pst's start address.
2001-06-01Prologue scanner modifications.Kevin Buettner1-0/+7
2001-06-01 * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise toKevin Buettner1-0/+6
match the location at which the kernel is placing the sigcontext struct.
2001-05-31* partial-stab.h: Revert previous patch.Christopher Faylor1-0/+4
2001-05-31* partial-stab.h: Consistently guard against pst being NULL.Christopher Faylor1-0/+4
2001-05-302001-05-25 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+6
* lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback, to consume the SIGSTOP generated by PTRACE_ATTACH. (stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed, try again to get the SIGSTOP event. (lin_lwp_wait): Resume all threads when ignoring a signal. This will insure that newly attached threads get resumed.
2001-05-302001-05-25 Michael Snyder <msnyder@redhat.com>Michael Snyder1-0/+1
* lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.
2001-05-29* symfile.c (compare_psymbols, compare_symbols): Declare usingAlexandre Oliva1-0/+5
PTR, as in the definition. * minsyms.c (compare_minimal_symbols): Likewise. * coffread.c (find_targ_sec): Likewise. * elfread.c (free_elfinfo, elf_locate_sections): Likewise. * mipsread.c (alphacoff_locate_sections): Likewise. * mdebugread.c (compare_blocks): Likewise.
2001-05-29* symfile.c (compare_psymbols, compare_symbols): Declare usingAlexandre Oliva1-0/+5
PTR, as in the definition.