aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2001-06-07 * config/mips/tm-irix6.h: New file.Eli Zaretskii9-3/+239
* 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 Cagney2-2/+7
2001-06-07* gdb.base/return2.exp (main): Use values to test float and doubleJim Blandy1-2/+21
returns that are not NaN's, to avoid being confused by IEEE comparison rules.
2001-06-06* cp-abi.h: Rearrange code to put documentation comments above theJim Blandy2-46/+78
functions we export. The actual function table itself simply refers to those functions. Minor doc fixes.
2001-06-06* gdb.base/return2.exp (main): Use values to test float and doubleJim Blandy1-0/+6
returns that are not NaN's, to avoid being confused by IEEE comparison rules.
2001-06-062001-06-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+12
* gdb.threads/pthreads.exp (check_control_c): Return 0 for success, non-zero if control_c fails. Terminate the test on failure, rather than wait for 12 more tests to time out.
2001-06-06* gdb.base/exprs.exp ("sizeof (long long) > sizeof (long) (true)"):Jim Blandy2-2/+5
Don't forget to match the GDB prompt.
2001-06-06* gdb.trace/gdb_c_test.c, actions.c: Fix misspellings.Jim Blandy3-6/+10
2001-06-06* gdbarch.sh: Changes to effect the following:Jim Blandy5-0/+36
* 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 Cagney2-6/+8
2001-06-06* arch-utils.c (generic_prepare_to_proceed): Allow for havingJonathan Larmour6-12/+39
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 Blandy3-104/+95
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 Seitz4-0/+115
tracepoint_delete, and tracepoint_modify events. * gdb-events.c: Regenerated. * gdb-events.h: Regenerated.
2001-06-06Regenerate...Keith Seitz2-2/+2
* gdb-events.sh: Update copyrights. Change free to xfree. * gdb-events.c: Regenerated. * gdb-events.h: Regenerated.
2001-06-06 * gdb-events.sh: Update copyrights.Keith Seitz2-4/+11
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 Zaretskii4-5/+12
instead of #if HAVE_DOS_BASED_FILE_SYSTEM. * completer.c: Ditto. * cli/cli-cmds.c (cd_command): Ditto.
2001-06-05* gdb.base/help.exp: Update pattern to exclue `print-load-map'Jim Blandy2-1/+6
command.
2001-06-04 * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.Eli Zaretskii2-12/+20
(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 Zaretskii6-49/+58
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-04 * go32-nat.c (go32_wait): Change the return value to ptid_t.Eli Zaretskii3-2/+10
* config/djgpp/fnchange.lst: Add two new files in the gdb/testsuite/gdb.c++/ directory to the remapped names. * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
2001-06-02Expand the gdbarch per-architecture data vector as needed, ratherJim Blandy3-88/+120
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 Buettner2-6/+53
the IA-64 Software Conventions and Runtime manual.
2001-06-022001-06-01 Michael Snyder <msnyder@redhat.com>Michael Snyder5-7/+43
* 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 Snyder2-14/+28
* 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 Blandy2-2/+5
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 Blandy2-0/+5
Fix memory leak.
2001-06-01* partial-stab.h: New complaint: function_outside_compilation_unit.Jim Blandy2-8/+37
(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-01 * gdb.base/annota1.exp (info break): Match four or more spacesKevin Buettner2-1/+6
after "Address".
2001-06-01Prologue scanner modifications.Kevin Buettner2-1/+78
2001-06-01 * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise toKevin Buettner2-1/+7
match the location at which the kernel is placing the sigcontext struct.
2001-05-312001-05-31 Michael Chastain <chastain@redhat.com>Michael Chastain2-4/+11
* gdb.c++/cplusfuncs.cc (dm_type_char_star): Remove superfluous cast. (dm_type_int_star): Likewise. (dm_type_long_star): Likewise. (dm_type_void_star): Likewise.
2001-05-31* partial-stab.h: Revert previous patch.Christopher Faylor2-5/+8
2001-05-31* partial-stab.h: Consistently guard against pst being NULL.Christopher Faylor2-4/+9
2001-05-302001-05-25 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+28
* 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 Snyder2-1/+11
* lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.
2001-05-30 * gdb.base/completion.exp (INPUTRC): Set this environment variableKevin Buettner2-14/+26
to a known value in order to get consistent results regardless of the setting of INPUTRC or the presence or contents of .inputrc.
2001-05-29* symfile.c (compare_psymbols, compare_symbols): Declare usingAlexandre Oliva6-6/+11
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 Oliva2-2/+7
PTR, as in the definition.
2001-05-26 * solib.c (update_solib_list): Move target_resize_to_sections()Nicholas Duffek2-19/+19
into solib_map_sections() loop. (info_sharedlibrary_command): Try bfd_arch_bits_per_address() if bfd_get_arch_size() fails.
2001-05-26 * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c andNicholas Duffek6-7/+631
solib-osf.o. * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o with solib-osf.o and solib.o. * config/alpha/alpha-osf2.mh: Likewise. * config/alpha/alpha-osf3.mh: Likewise. * solib-osf.c: New file, renamed and largely rewritten from osfsolib.c.
2001-05-252001-05-25 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+5
* remote.c (remote_write_bytes): Update 'p' packet pointer.
2001-05-25* gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clearJim Blandy2-1/+6
VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a useful value, then we should fix that instead.
2001-05-252001-05-24 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+29
* gdb.threads/linux-dp.exp: Remove assumptions about thread ordering. Don't require that the main thread and the manager thread are the first in the list.
2001-05-25 * solist.h (struct so_list): Document the requirement thatNicholas Duffek2-1/+8
current_sos initialize some fields to 0.
2001-05-252001-05-24 Michael Snyder <msnyder@redhat.com>Michael Snyder2-4/+7
* gdb.threads/pthreads.exp (test_startup): Relax test for thread debugging. If test fails, issue an "unsupported" not a "fail".
2001-05-25Don't assume that short is shorter than int.Jim Blandy2-3/+15
* gdb.base/exprs.exp ("print unsigned short == (~0)"): Don't assume that shorts are smaller than ints. On a 16-bit machine, this isn't true. ("print unsigned char == (~0)"): Add test that verifies that ~0, an int, is not equal to ~0 stored in an unsigned char. This tests the same thing that the previous test meant to, but works on 16-bit machines, too. ("print unsigned char != (~0)"): Same test, complemented.
2001-05-24* gnu-nat.c: Include <ctype.h>.Mark Kettenis2-3/+13
(gnu_pid_to_exec_file): Add PID parameter. (set_sig_thread_cmd): Use PIDGET on return value from thread_id_to_pid. (proc_string): Use MERGEPID to construct argument to pid_to_thread_id.
2001-05-242001-05-24 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+11
* gdb.threads/pthreads.exp (all_threads_running): Add an explicit test for (full_coverage == 0). This makes the test run faster, and prevents dejagnu getting out of step.
2001-05-242001-05-21 Michael Snyder <msnyder@redhat.com>Michael Snyder2-7/+31
* gdb.base/long_long.exp: Allow for targets with 4-byte short.