aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-10-012002-09-30 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-4/+68
* mips-tdep.c (mips_frame_saved_pc): When a generic dummy frame, use frame_unwind_signed_register to obtain the PC. (mips_frame_chain): Handle a generic dummy frame. (mips_init_extra_frame_info): When a generic dummy frame, don't re-compute the frame base. (mips_pop_frame): Handle generic dummy frames. (mips_gdbarch_init): When generic dummy frames, set use_generic_dummy_frames, push_dummy_frame to generic_push_dummy_frame, pc_in_call_dummy to generic_pc_in_call_dummy, and save_dummy_frame_top_of_stack to generic_save_dummy_frame_tos.
2002-10-012002-09-30 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-8/+39
* blockframe.c (generic_find_dummy_frame): Rewrite. Only test against TOP when TOP was explictly set. (generic_push_dummy_frame): Set TOP to zero.
2002-10-01*** empty log message ***gdbadmin1-1/+1
2002-09-302002-09-30 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-10/+18
* event-loop.c (start_event_loop): Rename variable 'result' to 'gdb_result', to avoid conflicts with upcoming intepreters changes.
2002-09-302002-09-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney3-0/+17
* mi-out.c (mi_version): New function. * mi-out.h (mi_version): Declare.
2002-09-30 * gdb-events.sh (selected_thread_changed): New event.Keith Seitz4-0/+42
* gdb-events.c: Regenerated. * gdb-events.h: Regenerated.
2002-09-30 * MAINTAINERS: Add self to Write After Approval list.Hans-Peter Nilsson2-0/+5
2002-09-30 * disasm.c: New file.Fernando Nasser5-379/+457
* disasm.h: New file. * mi/mi-cmd-disas.c (gdb_dis_asm_read_memory): Moved to disasm.c. (compare_lines): Ditto. (dump_insns): Ditto. (do_mixed_source_and_assembly): Moved to disasm.c. Added uiout argument. (do_assembly_only): Ditto. (do_disassembly): Renamed to gdb_disassembly and moved to disasm.c. Sdded uiout argument. * Makefile.in: Add new files. Reorder SFILES list. Update dependencies. Include libgdb.a later in the insight executable.
2002-09-30 * gdb.texinfo (Packets): Fix typos "alligned".Hans-Peter Nilsson2-5/+10
Correct z3/Z3 description. Correct z4/Z4 title.
2002-09-302002-09-29 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni7-15/+46
* tui.c (tui_show_source): Don't access current_source_symtab, use accessor function instead. Include source.h and symtab.h * tuiDisassem.c (tuiShowDisassemAndUpdateSource, tuiVerticalDisassemScroll): Use accessor functions for current source line and symtab. Include source.h. * tuiLayout.c (_extractDisplayStartAddr): Use accessor functions for current source line and symtab. Include source.h. * tuiWin.c (_makeVisibleWithNewHeight): Ditto. * tuiSourceWin.c (tuiUpdateSourceWindowAsIs, tuiHorizontalSourceScroll): Ditto. * tuiSource.c (tuiVerticalSourceScroll): Ditto.
2002-09-30*** empty log message ***gdbadmin1-1/+1
2002-09-292002-09-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+7
* config/djgpp/fnchange.lst: Rename bfd/elf64-alpha.c and bfd/elf64-alpha-fbsd.c.
2002-09-292002-09-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+7
* config/djgpp/fnchange.lst: Rename i386gnu-nat.c and i386gnu-tdep.c.
2002-09-29Zap __FUNCTION__.Andrew Cagney3-10/+22
2002-09-29Delete no-longer-needed tests.Andrew Cagney19-4717/+10
2002-09-29*** empty log message ***gdbadmin1-1/+1
2002-09-28 * sh-tdep.c (sh_use_struct_convention): Use definition according to ABI.Corinna Vinschen2-5/+25
(sh_push_arguments): Store in register with correct endianess. (sh_default_store_return_value): Ditto. (sh_gdbarch_init): Set sizeof long double to 8.
2002-09-28 * gdb.base/annota1.exp (info break): Make directory components ofKevin Buettner3-10/+28
path optional since not all compilers emit this debug information. * gdb.base/shlib-call.exp (step inside shr2): Don't fail if first step ends up stepping out of the function instead of stopping on the epilogue.
2002-09-28*** empty log message ***gdbadmin1-1/+1
2002-09-27Last ChangeLog entry for defs.h is for both this patch and the previous patch.Mark Kettenis1-5/+5
2002-09-27* defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h".Mark Kettenis2-5/+11
Fix some whitespace problems.
2002-09-272002-09-27 David Carlton <carlton@math.stanford.edu>David Carlton8-6/+28
* Makefile.in (cris-tdep.o): Depend on gdb_string_h. (mcore-tdep.o): Ditto. (ns32k-tdep.o): Ditto. (ns32knbsd-tdep.o): Ditto. (sh3-rom.o): Ditto. (vax-tdep.o): Ditto. * cris-tdep.c: #include "gdb_string.h" * mcore-tdep.c: Ditto. * ns32k-tdep.c: Ditto. * ns32knbsd-tdep.c: Ditto. * sh3-rom.c: Ditto. * vax-tdep.c: Ditto.
2002-09-272002-09-27 David Carlton <carlton@math.stanford.edu>David Carlton2-1/+10
* config/djgpp/fnchange.lst: Add entries for gdb/testsuite/gdb.c++/m-static files.
2002-09-27 * MAINTAINERS: Add myself to the Write After Approval list.Jim Wilson1-0/+4
2002-09-27Add myself to write-after-approval section with Andrew Cagney's permission.Jim Wilson1-0/+1
2002-09-272002-07-12 Mo DeJong <supermo@bayarea.net>Andrew Cagney2-0/+10
* gdbmi.texinfo (var-evaluate-expression): Note that var-list-children must be invoked before child variable values can be evaluated.
2002-09-27Use @sc{gcc} and @sc{gdb}.Andrew Cagney2-4/+8
2002-09-27 * lib/insight-support.exp (gdbtk_start): Figure out whereKeith Seitz2-5/+19
the insight executable is based on where gdb is. Use this executable to start insight instead of gdb.
2002-09-272002-09-26Martin M. Hunt <hunt@redhat.com>Martin Hunt2-1/+6
* mips-tdep.c (find_proc_desc): Initialize startaddr.
2002-09-27*** empty log message ***gdbadmin1-1/+1
2002-09-262002-09-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-8/+8
* rs6000-tdep.c (rs6000_frame_chain): Don't chain past the dummy frame.
2002-09-262002-09-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-18/+34
* rs6000-tdep.c (rs6000_extract_struct_value_address): Return 0. (rs6000_struct_return_address): Delete variable. (rs6000_store_struct_return): Update. (rs6000_gdbarch_init): Set extract_struct_value_address instead of deprecated_extract_struct_value_address. (rs6000_frame_align): New function. (rs6000_gdbarch_init): Set frame_align.
2002-09-262002-09-26 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+10
* mi-cmd-disas.c (dump_insns): Add text only output for CLI. (do_mixed_source_and_assembly): Ditto.
2002-09-262002-09-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney6-38/+163
From Grace Sainsbury <graces@redhat.com>: * Makefile.in (gdbtk-main.o): New target. (gdb.o): New target. (main_h): Define. (main.o): Update dependencies. (gdb$(EXEEXT)): Add gdb.o. (SUBDIR_GDBTK_SRCS): Add gdbtk-main.c. (SUBDIR_GDBTK_ALL, SUBDIR_GDBTK_UNINSTALL): Set. (SUBDIR_GDBTK_CLEAN): Set. (install-gdbtk): Install the insight binary. (uninstall-gdbtk): New target. (all-gdbtk, clean-gdbtk): New rule. * top.c (use_windows): Default to zero. * main.c: Include "main.h". (main): Delete. (struct captured_main_args): Delete. (gdb_main): New function. * main.h: New file. * gdb.c: New File. 2002-09-26 Andrew Cagney <ac131313@redhat.com> From Grace Sainsbury <graces@redhat.com>: * generic/gdbtk-main.c: New file.
2002-09-26*** empty log message ***gdbadmin1-1/+1
2002-09-25 * gdb.texinfo: Use GNU/Linux instead of Linux.Kevin Buettner2-3/+7
2002-09-252002-09-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney13-50/+202
* frame.c: Include "gdb_string.h" and "builtin-regs.h". (frame_map_regnum_to_name): New function. (frame_map_name_to_regnum): New function. * frame.h (frame_map_name_to_regnum): Declare. (frame_map_regnum_to_name): Declare. * builtin-regs.c (builtin_reg_map_regnum_to_name): New function. * builtin-regs.h (builtin_reg_map_regnum_to_name): Declare. * parse.c: Do not include "builtin-regs.h". (target_map_name_to_register): Delete function. (write_dollar_variable): Use frame_map_name_to_regnum. * parser-defs.h (target_map_name_to_register): Delete declaration. * expprint.c: Include "frame.h". (print_subexp): Use frame_map_regnum_to_name. * eval.c (evaluate_subexp_standard): Use frame_map_regnum_to_name. * infcmd.c (registers_info): Use frame_map_name_to_regnum. 2002-09-25 Andrew Cagney <cagney@redhat.com> * gdb.base/pc-fp.exp, gdb.base/pc-fp.c: New test.
2002-09-25 * mi-pthreads.exp (get_mi_thread_list): Check if expect_outKeith Seitz3-6/+35
exists before using it. (check_mi_and_console_threads): Likewise. * gdb669.exp (get_mi_thread_list): Likewise. (check_mi_and_console_threads): Likewise.
2002-09-252002-09-25 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-4/+8
* gdb.texinfo (Packets): Replace @samp{} with ``an empty string''.
2002-09-252002-09-25 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-0/+16
* rs6000-tdep.c (rs6000_frame_saved_pc): If the link register wasn't saved, and the next innermost frame is a dummy, return the dummy frame's link register.
2002-09-25Fix from Paul Breed:Jim Blandy2-0/+6
* main.c (captured_main): Add a `break' after the case for 'b'.
2002-09-25*** empty log message ***gdbadmin1-1/+1
2002-09-24 * configure.in: Add config header.Keith Seitz7-17/+733
Check for pthread.h. * configure: Regenerate. * config.in: New file. * pthreads.c: New file. * mi-pthreads.exp: New file to test thread functionality. * gdb669.exp: New file.
2002-09-24 * varobj.c (c_type_of_child): Use get_target_type insteadKeith Seitz2-5/+16
of TYPE_TARGET_TYPE.
2002-09-242002-09-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-2/+46
* gdb.gdb/complaints.exp (test_initial_complaints): Rename test_isolated_complaints. (test_empty_complaint): New function. (test_empty_complaints): New function. Check no output when no complaints.
2002-09-242002-09-24 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-23/+25
* gdb.texinfo: Replace @example' with @smallexample.
2002-09-24*** empty log message ***gdbadmin1-1/+1
2002-09-23*** empty log message ***gdbadmin1-1/+1
2002-09-22 * source.c (get_current_or_default_source_symtab_and_line): RemoveFernando Nasser6-38/+60
function. (set_default_source_symtab_and_line): New function. Attempts to determine a source file to list lines from if one is not currently defined. (get_current_source_symtab_and_line): Initialize sal.pc and sal.end fields. (set_current_source_symtab_and_line): Mark argument as const. * source.h: Update declarations and comments. * linespec.c (decode_line_1): Replace call to removed routine above. * stack.c (print_frame_info_base): Ditto. * cli/cli-cmds.c (edit_command): Ditto. (list_command): Ditto.
2002-09-22 * source.c (get_current_source_symtab_and_line): Initialize sal.pc andFernando Nasser4-4/+16
sal.end fields. (get_current_or_default_source_symtab_and_line): Ditto. * breakpoint.c (parse_breakpoint_sals): Use correct accessor function so we do not cause a new source symtab to be searched for (reverting an unintentional change from the 2002-09-20 patch). * scm-lang.c (scm_unpac): Ditto.