aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2002-10-10*** empty log message ***gdbadmin1-1/+1
2002-10-09Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into CMarko Mlinar4-0/+50
2002-10-092002-10-08 Petr Sorfa <petrs@caldera.com>Jim Blandy2-27/+86
Revised and re-submitted by John Wolfe <jlw@caldera.com> Move the Dwarf 2 abbrev table to a per-compilation-unit structure, so we can work on more than one compilation unit at a time. This helps prepare GDB to handle inter-CU die references. * dwarf2read.c (ABBREV_HASH_SIZE): moved definition forward in the code to be defined before struct comp_unit_head. (comp_unit_head): Added new members - offset, cu_head, begin_die, next and dwarf2_abbrevs. (dwarf2_abbrevs): Removed single static var; now member of struct comp_unit_head. dwarf2_build_psymtabs_hard): Complete new struct comp_unit_head members. (psymtab_to_symtab_1): Changed to work with the new struct comp_unit_head. (dwarf2_read_abbrevs): Now accepts a cu_header parameter and constructs the dwarf2_abbrevs[] inside the cu_header. (dwarf2_empty_abbrev_table): Now expects a ptr to a dwarf2_abbrev table to clean up. (dwarf2_lookup_abbrev): Now accepts a cu_header parameter and handling of dwarf2_abbrevs inside the cu_header. (read_partial_die): Now supports the call to the new dwarf2_lookup_abbrev. (read_full_die): Now supports the call to the new dwarf2_lookup_abbrev.
2002-10-09*** empty log message ***gdbadmin1-1/+1
2002-10-08*** empty log message ***gdbadmin1-1/+1
2002-10-07*** empty log message ***gdbadmin1-1/+1
2002-10-06* Makefile.in (install-gdbtk): Add missing continuation backslash to insureChristopher Faylor2-1/+7
that shell variables, such as "transformed_name" are propagated to later shell statements in rule.
2002-10-06* config/i386/nm-i386sco.h: Add protection againstMark Kettenis2-3/+12
multiple-inclusion. Include "i386/nm-i386v.h". (REGISTER_U_ADDR): Remove define. (i386_register_u_addr): Remove prototype.
2002-10-06*** empty log message ***gdbadmin1-1/+1
2002-10-05*** empty log message ***gdbadmin1-1/+1
2002-10-042002-10-04 Michael Snyder <msnyder@redhat.com>Michael Snyder2-5/+18
* m32r-stub.c (handle_exception): Make sure exception is "trap" before treating it as a single-step event.
2002-10-042002-10-03 Adam Fedor <fedor@gnu.org>Adam Fedor3-26/+52
* objc-lang.c: ARI fixes. Change string.h to gdb_string.h. (objc_demangle): Remove assignment in if statements, Replace free with xfree. (add_msglist): Likewise. (end_msglist): Likewise. (complare_selectors): Likewise. (selectors_info): Likewise. (compare_classes): Likewise. (classes_info): Likewise. (print_object_command): Likewise. (find_objc_msgcall_submethod): Replace PTR with void *. * objc-lang.h: Remove check for __STDC__.
2002-10-04*** empty log message ***gdbadmin1-1/+1
2002-10-032002-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-4/+39
* ui-out.h (ui_out_field_fmt_int): New prototype. * ui-out.c (ui_out_field_fmt_int): New function allowing specification of field width and alignment. * stack.c (print_frame_info_base): When printing frame level, use ui_out_field_fmt_int with a width of 2 and left alignment. Fix for PR gdb/192
2002-10-032002-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston5-8/+17
* mi-return.exp: Change expected frame output to remove extraneous space in level field when frame level is single digit. Part of fix for PR gdb/192. * mi-stack.exp: Ditto. * mi1-return.exp: Ditto. * mi1-stack.exp: Ditto.
2002-10-032002-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-21/+26
* gdbmi.texinfo: Fix examples that show frames to remove extraneous blank in level field. Part of fix for PR gdb/192.
2002-10-032002-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+12
* gdbint.texinfo (Item Output Functions): Add new ui_out_field_fmt_int interface definition.
2002-10-032002-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-0/+5
* MAINTAINERS: Add self to Write After Approval list.
2002-10-032002-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-34/+42
* mi-var-block.exp: Change expected output from -var-update command to expect list format for "changelist". Fix for PR gdb/672. * mi-var-cmd.exp: Ditto. * mi-var-child: Ditto.
2002-10-032002-10-03 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-5/+32
* mi-cmd-var.c (mi_cmd_var_update): Fix for PR gdb/672. For m2, output list begin and end for "changelist" rather than tuple begin/end. (varobj_update_one): For m2, add tuple begin and end for varobj update output.
2002-10-03add target specific commands; add myself to contributors listMarko Mlinar2-0/+132
2002-10-032002-10-02 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni3-26/+21
* infcmd.c (interrupt_target_command_wrapper): Delete. (interrupt_target_command): Make non static. (nofp_registers_info): Make static. * stack.c (return_command_wrapper): Delete. (return_command): Make non static.
2002-10-032002-10-02 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-5/+24
* event-top.c (gdb_setup_readline): New function. Code moved from _initialize_event_loop(). (_initialize_event_loop): Call gdb_setup_readline().
2002-10-03*** empty log message ***gdbadmin1-1/+1
2002-10-022002-10-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney5-7/+59
* infrun.c (resume): Convert #ifdef CANNOT_STEP_BREAKPOINT into C. * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Add. * gdbarch.h, gdbarch.c: Re-generate.
2002-10-02 Fix PR gdb/778Daniel Jacobowitz3-6/+16
* gdbtypes.c (fill_in_vptr_fieldno): Call check_typedef before recursing. * gnu-v3-abi.c (gnuv3_virtual_fn_field): Check return value of fill_in_vptr_fieldno.
2002-10-02* gdb.c++/casts.cc, gdb.c++/casts.exp: New test.Jim Blandy3-0/+104
2002-10-022002-10-02 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni10-21/+53
* inferior.h (registers_info, stepi_command, nexti_command, continue_command, interrupt_target_command): Export from infcmd.c. * frame.h (args_info, selected_frame_level_changed_hook, return_command): Export from stack.c. * v850ice.c (stepi_command, nexti_command, continue_command): use prototypes from inferior.h. * tracepoint.c (registers_info, args_info, locals_info): Use prototypes from frame.h and inferior.h. * Makefile.in (mi-main.o): Add dependency on frame.h. 2002-10-02 Elena Zannoni <ezannoni@redhat.com> * mi-main.c (mi_cmd_exec_return): Don't use return_command_wrapper, use return_command instead. (mi_cmd_exec_interrupt): Don't use interrupt_target_command_wrapper, use interrupt_target_command instead. (return_command_wrapper, interrupt_target_command_wrapper): Delete. Include frame.h. 2002-10-02 Elena Zannoni <ezannoni@redhat.com> * tui-hooks.c (selected_frame_level_changed_hook): Use the one exported from frame.h.
2002-10-022002-10-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-1/+5
* rs6000-tdep.c (rs6000_store_struct_return): Store struct_return value in register 3 adjusted by ppc_gp0_regnum.
2002-10-022002-10-02 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-2/+8
* rs6000-tdep.c (skip_prologue): Bias alloca_reg by ppc_gp0_regnum.
2002-10-02add myself to the Write After Approval list.Marko Mlinar2-0/+5
2002-10-02* mips-tdep.c (mips_find_abi_section): .mdebug.abi64 is the nameAlexandre Oliva2-1/+4
of the section for the N64 ABI, fixed.
2002-10-02* config/mips/tm-irix6.h: Include solib.h.Alexandre Oliva2-0/+5
2002-10-02*** empty log message ***gdbadmin1-1/+1
2002-10-012002-10-01 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+17
* dwarf2read.c (dwarf_stack_op_name): Recognize more dwarf3 and GNU operators.
2002-10-012002-10-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney7-40/+46
* NEWS: Mention that MI syntax, selected by "mi" changed to "mi2" and that "mi0" syntax has been removed. 2002-10-01 Andrew Cagney <ac131313@redhat.com> * gdb.texinfo (Mode Options): Update --interpreter option. "mi2" and "mi1" instead of "mi1" and "mi0". 2002-10-01 Andrew Cagney <ac131313@redhat.com> * mi-main.c (mi2_command_loop): New function. (mi0_command_loop): Delete function. (_initialize_mi_main): Recognize, and default to, "mi2". Do not recognize "mi0". * mi-out.c (mi_table_begin): Remove mi0 code. (mi_table_body, mi_table_end): Ditto. (mi_table_header, mi_open, mi_close): Ditto.
2002-10-012002-09-30 David Carlton <carlton@math.stanford.edu>David Carlton4-1/+10
* Makefile.in (ppc-sysv-tdep.o): Depend on gdb_string_h. * ppc-sysv-tdep.c: #include "gdb_string.h". * remote-sds.c (getmessage): Add semicolon after 'retry' label to pacify GCC.
2002-10-012002-10-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney20-0/+4842
* mi1-basics.exp: Copy of mi1-basics.exp MIFLAGS set "-i=mi1". * mi1-break.exp, mi1-console.exp, mi1-disassemble.exp: Ditto. * mi1-eval.exp, mi1-hack-cli.exp, mi1-pthreads.exp: Ditto. * mi1-read-memory.exp, mi1-regs.exp, mi1-return.exp: Ditto. * mi1-simplerun.exp, mi1-stack.exp, mi1-stepi.exp: Ditto. * mi1-until.exp, mi1-var-block.exp, mi1-var-child.exp: Ditto. * mi1-var-cmd.exp, mi1-var-display.exp, mi1-watch.exp: Ditto.
2002-10-012002-10-01 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2-1/+6
* rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix "vrsave"'s register number.
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