aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2000-05-01* gdbint.texinfo (RETURN_VALUE_ON_STACK): Document.Jim Blandy1-0/+37
2000-05-01 * annotate.texi: Remove "@syncodeindex fn cp", it causes grief inEli Zaretskii3-56/+67
TeX. * gdb.texinfo: Add "@syncodeindex fn cp". Convert all entries "@kindex f" into "@kindex f (foo)", otherwise we get index entries like `n' and `s' which look weird. Convert some of the @kindex to @vindex, when they refer to variables, not commands.
2000-05-01From 2000-04-28 Andreas Jaeger <aj@suse.de>:Andrew Cagney5-4/+15
Properly check for GCC version number.
2000-05-01Do not use @value{GDBN in @nodes.Andrew Cagney2-2/+6
2000-04-302000-04-30 Mark Kettenis <kettenis@gnu.org>Mark Kettenis3-0/+94
Fix single-stepping out of signal trampolines. * config/i386/nm-linux.h (CHILD_RESUME): Define. * i386-linux-nat.c (child_resume): New function.
2000-04-29Convert SKIP_PROLOGUE_FRAMELESS_P into PROLOGUE_FRAMELESS_P.Andrew Cagney7-7/+61
2000-04-28From "Serge Nikulin" <nikulin@actsw.amat.com>:Andrew Cagney2-1/+10
Don't trip on NULL function name in sigtramp.
2000-04-282000-04-27 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder4-24/+14
* gdbarch.sh (d10v_daddr_p, d10v_iaddr_p, d10v_convert_daddr_to_raw, d10v_convert_iaddr_to_raw): make these multi-arch functions optional. * gdbarch.c, gdbarch.h: regenerate
2000-04-28Cast function to correct type.Andrew Cagney3-3/+17
2000-04-272000-04-27 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder5-5/+24
* jv-valprint.c (java_val_print): Add arg declaration, fix compiler warning. * corelow.c (core_open): Call set_gdbarch_from_file so that gdbarch becomes aware of the architecture encoded in the corefile. * findvar.c (write_register_gen): Export this useful interface. * value.h (write_register_gen): Declare.
2000-04-272000-04-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni5-4/+17
* cxux-nat.c (add_shared_symbol_files): Don't treat .text section as special in the section_addr_info structure. * pa64solib.c (pa64_solib_add_solib_objfile): Ditto. * osfsolib.c (symbol_add_stub): Ditto. * irix5-nat.c (symbol_add_stub): Ditto.
2000-04-27Include "arch-utils.h".Andrew Cagney3-0/+6
2000-04-272000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-28/+22
* procfs.c (comments): Eliminate "???" in comments, which GCC wants to interpret as a trigraph. (fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): declare. (procfs_wait): Sysargs is a long, change printf format to match. (test-mapping, mapping_test, test_mapping_cmd) Remove (test only).
2000-04-27 * proc-api.c (write_with_trace): Change 'arg' from long to int.Michael Snyder2-9/+14
Treat 'off_t' and 'size_t' as unsigned long in printfs. (lseek_with_trace): Treat 'off_t' as unsigned long in printf.
2000-04-272000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder4-1/+24
* gdb.base/call-ar-st.exp: Bail out if target is sparclet. This test depends on parsing the printf output from the target. Since the sparclet stub doesn't do stdio, this will never work. * gdb.base/call-rt-st.exp: ditto. * gdb.base/call-strs: ditto.
2000-04-272000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-1/+2
* wrapper.h: fix minor comment typo.
2000-04-27Document IRIX->ARM cross compile problem.Andrew Cagney2-0/+17
2000-04-272000-04-26 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-0/+7
* utils.c (internal_verror): Call target_terminal_ours.
2000-04-26Add section discussing future changes to output syntax.Andrew Cagney2-10/+36
2000-04-26Add mapping ia64-linux-nat.c -> ia64linux-nat.c.Kevin Buettner2-0/+6
2000-04-26 * ax-gdb.c (agent_command): Remove now useless cast ofPhilippe De Muyter10-45/+48
`free_current_contents' when passed to `make_cleanup'. * coffread.c (coff_symfile_read): Ditto. * dwarf2read.c (dwarf2_add_member_fn, read_array_type): Ditto. (dwarf_decode_lines): Ditto. * eval.c (parse_and_eval_address, parse_and_eval_address_1): Ditto. (parse_and_eval, parse_to_comma_and_eval): Ditto. * parse.c (parse_exp_1): Ditto. * printcmd.c (print_command_1, output_command, set_command): Ditto. (x_command, print_frame_args, printf_command): Ditto. * top.c (execute_control_command): Ditto. * tracepoint.c (validate_actionline): Ditto. * typeprint.c (whatis_exp, ptype_command): Ditto. (maintenance_print_type): Ditto.
2000-04-26Document bfd/doc/Makefile.in TEXINPUTS problem.Andrew Cagney1-0/+11
2000-04-26Add arch-utils.h to IA-64 *-tdep.c files.Kevin Buettner4-2/+13
2000-04-262000-04-25 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder2-1/+5
* blockframe.c: Fix a minor typo in a comment.
2000-04-25Recognize store instructions in examine_prologue().Kevin Buettner2-3/+60
2000-04-25Tue Apr 25 13:51:58 2000 glen mccready <gkm@pobox.com>Glen McCready2-19/+23
* rs6000-nat.c (xcoff_relocate_symtam): Recover from the wrong patch being applied `Fri Apr 7 13:44:38 2000'.
2000-04-25Handle signal handler frames and call dummy frames.Kevin Buettner5-148/+409
2000-04-242000-04-24 Michael Snyder <msnyder@seadog.cygnus.com>Michael Snyder3-28/+34
* gdb.base/miscexprs.exp: make sizeof long array test portable. * gdb.base/ending-run.exp: After connecting to a remote target, but before running, the target will appear to be in a random location. Specify both a file and a line for breakpoints. Also, the function that calls main may be called 'init' rather than 'start'.
2000-04-23 * Makefile.in (GDBMI_DIR): New variable.Eli Zaretskii8-1315/+2693
(SET_TEXINPUTS): Add $(GDBMI_DIR). (SFILES_DOC): Add $(GDBMI_DIR)/gdbmi.texinfo. (gdbmi.texinfo): New target, for texi2roff. (gdb.me, gdb.ms, gdb.mm): Depend on gdbmi.texinfo. (gdb.info, gdb_toc.html): Add "-I ${GDBMI_DIR}". * gdb.texinfo (Top): Add GDB/MI to the main menu and @include gdbmi.texinfo. (Mode Options): Add xref to GDB/MI docs and remove a FIXME comment. * gdbmi.texinfo: Lots of changes, to include this document as part of the GDB manual. * TODO, NEWS: Update due to inclusion of gdbmi.texinfo in the GDB manual.
2000-04-23Fix the date of the last entry.Eli Zaretskii1-1/+1
2000-04-23 * djunpack.bat: New file.Eli Zaretskii2-15/+31
* config/djgpp/README: Explain how to unpack using djunpack.bat.
2000-04-22Fix typo in comment.Christopher Faylor1-1/+1
2000-04-22Convert REG_STRUCT_HAS_ADDR to multi-arch. Use REG_STRUCT_HAS_ADDR_PAndrew Cagney6-72/+133
in conversion.
2000-04-212000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-1/+5
* gdb-stabs.h (SECT_OFF_MAX): Increase to 40.
2000-04-212000-04-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni5-4/+20
* win32-nat.c (handle_load_dll): Don't treat .text as a special section anymore. * somread.c (som_symfile_offsets): Ditto. * somsolib.c (som_solib_add_solib_objfile): Ditto.
2000-04-21Make Jimmy Guo H.P. maintainer.Andrew Cagney2-0/+6
2000-04-21Make help_all static.Andrew Cagney3-4/+9
2000-04-21* d10v-tdep.c (d10v_gdbarch_init): Initialize stack_align.Andrew Cagney3-4/+8
(d10v_stack_align): Make static. * config/d10v/tm-d10v.h (STACK_ALIGN): Delete.
2000-04-21* valops.c (hand_function_call): Replace #ifdef STACK_ALIGN withAndrew Cagney5-84/+205
run-time test for STACK_ALIGN_P. * gdbarch.sh: Add support for function and variable predicates. (STACK_ALIGN): Add. Implement with predicate - STACK_ALIGN_P. * gdbarch.h, gdbarch.c: Re-generate.
2000-04-21* defs.h, utils.c (free_current_contents): Change parameter toAndrew Cagney4-8/+25
void*. From Philippe De Muyter <phdm@macqel.be>: * printcmd.c (print_address_symbolic): Call `make_cleanup' with `(free_current_contents, &x)', not `(free, x)'. * utils.c (free_current_contents): Do not `free (NULL)'. * printcmd.c (print_address_symbolic): Cleanup after a failed call to build_address_symbolic.
2000-04-21* wince-stub.c (FREE): New macro.Christopher Faylor4-336/+427
(mempool): Just free any buffer prior to reuse. Don't bother with realloc. (flag_single_step): New function. (skip_message): Detect "helpful" Windows CE messages and skip sending them to the host. (wait_for_debug_event): Use skip_message to avoid sending debug messages to the host. (dispatch): Prelimary implementation of single step detection. * wince.c: Rework SH single stepping code to be more consistent with other wince targets. (handle_output_debug_string): Allow first chance exceptions to come through since they seem to be all that we get on some versions of Windows CE. (check_for_step): New function, conditionally compiled based on target. (regptr): Delete obsolete function. (handle_exception): Detect illegal instructions. (get_child_debug_event): Return success only if event code matches target. (child_create_inferior): Reflect change to get_child_debug_event arguments.
2000-04-21* win32-nat.c (thread_rec): Be more defensive about suspending alreadyChristopher Faylor3-202/+334
suspended threads. (safe_symbol_file_add_stub): New function. (safe_symbole_file_add_cleanup): New function. (safe_symbol_file_add): New function. (handle_load_dll): Use wrapper to add DLL symbol information to avoid bogus errors from non-stabs DLLs. (handle_exception): Add work around for detection of first exception breakpoint which does not seem to occur on W2K. Detect more "signals" that can be effectively passed to the debuggee. Reorganize to eliminate continue_status global. (child_continue): Reorganize to eliminate continue_status global. (child_wait): Ditto. (child_resume): Ditto. (get_child_debug_event): Ditto. Recognize when an a breakpoint exception should be ignored. Change method for signalling when an important event has occured to the caller. (child_create_inferior): Use new method for noticing when get_child_debug_event has found something interesting.
2000-04-20Fri Apr 7 13:44:38 2000 glen mccready <gkm@pobox.com>Glen McCready2-9/+25
* rs6000-nat.c (xcoff_relocate_symtab): Grow buffer if ptrace() fails due to lack of space.
2000-04-20Fri Mar 24 12:10:38 2000 glen mccready <gkm@pobox.com>Glen McCready3-0/+34
* command.c, command.h (help_all): Add functionality to display a complete listing of available commands.
2000-04-20Changes to support core files and linux threads.Scott Bambrough5-59/+421
2000-04-20 Scott Bambrough <scottb@netwinder.org> * arm-linux-nat.c (PIDGET, TIDGET): New. (get_thread_id, GET_THREAD_ID): New. (fetch_nwfpe_register, store_nwfpe_register): New. (fetch_register, store_register): New. (fetch_fpregister, store_fpregister): New. (fill_gregset, supply_gregset): New. (fill_fpregset, supply_fpregset): New. (fetch_fpregs): Modified to use thread id's. (store_fpregs): Modified to use thread id's and fetch_nwfpe_register. (fetch_regs): Modified to use thread id's. (store_regs): Modified to use thread id's. (fetch_inferior_registers): Modified to handle single register fetches. (store_inferior_registers): Modified to handle single register stores. (arm_linux_register_u_addr): Removed. * configure.tgt: Added gdbserver to configdirs for arm*-*-linux*. * config/arm/linux.mh (NATDEPFILES): Removed core-aout.o. Added core-regset.o. (LOADLIBES): Define. * config/arm/nm-linux.h: Include config/nm-linux.h. (ATTACH_DETACH): Removed. Defined in config/nm-linux.h. (REGISTER_U_ADDR): Removed. (SVR4_SHARED_LIBS): Removed. Defined in config/nm-linux.h. (#include "solib.h"): Removed. Included via config/nm-linux.h.
2000-04-20Append NULL to enum based commands follow-fork and scheduler-locking.Andrew Cagney2-8/+21
2000-04-20* gdbarch.sh: Make multi-arch variable defaults, defaults for non-Andrew Cagney6-52/+36
multi-arch targets. (TARGET_BFD_VMA_BIT, IEEE_FLOAT, CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Update. * inferior.h (CALL_DUMMY_WORDS, SIZEOF_CALL_DUMMY_WORDS): Default provided by gdbarch. (CALL_DUMMY_P): Add FIXME. gdbarch should provide default. * valprint.c (IEEE_FLOAT): Default provided by gdbarch.
2000-04-19*** empty log message ***Jim Blandy1-0/+7
2000-04-19Bring RETURN_VALUE_ON_STACK under gdbarch's control.Jim Blandy6-7/+46
* gdbarch.sh (RETURN_VALUE_ON_STACK): New entry. * gdbarch.c, gdbarch.h: Regenerated. * arch-utils.c (default_return_value_on_stack): New function. * arch-utils.h (default_return_value_on_stack): New declaration. * values.c (RETURN_VALUE_ON_STACK): Delete default definition.
2000-04-19For real this time.Jim Blandy1-7/+6
* i386v-nat.c (i386_insert_nonaligned_watchpoint): Use a two-dimensional array, instead of faking it with explicit index arithmetic.