summaryrefslogtreecommitdiffstats
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* *** empty log message ***gdbadmin2003-07-251-1/+1
|
* * tui.c (tui_rl_other_window): New function to switch the TUI activeStephane Carrez2003-07-242-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.
* * NEWS: Mention "regs" deprecated for m68hc11 too.Stephane Carrez2003-07-243-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.
* * linux-arm-low.c (arm_reinsert_addr): New function.Daniel Jacobowitz2003-07-242-1/+17
| | | | (the_low_target): Add arm_reinsert_addr.
* * gdbint.texinfo (libgdb components): Correct a GDB to GDBN.Daniel Jacobowitz2003-07-242-1/+5
|
* * gdb.texinfo (Server): Mention pidof.Daniel Jacobowitz2003-07-242-0/+17
|
* From Kei Sakamoto <sakamoto.kei@renesas.com>:Daniel Jacobowitz2003-07-242-0/+9
| | | | * gdb.base/relocate.c (dummy): New padding array.
* 2003-07-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2003-07-242-1/+7
| | | | | * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Verify that we have a SIGTRAP before returning non-zero.
* *** empty log message ***gdbadmin2003-07-241-1/+1
|
* * tui.c (tui_enable): Call tuiRefreshAll to make sure the windowStephane Carrez2003-07-232-1/+6
| | | | is accurate.
* * tui-interp.c (tui_resume): Enable tui when we expected it.Stephane Carrez2003-07-232-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-23 Michal Ludvig <mludvig@suse.cz>Elena Zannoni2003-07-232-5/+18
| | | | | | | Elena Zannoni <ezannoni@redhat.com> * linespec.c (decode_line_2): Avoid crash if find_function_start_sal() returns empty record.
* 2003-07-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-07-232-1/+3
| | | | * gdb.base/return2.exp: Don't test long-long return.
* 2003-07-23 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-07-2327-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.
* * ia64-tdep.c (ia64_print_insn): New function.Andreas Schwab2003-07-232-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-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-07-232-0/+5
| | | | * gdb.threads/tls.exp :Add kfail for 'info address' case.
* 2003-07-22 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-07-232-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.
* *** empty log message ***gdbadmin2003-07-231-1/+1
|
* 2003-07-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-07-224-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-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-07-222-3/+3
| | | | * dwarf2loc.c (locexpr_describe_location): Fix typos.
* 2003-07-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-07-225-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-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-07-222-1/+5
| | | | dwarf2loc.c (locexpr_describe_location): Fix typo.
* 2003-07-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-07-226-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-22 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-07-229-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-22 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-07-222-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.
* * gdb.asm/powerpc.inc (gdbasm_startup): Force alignment.Andreas Schwab2003-07-222-0/+5
|
* *** empty log message ***gdbadmin2003-07-221-1/+1
|
* 2003-07-21 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-07-214-3052/+3408
| | | | | From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: * m32r-tdep.c, m32r-stub.c, m32r-tdep.c: Rewrite.
* *** empty log message ***gdbadmin2003-07-211-1/+1
|
* * m68hc11-tdep.c (m68hc11_pseudo_register_read): UseStephane Carrez2003-07-202-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.
* * gdb.base/selftest.exp (do_steps_and_nexts): Add more patternsAndreas Schwab2003-07-202-0/+17
| | | | due to insn reordering.
* * m68hc11-tdep.c (m68hc11_extract_return_value): Use regcache_raw_readStephane Carrez2003-07-202-15/+24
| | | | | and translate to use regcache. (m68hc11_gdbarch_init): Undeprecate extract_return_value.
* *** empty log message ***gdbadmin2003-07-201-1/+1
|
* *** empty log message ***gdbadmin2003-07-191-1/+1
|
* 2003-07-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-07-187-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-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-07-182-0/+6
| | | | | From 2003-07-04 Kei Sakamoto <sakamoto.kei@renesas.com>: * disasm.c (gdb_disassemble_info): Initilize di.arch.
* 2003-07-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-07-182-18/+17
| | | | | | * dwarf2-frame.c (dwarf2_frame_sniffer): Use frame_unwind_address_in_block, instead of frame_pc_unwind. (dwarf2_frame_cache): Ditto.
* 2003-07-18 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-07-184-1/+9
| | | | | | * user-regs.h (struct gdbarch): Declare opaque. * ui-out.h (struct ui_file): Declare opaque. * dwarf2-frame.h (struct frame_info): Declare opaque.
* 2003-07-18 Kris Warkentin <kewarken@qnx.com>Kris Warkentin2003-07-182-4/+11
| | | | | | | * nto-procfs.c: Clean ARI hits. Change #include <..> to #include .... (procfs_meminfo): Change strerror to safe_strerror. (procfs_can_run): Remove K&R badness.
* 2003-07-17 Michael Snyder <msnyder@redhat.com>Michael Snyder2003-07-182-2/+6
| | | | * remote-sim.c: Comment typo fix.
* *** empty log message ***gdbadmin2003-07-181-1/+1
|
* 2003-07-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-07-174-11/+11
| | | | | | | | * defs.h (GDB_MULTI_ARCH): Delete conditional define. Handled by configure. * sparc-tdep.c (sparc_intreg_size): Make non-static. * config/sparc/tm-sparc.h (GDB_MULTI_ARCH): Define to GDB_MULTI_ARCH_PARTIAL.
* 2003-07-17 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2003-07-173-1/+48
| | | | | | * Makefile.in (x86-64-linux-nat.o): Update dependencies. * x86-64-linux-nat.c (ps_get_thread_area): New function. Add include of asm/prctl.h, asm/ptrace.h, and gdb_proc_service.h.
* *** empty log message ***gdbadmin2003-07-171-1/+1
|
* * avr-tdep.c (avr_skip_prologue): Return PC unchanged if no prologue found.Theodore A. Roth2003-07-162-76/+69
| | | | | | | | | (avr_frame_unwind_cache): Don't unwind FP for main. Update a comment. Save the computed prev_sp. (avr_saved_regs_unwinder): Remove function. (avr_frame_prev_register): Use PC unwind logic from avr_saved_regs_unwinder, otherwise use trad_frame_prev_register.
* 2003-07-16 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-07-1616-116/+107
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * frame-base.h (frame_base_p_ftype): Delete definition. (frame_base_append_predicate): Delete declaration. * frame-unwind.h (frame_unwind_p_ftype): Delete definition. (frame_unwind_append_predicate): Delete declaration. * frame-unwind.c (struct frame_unwind_table): Delete field "p". (append_predicate): Delete parameter "p". (frame_unwind_append_predicate): Delete function. (frame_unwind_append_sniffer): Update call to append_predicate. (frame_unwind_free): Delete function. (_initialize_frame_unwind): Pass NULL as "free" to register_gdbarch_data. (frame_unwind_init): Append the dummy_frame_sniffer. (frame_unwind_find_by_frame): Simplify. * frame-base.c (struct frame_base_table): Delete field "p". (append_predicate): Delete parameter "p". (frame_base_append_predicate): Delete function. (frame_base_append_sniffer): Update call to append_predicate. (frame_base_free): Delete function. (frame_base_find_by_frame): Simplify. (_initialize_frame_base): Pass NULL as "free" to register_gdbarch_data. * x86-64-tdep.c (x86_64_frame_sniffer): Replace "x86_64_frame_p". (x86_64_sigtramp_frame_sniffer): Replace "x86_64_sigtramp_frame_p". (x86_64_init_abi): Set the frame unwind sniffers. * m68k-tdep.c (m68k_frame_sniffer): Replace "m68k_frame_p". (m68k_sigtramp_frame_sniffer): Replace "m68k_sigtramp_frame_p" (m68k_gdbarch_init): Set the frame unwind sniffers. * i386-tdep.c (i386_sigtramp_frame_sniffer): Replace "i386_sigtramp_frame_p". (i386_frame_sniffer): Replace "i386_frame_p". (i386_gdbarch_init): Set the frame unwind sniffers. * avr-tdep.c (avr_frame_sniffer): Replace "avr_frame_sniffer". (avr_gdbarch_init): Set the frame unwind sniffers. * alpha-tdep.c (alpha_sigtramp_frame_sniffer): Replace "alpha_sigtramp_frame_p" (alpha_heuristic_frame_sniffer): Replace "alpha_heuristic_frame_p". (alpha_gdbarch_init): Set the frame unwind sniffers. (alpha_dwarf2_init_abi): Ditto. * alpha-mdebug-tdep.c (alpha_mdebug_frame_sniffer): Replace "alpha_debug_frame_p". (alpha_mdebug_frame_base_sniffer): Replace "alpha_mdebug_frame_base_p". (alpha_mdebug_init_abi): Set the frame unwind sniffers. * d10v-tdep.c (d10v_frame_sniffer): Replace "d10v_frame_p". (d10v_gdbarch_init): Set the frame unwind sniffer. * dwarf2-frame.c (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". * dwarf2-frame.h (dwarf2_frame_sniffer): Replace "dwarf2_frame_p". (dwarf2_frame_base_sniffer): Replace "dwarf2_frame_base_p". * dummy-frame.c (dummy_frame_sniffer): Replace "dummy_frame_p". * dummy-frame.h (dummy_frame_sniffer): Replace "dummy_frame_p".
* * sh-tdep.c (sh_gdbarch_init): Fetch_registers for the sh3-dspCorinna Vinschen2003-07-162-320/+364
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | should go thru sh_dsp_register_sim_regno, else the dsp regs will not get the right values. * sh-tdep.c (sh_sh4_register_convert_to_virtual): Substitute call to deprecated_store_floating by call to store_typed_floating. (sh_sh4_register_convert_to_raw): Substitute call to deprecated_extract_floating by call to extract_typed_floating. * sh-tdep.c (sh_gdbarch_init): Set double to 4 byte on sh2e and sh3e. * sh-tdep.c: Substitute calls to REGISTER_RAW_SIZE by calls to register_size and calls to REGISTER_VIRTUAL_TYPE by calls to gdbarch_register_type in 32 bit code throughout. Avoid current_gdbarch as possible. (do_pseudo_register): Remove. (sh_push_dummy_code): New function. (sh64_store_struct_return): Rename from sh_store_struct_return. Only called for sh64 now. (sh_extract_struct_value_address): Regcache'ify. (sh_push_dummy_call): Rename from sh_push_arguments. Regcache'ify and accomodate new tasks. (sh64_push_return_address): Rename from sh_push_return_address. Only called for sh64 now. (sh_default_extract_return_value): Rename from sh_extract_return_value. Regcache'ify. (sh3e_sh4_extract_return_value): Regcache'ify. (sh_default_store_return_value): Ditto. (sh3e_sh4_store_return_value): Ditto. (sh_default_register_byte): Remove. (sh_sh4_register_byte): Remove. (sh_default_register_raw_size): Remove. (sh_sh4_register_raw_size): Remove. (sh_register_virtual_size): Remove. (sh_sh3e_register_virtual_type): Remove. (sh_sh3e_register_type): New function. (sh_sh4_register_virtual_type): Remove. (sh_sh4_register_type): New function. (sh_default_register_virtual_type): Remove. (sh_default_register_type): New function. (do_fv_register_info): Add parameters to accomodate call from sh_print_registers_info. (do_dr_register_info): Ditto. (sh_print_pseudo_register): Rename from sh_do_pseudo_register. Add parameters to accomodate call from sh_print_registers_info. (sh_do_fp_register): Ditto. (sh64_do_pseudo_register): Call do_dr_register_info, do_fv_register_info and sh_do_fp_register with default parameters. (sh_do_register): Add parameters to accomodate call from sh_print_registers_info. (sh_print_register): Ditto. (sh_print_registers_info): Rename from sh_do_registers_info. Add parameters to be used as gdbarch_print_registers_info implementation. Accomodate removed do_pseudo_register function pointer. (sh_compact_do_registers_info): Accomodate removed do_pseudo_register function pointer. Call sh_print_register with default parameters. (sh64_do_registers_info): Call sh_print_registers_info instead of sh_do_registers_info. (sh_gdbarch_init): Rearrange to cleanup and to allow easier detection of deprecated vs. non-deprecated functionality. Rename sh_call_dummy_words to sh64_call_dummy_words. Remove function pointer assignments by direct function calls.
* *** empty log message ***gdbadmin2003-07-161-1/+1
|
* 2003-07-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-07-156-63/+142
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * frame.c (get_frame_id): Use frame_unwind_find_by_frame. (frame_register_unwind, create_new_frame): Ditto. (legacy_get_prev_frame, get_frame_type): Ditto. (get_frame_base_address): Use frame_base_find_by_frame. (get_frame_locals_address): Use frame_base_find_by_frame. (get_frame_args_address): Use frame_base_find_by_frame. * frame-base.h (frame_base_sniffer_ftype): Declare. (frame_base_append_sniffer): Declare. (frame_base_find_by_frame): Replace frame_base_find_by_pc. * frame-base.c (append_predicate): Add a "sniffer" parameter. (frame_base_append_sniffer): New function. (frame_base_append_predicate): Add a NULL sniffer. (frame_base_find_by_frame): Replace "frame_base_find_by_pc". (struct frame_base_table): Add "sniffer". (frame_base_free): Free the "sniffer" table. * frame-unwind.h (frame_unwind_sniffer_ftype): Define. (frame_unwind_append_sniffer): Declare. (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc. * frame-unwind.c (frame_unwind_free): Free the "sniffer" table. (struct frame_unwind_table): Add "sniffer", delete "middle". (append_predicate): Add "sniffer" parameter, append the sniffer. (frame_unwind_init): Update append_predicate call. (frame_unwind_append_sniffer): New function. (frame_unwind_append_predicate): Update append_predicate call. (frame_unwind_find_by_frame): Replace frame_unwind_find_by_pc.
* 2003-07-15 Andrew Cagney <cagney@redhat.com>Andrew Cagney2003-07-156-30/+94
| | | | | | | | | | | | | | | * frame.c (get_prev_frame): Move disabled inside_entry_func to before code inhibiting repeated unwind attempts. Add to commentary on that test's problems. * blockframe.c (inside_main_func): Look for "main" in the minimal symbol table. * d10v-tdep.c (d10v_frame_this_id): Delete check that frames are identical. Index: testsuite/ChangeLog 2003-07-15 Andrew Cagney <cagney@redhat.com> * gdb.asm/asm-source.exp: Do not allow "start" in the backtrace.
OpenPOWER on IntegriCloud