aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2003-07-27 * m68hc11-tdep.c (struct m68hc11_unwind_cache): New struct to holdStephane Carrez2-57/+344
frame unwind information. (m68hc11_scan_prologue): New function from m68hc11_guess_from_prologue and adapted for frame unwinding. (m68hc11_skip_prologue): Update to scan prologue in temporary object. (m68hc11_unwind_pc): New function. (m68hc11_frame_unwind_cache): New function to analyze frames. (m68hc11_frame_this_id): New function to create new frame struct. (m68hc11_frame_prev_register): New function to unwind a register from the frame. (m68hc11_frame_unwind): Default 68hc11/68hc12 unwinder. (m68hc11_frame_p): New function for the above. (m68hc11_frame_base_address): New function to return fp of frame. (m68hc11_frame_args_address): Update for frame. (m68hc11_frame_base): Default 68hc11/68hc12 frame. (m68hc11_unwind_sp): New function. (m68hc11_unwind_dummy_id): New function. (m68hc11_gdbarch_init): Install the above frames; remove deprecated calls.
2003-07-272003-07-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-5/+9
* gdb.base/fileio.exp: Use SH when running commands using remote_exec.
2003-07-27 * m68hc11-tdep.c (m68hc11_analyze_instruction): Don't advance the pc.Stephane Carrez2-13/+22
(m68hc11_guess_from_prologue): Advance the pc and frame size only when we are beyond the current pc.
2003-07-27 * m68hc11-tdep.c (m68hc11_push_dummy_call): New function adaptedStephane Carrez2-50/+47
from m68hc11_push_arguments. (m68hc11_push_arguments): Remove. (m68hc11_push_return_address): Remove. (m68hc11_gdbarch_init): Install the above; remove above deprecated handlers; remove deprecated_extra_stack_alignment_needed.
2003-07-272003-07-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-2/+13
* config/pa/tm-hppa.h (init_frame_pc_default): Declare. * infcall.c (legacy_push_dummy_code) [GDB_TARGET_IS_HPPA]: Update REAL_PC and not the pointer. * hppa-hpux-tdep.c: Include frame.h
2003-07-272003-07-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+13
* config/pa/tm-hppa64.h (GDB_MULTI_ARCH): Set to GDB_MULTI_ACH_PARTIAL.
2003-07-27Doh! configure.tgt was not part of the change.Andrew Cagney1-2/+1
2003-07-272003-07-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-53/+75
Patch from 2003-07-22 Kei Sakamoto <sakamoto.kei@renesas.com>: * m32r-tdep.c (m32r_memory_insert_breakpoint): Fix code style - operator at start and not end of line. (decode_prologue): Ditto. (m32r_frame_unwind_cache, m32r_unwind_sp, m32r_unwind_pc): Use frame_unwind_register_unsigned instead of frame_unwind_unsigned_register. (m32r_read_pc): Use regcache_cooked_read_unsigned instead of read_register. (m32r_push_dummy_call): Use register_size instead of REGISTER_RAW_SIZE. (m32r_frame_sniffer): Replace m32r_frame_p. (m32r_gdbarch_init): Call frame_unwind_append_sniffer. * m32r-rom.c (report_transfer_performance): Delete extern declaration. (m32r_load, m32r_upload_command): Use print_transfer_performance instead of report_transfer_performance. (_initialize_m32r_rom): Use add_setshow_cmd instead of add_set_cmd / add_show_from_set.
2003-07-27*** empty log message ***gdbadmin1-1/+1
2003-07-262003-07-26 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-3/+7
* m68hc11-tdep.c (m68hc11_gdbarch_init): Set non-deprecated store_return_value and extract_struct_value_address.
2003-07-26 PR c++/1267Daniel Jacobowitz2-1/+17
* minsyms.c (lookup_minimal_symbol_by_pc_section): If SECTION is NULL, default to the section containing PC.
2003-07-26 * gdb.texinfo (TUI Keys): Document C-x o key to switch active window.Stephane Carrez2-3/+16
2003-07-26*** empty log message ***gdbadmin1-1/+1
2003-07-25*** empty log message ***gdbadmin1-1/+1
2003-07-24 * tui.c (tui_rl_other_window): New function to switch the TUI activeStephane Carrez2-0/+34
window and give focus to a next window. (tui_initialize_readline): Bind it to c-x o. (tui_rl_next_keymap): Activate TUI mode when entering SingleKey mode.
2003-07-24 * NEWS: Mention "regs" deprecated for m68hc11 too.Stephane Carrez3-46/+166
* m68hc11-tdep.c (_initialize_m68hc11_tdep): Deprecate "regs" command. (m68hc11_print_register): New function to print out one register. (m68hc11_print_registers_info): New function to print registers. (show_regs): Deprecate and use the above. (m68hc11_gdbarch_init): Install the print_registers_info.
2003-07-24 * linux-arm-low.c (arm_reinsert_addr): New function.Daniel Jacobowitz2-1/+17
(the_low_target): Add arm_reinsert_addr.
2003-07-24 * gdbint.texinfo (libgdb components): Correct a GDB to GDBN.Daniel Jacobowitz2-1/+5
2003-07-24 * gdb.texinfo (Server): Mention pidof.Daniel Jacobowitz2-0/+17
2003-07-24 From Kei Sakamoto <sakamoto.kei@renesas.com>:Daniel Jacobowitz2-0/+9
* gdb.base/relocate.c (dummy): New padding array.
2003-07-242003-07-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+7
* ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify that we have a SIGTRAP before returning non-zero.
2003-07-24*** empty log message ***gdbadmin1-1/+1
2003-07-23 * tui.c (tui_enable): Call tuiRefreshAll to make sure the windowStephane Carrez2-1/+6
is accurate.
2003-07-23 * tui-interp.c (tui_resume): Enable tui when we expected it.Stephane Carrez2-1/+21
(tui_suspend): Remember in which TUI mode we are. (_initialize_tui_interp): Use the tui interpreter even when no other interpreter was set and define in which TUI mode to start.
2003-07-232003-07-23 Michal Ludvig <mludvig@suse.cz>Elena Zannoni2-5/+18
Elena Zannoni <ezannoni@redhat.com> * linespec.c (decode_line_2): Avoid crash if find_function_start_sal() returns empty record.
2003-07-232003-07-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2-1/+3
* gdb.base/return2.exp: Don't test long-long return.
2003-07-232003-07-23 Michael Snyder <msnyder@redhat.com>Michael Snyder27-0/+26271
* gdb.disasm/t01_mov.s: New file, h8300sx disassembly tests. * gdb.disasm/t01_mov.exp: Ditto. * gdb.disasm/t02_mova.s: Ditto. * gdb.disasm/t02_mova.exp: Ditto. * gdb.disasm/t03_add.s: Ditto. * gdb.disasm/t03_add.exp: Ditto. * gdb.disasm/t04_sub.s: Ditto. * gdb.disasm/t04_sub.exp: Ditto. * gdb.disasm/t05_cmp.s: Ditto. * gdb.disasm/t05_cmp.exp: Ditto. * gdb.disasm/t06_ari2.s: Ditto. * gdb.disasm/t06_ari2.exp: Ditto. * gdb.disasm/t07_ari3.s: Ditto. * gdb.disasm/t07_ari3.exp: Ditto. * gdb.disasm/t08_or.s: Ditto. * gdb.disasm/t08_or.exp: Ditto. * gdb.disasm/t09_xor.s: Ditto. * gdb.disasm/t09_xor.exp: Ditto. * gdb.disasm/t10_and.s: Ditto. * gdb.disasm/t10_and.exp: Ditto. * gdb.disasm/t11_logs.s: Ditto. * gdb.disasm/t11_logs.exp: Ditto. * gdb.disasm/t12_bit.s: Ditto. * gdb.disasm/t12_bit.exp: Ditto. * gdb.disasm/t13_otr.s: Ditto. * gdb.disasm/t13_otr.exp: Ditto.
2003-07-23 * ia64-tdep.c (ia64_print_insn): New function.Andreas Schwab2-3/+16
(ia64_gdbarch_init): Set print_insn to it. (_initialize_ia64_tdep): Don't set deprecated_tm_print_insn and deprecated_tm_print_insn_info.
2003-07-232003-07-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+5
* gdb.threads/tls.exp :Add kfail for 'info address' case.
2003-07-232003-07-22 Michael Snyder <msnyder@redhat.com>Michael Snyder2-18/+44
* h8300-tdep.c (h8300_extract_return_value): Teach it how to handle 8-bit returns (long long). (h8300h_extract_return_value): Ditto. (h8300_gdbarch_init): Long long is 8 bytes, char is unsigned.
2003-07-23*** empty log message ***gdbadmin1-1/+1
2003-07-222003-07-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-78/+108
* gdbarch.c Include "gdb_obstack.h". (struct gdbarch): Add an "obstack". (alloc_gdbarch_data): Allocate the gdbarch data using GDBARCH_OBSTACK_CALLOC. (free_gdbarch_data): Delete function. (gdbarch_obstack_zalloc): New function. (gdbarch_free): Free the obstack, do not call free_gdbarch_data. Assert that the architecture is not initialized. (gdbarch_alloc): Allocate an obstack, allocate the architecture vector from the obstack. (alloc_gdbarch_data, init_gdbarch_swap): Allocate memory using the architecture obstack. (GDBARCH_OBSTACK_CALLOC, GDBARCH_OBSTACK_ZALLOC): Define. (set_gdbarch_data): Assert that the data is not initialized. (struct gdbarch_data): Delete member "free". (register_gdbarch_data): Do not initialize "free". * gdbarch.h, gdbarch.c: Re-generate.
2003-07-222003-07-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-3/+3
* dwarf2loc.c (locexpr_describe_location): Fix typos.
2003-07-222003-07-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-3/+14
* configure.in (build_warnings): Add -Wformat-nonliteral. * configure: Re-generate. 2003-07-22 Andrew Cagney <cagney@redhat.com> * gdbint.texinfo (Coding): Add -Wformat-nonliteral to -Werror list.
2003-07-222003-07-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-1/+5
dwarf2loc.c (locexpr_describe_location): Fix typo.
2003-07-222003-07-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni6-0/+651
* gdb.threads/tls.c : New file. * gdb.threads/tls.exp : New file. * gdb.threads/tls-main.c : New file. * gdb.threads/tls-shared.c : New file. * gdb.threads/tls-shared.exp : New file.
2003-07-222003-07-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni9-43/+65
* findvar.c (read_var_value): Remove case for thread local storage variables. It is now entirely handled by the dwarf2 location expression code. * printcmd.c (address_info): Ditto. * symtab.h (address_class): Remove LOC_THREAD_LOCAL_STATIC enumeration value. (struct symbol): Remove objfile field, which was used by LOC_THREAD_LOCAL_STATIC only. * dwarf2read.c (decode_locdesc): Remove is_thread_local variable. * dwarf2loc.h (struct dwarf2_loclist_baton): Add comment about usage of objfile pointer. * dwarf2loc.c (locexpr_describe_location): Add case to handle thread local variables. Add include of objfiles.h. * dwarf2expr.c (execute_stack_op): Add comments about thread local storage variables. * Makefile.in (dwarf2loc.o): Update dependencies.
2003-07-222003-07-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-10/+15
* config/pa/tm-hppa64.h (FRAME_SAVED_PC_IN_SIGTRAMP): Use get_frame_base. (FRAME_BASE_BEFORE_SIGTRAMP): Ditto. (FRAME_FIND_SAVED_REGS_IN_SIGTRAMP): Ditto. (struct value): Add opaque declaration. (DEPRECATED_FRAME_ARGS_ADDRESS): Delete.
2003-07-22 * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.Andreas Schwab2-0/+5
2003-07-22*** empty log message ***gdbadmin1-1/+1
2003-07-212003-07-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-3052/+3408
From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite.
2003-07-21*** empty log message ***gdbadmin1-1/+1
2003-07-20 * m68hc11-tdep.c (m68hc11_pseudo_register_read): UseStephane Carrez2-29/+50
regcache_cooked_read_unsigned instead of read_register. (m68hc11_saved_pc_after_call): Likewise. (m68hc11_pseudo_register_write): Use regcache_cooked_write_unsigned instead of write_register. (m68hc11_register_type): New function. (m68hc11_register_virtual_type): Remove. (m68hc11_store_return_value): Convert to use the regcache. (m68hc11_extract_struct_value_address): Likewise. (m68hc11_gdbarch_init): Remove deprecated ops for register to use m68hc11_register_type; undeprecate store_return_value and extract_struct_value_address.
2003-07-20 * gdb.base/selftest.exp (do_steps_and_nexts): Add more patternsAndreas Schwab2-0/+17
due to insn reordering.
2003-07-20 * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_readStephane Carrez2-15/+24
and translate to use regcache. (m68hc11_gdbarch_init): Undeprecate extract_return_value.
2003-07-20*** empty log message ***gdbadmin1-1/+1
2003-07-19*** empty log message ***gdbadmin1-1/+1
2003-07-182003-07-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney7-90/+14
* gdbarch.sh (DWARF2_BUILD_FRAME_INFO): Delete method. * gdbarch.h, gdbarch.c: Re-generate. * i386-tdep.c (i386_gdbarch_init): Do not set DWARF2_BUILD_FRAME_INFO. * elfread.c (elf_symfile_read): Call dwarf2_build_frame_info unconditionally. * alpha-tdep.c (alpha_dwarf2_init_abi): Do not set DWARF2_BUILD_FRAME_INFO.
2003-07-182003-07-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+6
From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: * disasm.c (gdb_disassemble_info): Initilize di.arch.
2003-07-182003-07-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-18/+17
* dwarf2-frame.c (dwarf2_frame_sniffer): Use frame_unwind_address_in_block, instead of frame_pc_unwind. (dwarf2_frame_cache): Ditto.