summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id)Daniel Jacobowitz2007-02-2743-112/+314
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (dwarf2_frame_sniffer): Update. (dwarf2_signal_frame_this_id): New function. (dwarf2_signal_frame_unwind): Use it. (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block. * frame.c (frame_func_unwind): Add this_type argument. (get_frame_func): Update. (frame_unwind_address_in_block): Add this_type argument and check it. Fix a typo. (get_frame_address_in_block): Update. * frame.h (enum frame_type): Move higher in the file. (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type argument. * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c, arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c, hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c, libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c, m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c, mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c, score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c, sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c, xstormy16-tdep.c, xtensa-tdep.c: Update calls to frame_func_unwind and frame_unwind_address_in_block to specify the frame type. Use frame_unwind_address_in_block instead of frame_pc_unwind in sniffers. * gdb.arch/i386-signal.c, gdb.arch/i386-signal.exp: New files.
* * frame.c (deprecated_selected_frame): Rename to...Daniel Jacobowitz2007-02-2723-130/+106
| | | | | | | | | | | | | (selected_frame): ...this. Make static. (get_selected_frame, select_frame): Update. * frame.h (deprected_select_frame): Delete. (deprecated_safe_get_selected_frame): Update comments. * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c, infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c, tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c, parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c, tui/tui.c: Replace references to deprecated_selected_frame.
* Reviewed by Mark Kettenis <mark.kettenis@xs4all.nl>Fred Fish2007-02-272-0/+13
| | | | | | | 2007-02-27 Fred Fish <fnf@specifix.com> * rs6000-tdep.c (skip_prologue): Recognize addi instructions that directly decrement the stack pointer, accumulate their operand into the stack offset, and mark the function as not being frameless.
* * terminal.h: Check HAVE_SGTTY_H.Daniel Jacobowitz2007-02-272-2/+8
|
* from Mat Hostetter <mat@lcs.mit.edu>Daniel Jacobowitz2007-02-272-0/+15
| | | | * remote-utils.c (remote_open): Print out the assigned port number.
* * gdb.base/maint.exp: Remove full paths from test names.Daniel Jacobowitz2007-02-276-6/+12
| | | | | * gdb.base/prelink.exp, gdb.cp/cp-relocate.exp, gdb.xml/tdesc-errors.exp, gdb.xml/tdesc-xinclude.exp: Likewise.
* * gdb.ada/catch_ex.exp: Fix a couple of copy/paste typos.Joel Brobecker2007-02-272-2/+6
|
* *** empty log message ***gdbadmin2007-02-271-1/+1
|
* * arch-utils.c (selected_byte_order): New.Daniel Jacobowitz2007-02-264-3/+22
| | | | | * arch-utils.h (selected_byte_order): New prototype. * remote-sim.c (gdbsim_open): Use selected_byte_order.
* * gdb.texinfo (Monitor commands for gdbserver): New subsection.Daniel Jacobowitz2007-02-2611-7/+176
| | | | | | | | | | | | | * remote-utils.c (monitor_output): New function. * server.c (debug_threads): Define here. (monitor_show_help): New function. (handle_query): Handle qRcmd. (main): Do not handle 'd' packet. * server.h (debug_threads, remote_debug, monitor_output): Declare. * linux-low.c, spu-low.c, win32-i386-low.c: Remove definitions of debug_threads. * gdb.server/server-mon.exp: New test.
* * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA.Daniel Jacobowitz2007-02-265-12/+235
| | | | | | (default_symfile_offsets): Check VMA here. Update section VMAs. * gdb.cp/cp-relocate.cc, gdb.cp/cp-relocate.exp: New.
* * remote.c (init_remote_state): Add special handling for placeholderDaniel Jacobowitz2007-02-262-1/+12
| | | | registers.
* * Makefile.in (XMLFILES): Include $(TDEP_XML).Daniel Jacobowitz2007-02-267-17/+218
| | | | | | | | | | | | | | | | | | | | (filenames_h): New variable. (clean): Clean up xml-builtin.c and stamp-xml. (arm-linux-nat.o): Update. * config/arm/linux.mh (TDEP_XML): Define. * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. (arm_linux_has_wmmx_registers): New. (GET_THREAD_ID): Fix typo. (IWMMXT_REGS_SIZE): Define. (fetch_wmmx_regs, store_wmmx_regs): New. (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs. (arm_linux_store_inferior_registers): Use store_wmmx_regs. (super_xfer_partial, arm_linux_xfer_partial): New. (_initialize_arm_linux_nat): Use them. * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT. (xml_builtin_xfer_partial): New function. * xml-support.h (xml_builtin_xfer_partial): New prototype. * NEWS: Update mention of iWMMXt support.
* * arm-tdep.c (arm_scan_prologue): Do not record FPA register savesDaniel Jacobowitz2007-02-2610-103/+254
| | | | | | | | | | | | | | | | | | | | | | | | if there are no FPA registers. (arm_dwarf_reg_to_regnum): New function. (arm_register_type, arm_register_name): Return minimal values for unsupported registers. (arm_register_sim_regno): Handle iWMMXt registers. (arm_gdbarch_init): Record missing FPA registers if indicated by a target description. Recognize iWMMXt registers. Only register "info float" for FPA. Use ARM_NUM_REGS. Register arm_dwarf_reg_to_regnum. * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt constants. (struct gdbarch_tdep): Add have_fpa_registers. * features/xscale-iwmmxt.xml: Update capitalization. * regformats/arm-with-iwmmxt.dat: Regenerated. * src/gdb/doc/gdb.texinfo (Standard Target Features): Mention case insensitivity. (ARM Features): Describe org.gnu.gdb.xscale.iwmmxt. * gdb.arch/iwmmxt-regs.c, gdb.arch/iwmmxt-regs.exp: Update register capitalization.
* *** empty log message ***gdbadmin2007-02-261-1/+1
|
* * Makefile.in (EXEEXT): New.Pedro Alves2007-02-252-1/+7
| | | | (clean): Use $(EXEEXT).
* * target.h (target_ops): Rename send_signal to request_interrupt,Pedro Alves2007-02-255-12/+26
| | | | | | | | | | | and remove enum target_signal parameter. * linux-low.c (linux_request_interrupt): Rename from linux_send_signal, and always send SIGINT. * spu-low.c (spu_request_interrupt): Rename from spu_send_signal, and always send SIGINT. * remote-utils.c (putpkt_binary): Call request_interrupt, instead of send_signal. (input_interrupt): Likewise.
* * server.c (get_features_xml): Check if target implementedPedro Alves2007-02-253-3/+26
| | | | | | arch_string. * win32-i386-low.c (win32_arch_string): New. (win32_target_ops): Add win32_arch_string as arch_string member.
* *** empty log message ***gdbadmin2007-02-251-1/+1
|
* * NEWS (New targets): Add entry for the Toshiba Media Processor.Kevin Buettner2007-02-242-0/+5
|
* *** empty log message ***gdbadmin2007-02-241-1/+1
|
* * MAINTAINERS (mep): New target.Kevin Buettner2007-02-232-0/+7
|
* Add support for new target, Toshiba Media Processor (MeP).Kevin Buettner2007-02-235-0/+2534
|
* *** empty log message ***gdbadmin2007-02-231-1/+1
|
* * spu-low.c (spu_arch_string): New.Ulrich Weigand2007-02-222-0/+18
| | | | (spu_target_ops): Add spu_arch_string.
* * infrun.c (inferior_stop_reason, print_stop_reason): RemoveUlrich Weigand2007-02-222-12/+5
| | | | BREAKPOINT_HIT and STOP_UNKNOWN.
* * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT.Ulrich Weigand2007-02-222-1/+5
|
* *** empty log message ***gdbadmin2007-02-221-1/+1
|
* *** empty log message ***gdbadmin2007-02-211-1/+1
|
* * gdb_expat.h (XMLCALL): Define if not already defined.Joel Brobecker2007-02-202-0/+10
|
* * Makefile.in (symfile.o): Update dependencies.Andreas Schwab2007-02-202-1/+5
|
* gdb/Daniel Jacobowitz2007-02-206-17/+31
| | | | | | | | | | | | | * MAINTAINERS: Disable -Werror for cris simulator. Build sparc64-solaris2.10 instead of the broken sparc-elf. * solib-frv.c: Include "solib.h". * Makefile.in (solib-frv.o): Update. * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch. * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int. (xtensa_frame_this_id, xtensa_frame_prev_register) (xtensa_push_dummy_call): Use %p. sim/v850/ * Makefile.in (interp.o): Uncomment and update.
* *** empty log message ***gdbadmin2007-02-201-1/+1
|
* *** empty log message ***gdbadmin2007-02-191-1/+1
|
* (Top): Put Appendix A after numbered sections.Nick Roberts2007-02-181-10/+15
| | | | | | | | (Files): Add section name to argument list for pxref. (Non-debug DLL symbols): Don't use `see' for pxref. (Embedded Processors): Fix typo. (GDB/MI Breakpoint Commands): Execution commands generate *stopped not ^done.
* *** empty log message ***Nick Roberts2007-02-181-0/+9
|
* *** empty log message ***gdbadmin2007-02-181-1/+1
|
* *** empty log message ***gdbadmin2007-02-171-1/+1
|
* * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c,Daniel Jacobowitz2007-02-1611-14/+27
| | | | | | | | ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c, sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o) (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o) (sparc-linux-tdep.o): Update.
* * remote-utils.c: Remove HAVE_TERMINAL_H check.Daniel Jacobowitz2007-02-165-8/+8
| | | | | * configure.ac: Do not check for terminal.h. * configure, config.in: Regenerated.
* *** empty log message ***gdbadmin2007-02-161-1/+1
|
* * xtensa-tdep.h (xtensa_reg_mask_t): New.Maxim Grigoriev2007-02-154-48/+88
| | | | | | | | | | | | | | | | | | | | | (xtensa_mask_t): Change mask field to be a separate array. * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read) (xtensa_pseudo_register_write, xtensa_unwind_pc) (xtensa_unwind_dummy_id, xtensa_push_dummy_call) (xtensa_breakpoint_from_pc): Remove implicit type casting. * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5) (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13) (mask14, mask15): Rename to (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3) (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7) (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11) (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this. (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3) (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7) (xtensa_submask8, xtensa_submask9, xtensa_submask10) (xtensa_submask11, xtensa_submask12, xtensa_submask13) (xtensa_submask14, xtensa_submask15): New. (rmap): Follow strict aliasing rules doing static initialization.
* *** empty log message ***gdbadmin2007-02-151-1/+1
|
* *** empty log message ***gdbadmin2007-02-141-1/+1
|
* * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptrDaniel Jacobowitz2007-02-134-8/+16
| | | | | | | handling from here... (tdesc_register_type): ...to here. * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr. * features/arm-core.xml: Use code_ptr and data_ptr.
* 2007-02-13 Denis Pilat <denis.pilat@st.com>Denis Pilat2007-02-132-0/+126
| | | | * gdb.mi/mi-var-invalidate.exp: New file.
* 2007-02-13 Denis Pilat <denis.pilat@st.com>Denis Pilat2007-02-135-52/+132
| | | | | | | | | | | | | | * varobj.h (enum varobj_update_error): New enum. * varobj.c (struct varobj_root): Add is_valid member. (varobj_get_type): Check for invalid varobj. (varobj_get_attributes): Likewise. (variable_editable):Likewise. (varobj_update): Likewise. Use varobj_update_error. (new_root_variable): Set root varobj as valid by default. (varobj_invalidate): New function. * symfile.c (clear_symtab_users): Use varobj_invalidate. * mi/mi-cmd-var.c (varobj_update_one): Change return type to void. Use varobj_update_error.
* *** empty log message ***gdbadmin2007-02-131-1/+1
|
* (GDB/MI Variable Objects): Describe meanings ofNick Roberts2007-02-121-10/+37
| | | | | | | values for in_scope. Mention that only root variables can be updated. (GDB/MI Development and Front Ends): Explain new values may be added to existing fields.
* *** empty log message ***Nick Roberts2007-02-121-0/+8
|