Daniel Jacobowitz
e86e87f77f
* symtab.c (find_pc_sect_line): Do not return a line before
...
the start of a symtab.
2006-11-28 16:23:32 +00:00
Ulrich Weigand
9c309e77dc
* NEWS: SPU target is already supported in GDB 6.6.
2006-11-24 20:19:37 +00:00
Ulrich Weigand
5ea03926ac
* Makefile.in (mips-linux-tdep.o) Add $(solib_h) dependency.
...
(nto-procfs.o): Likewise.
* mips-linux-tdep.c: Include "solib.h".
* nto-procfs.c: Likewise.
* config/nm-linux.h: Do not include "solib.h".
* config/nm-nbsd.h: Likewise.
* config/tm-linux.h: Likewise.
* config/alpha/nm-osf.h: Likewise.
* config/frv/tm-frv.h: Likewise.
* config/i386/nm-fbsh.h: Likewise.
* config/i386/nm-i386gnu.h: Likewise.
* config/i386/nm-i386sco5.h: Likewise.
* config/i386/nm-i386sol2.h: Likewise.
* config/i386/nm-i386v4.h: Likewise.
* config/i386/nm-i386v42mp.h: Likewise.
* config/i386/tm-i386sol2.h: Likewise.
* config/i386/tm-nto.h: Likewise.
* config/mips/nm-irix5.h: Likewise.
* config/mips/tm-nbsd.h: Likewise.
* config/pa/tm-hppah.h: Likewise.
* config/powerpc/tm-ppc-eabi.h: Likewise.
* config/rs6000/tm-rs6000.h: Likewise.
* config/sh/tm-nbsd.h: Likewise.
* config/sparc/nm-sol2.h: Likewise.
* config/sparc/tm-sol2.h: Likewise.
* config/arm/nbsdaout.mh: Remove NAT_FILE.
* config/i386/nbsdaout.mh: Likewise.
* config/i386/nbsdelf.mh: Likewise.
* config/i386/obsdaout.mh: Likewise.
* config/m68k/nbsdaout.mh: Likewise.
* config/m68k/obsd.mh: Likewise.
* config/sparc/nbsdaout.mh: Likewise.
* config/cris/cris.mt: Remove DEPRECATED_TM_FILE.
* config/i386/linux64.mt: Likewise.
* config/m68k/linux.mt: Likewise.
* config/m68k/nbsd.mt: Likewise.
* config/sparc/linux.mt: Likewise.
* config/sparc/linux64.mt: Likewise.
* config/vax/nbsd.mt: Likewise.
2006-11-24 18:23:34 +00:00
Ulrich Weigand
d1320b0b09
* NEWS: New port to Cell Broadband Engine SPU.
...
* MAINTAINERS: Add myself as spu maintainer.
2006-11-22 19:41:17 +00:00
Daniel Jacobowitz
29d73ae48c
gdb/
...
* Makefile.in (arm-tdep.o): Update dependencies.
* arm-tdep.c (thumb_skip_prologue): Remove.
(thumb_analyze_prologue): New function.
(arm_skip_prologue): Use thumb_analyze_prologue.
(thumb_scan_prologue): Ditto.
gdb/testsuite/
* gdb.arch/thumb-prologue.c, gdb.arch/thumb-prologue.exp: New files.
2006-11-22 18:51:58 +00:00
Ulrich Weigand
a13e2c95aa
ChangeLog:
...
* configure.tgt: Enable gdbserver for SPU target.
* configure.ac: Build gdbserver when gdb_native is yes.
* configure: Regenerate.
* regformats/reg-spu.dat: New file.
gdbserver/ChangeLog:
* configure.srv: Add target "spu*-*-*".
* Makefile.in (clean): Remove reg-spu.c.
(reg-spu.c, reg-spu.o, spu-low.o): Add dependencies.
* spu-low.c: New file.
2006-11-22 17:34:15 +00:00
Daniel Jacobowitz
59a59f840d
* osabi.c (gdbarch_lookup_osabi): Do not return
...
GDB_OSABI_UNINITIALIZED.
2006-11-22 17:32:07 +00:00
Ulrich Weigand
771b4502d5
* config/powerpc/spu-linux.mh: New file.
...
* config/spu/spu.mt: New file.
* configure.ac: Provide gdb_native configuration variable.
* configure: Regenerate.
* configure.host: Support powerpc64 to spu 'pseudo-native' mode.
* configure.tgt: Add "spu" target_cpu and "spu*-*-*" target.
* Makefile.in (spu_tdep_h): New variable.
(ALLDEPFILES): Add spu-linux-nat.c and spu-tdep.c
(spu-linux-nat.o, spu-tdep.o): Add dependencies.
* spu-linux-nat.c: New file.
* spu-tdep.c: New file.
* spu-tdep.h: New file.
2006-11-22 13:49:53 +00:00
Ulrich Weigand
0b2b0195d1
* findvar.c (address_from_register): New function.
...
* value.h (address_from_register): Add prototype.
* dwarf2loc.c (dwarf_expr_read_reg): Use address_from_register.
2006-11-22 13:44:45 +00:00
Vladimir Prus
765dc01564
2006-11-22 Vladimir Prus <vladimir@codesourcery.com>
...
* breakpoint.c: Include "memattr.h".
(automatic_hardware_breakpoints): New.
(show_automatic_hardware_breakpoints): New.
(insert_bp_location): Automatically use
hardware breakpoints.
(_initialize_breakpoint): Register the "auto-hw"
variable.
* Makefile.in (breakpoint.o): Update dependencies.
2006-11-22 10:43:34 +00:00
Vladimir Prus
4b5752d02f
gdb/
...
* memattr.h (enum mem_access_mode): New value
MEM_NONE.
* memattr.c (unknown_mem_attrib): New.
(inaccessible_by_default): New.
(show_inaccessible_by_default): New.
(lookup_mem_region): Check inaccessible_by_default.
(dummy_cmd): New.
(mem_set_cmdlist, mem_show_cmdlist): New.
(_initialize_mem): Register new "set" and "show"
commands.
* target.c (memory_xfer_partial): If memory type
is MEM_NONE, return an error.
Clip to region size when calling to_xfer_partial.
If upper limit of memory range is 0, don't clip
anything.
gdb/doc/
* gdb.texinfo (Memory Access Checking): New.
2006-11-21 16:50:16 +00:00
Joel Brobecker
caac47b8c3
* README: Remove obsolete information.
2006-11-21 05:12:44 +00:00
Andrew Cagney
155bd5d1c1
Index: ChangeLog
...
2006-11-20 Andrew Cagney <cagney@redhat.com>
* linux-nat.h: Refer to GNU/Linux or Linux kernel.
* linux-nat.c (lin_lwp_attach_lwp, linux_nat_thread_alive): Ditto.
* infcmd.c (attach_command): Ditto.
* hppa-linux-tdep.c (hppa_linux_regset): Ditto.
* mn10300-linux-tdep.c: Ditto. Update copyright year.
* frv-linux-tdep.c: Ditto. Update copyright year.
2006-11-20 21:47:06 +00:00
Joel Brobecker
6dd0964508
* NEWS: Add a new section for changes since GDB 6.6. Rename
...
the section "Changes since GDB 6.5" into "Changes in GDB 6.6".
Move a couple of items into the new section as they did not
make it to 6.6.
2006-11-20 00:16:05 +00:00
Joel Brobecker
ab44b8ebc8
GDB 6.6 branch created (branch timestamp: 2006-11-15 12:00)
...
* version.in: Bump version to 6.6.50.20061119-cvs.
2006-11-19 23:30:13 +00:00
Daniel Jacobowitz
08f08ce684
* prologue-value.c (clear_entries): Fix memory leak.
2006-11-18 23:57:08 +00:00
Daniel Jacobowitz
aef9c3b3f5
2006-11-18 Pedro Alves <pedro_alves@portugalmail.pt>
...
* parse.c (write_exp_msymbol): Check SYMBOL_BFD_SECTION before
dereferencing it.
2006-11-18 23:54:32 +00:00
Daniel Jacobowitz
63f0680332
* utils.c (string_to_core_addr): Use error instead of
...
internal_error.
* mi/mi-main.c (mi_execute_command): Check for a NULL message.
2006-11-17 19:30:41 +00:00
Daniel Jacobowitz
e554a4b262
* NEWS: Mention QPassSignals.
2006-11-17 17:48:41 +00:00
Maxim Grigoriev
7a11f07a31
Changelog update for my previous check-in.
2006-11-16 19:58:57 +00:00
Daniel Jacobowitz
89be209149
gdb/
...
* remote.c (PACKET_QPassSignals): New.
(last_pass_packet, remote_pass_signals): New.
(remote_protocol_features): Add QPassSignals.
(remote_query_supported): Correct an infinite loop.
(remote_open_1): Reset last_pass_packet.
(remote_resume): Call remote_pass_signals.
(_initialize_remote): Register "set remote pass-signals".
gdb/doc/
* gdb.texinfo (Remote configuration): Mention
"pass-signals-packet".
(General Query Packets): Document QPassSignals. Fix
a typo.
gdb/gdbserver/
* linux-low.c (linux_wait_for_event): Reformat. Use the
pass_signals array.
* remote-utils.c (decode_address_to_semicolon): New.
* server.c (pass_signals, handle_general_set): New.
(handle_query): Mention QPassSignals for qSupported.
(main): Call handle_general_set.
* server.h (pass_signals, decode_address_to_semicolon): New.
2006-11-16 15:08:25 +00:00
Daniel Jacobowitz
ca3bf3bdbe
2006-11-14 Maxim Grigoriev <maxim@tensilica.com>
...
* NEWS: New port to Xtensa.
* Makefile.in: Add dependencies for Xtensa files.
* configure.tgt (xtensa*, xtensa*-*-elf*): New.
* configure.host (xtensa*-*-elf*): New.
* config/xtensa/xtensa.mt: New file.
* xtensa-config.c: New file.
* xtensa-tdep.h: New file.
* xtensa-tdep.c: New file.
2006-11-14 Maxim Grigoriev <maxim@tensilica.com>
* gdb.texinfo (Contributors): Add contributors of Xtensa port.
2006-11-14 21:53:59 +00:00
Daniel Jacobowitz
427c3a89d3
gdb/
...
* remote.c (set_remote_cmd): Call help_list.
(show_remote_cmd): Skip legacy aliases. Handle non-show_cmd
entries. Add missed cleanup.
* cli/cli-setshow.c (cmd_show_list): Handle non-show_cmd entries.
gdb/doc/
* gdb.texinfo (Remote configuration): Rewrite documentation for
packet configuration commands.
(OS Information): Adjust reference to qXfer:auxv:read.
(General Query Packets): Remove references to read-aux-vector-packet
and set remote get-thread-local-storage-address.
2006-11-14 21:40:19 +00:00
Daniel Jacobowitz
1bc1fa8c87
Fix last entry.
2006-11-13 19:05:50 +00:00
Paul Gilliam
4019046acc
Fix sigtramp cache code so that PPC register are read only if there is H/W.
2006-11-13 17:37:36 +00:00
Ben Harris
59ea4f7003
* arm-tdep.c (arm_unwind_pc): Use arm_addr_bits_remove.
2006-11-12 11:06:31 +00:00
Daniel Jacobowitz
e48af409a9
* frame.c (frame_register_unwind_location): New function.
...
(get_prev_frame_1): Check for UNWIND_NO_SAVED_PC.
(frame_stop_reason_string): Handle UNWIND_NO_SAVED_PC.
* frame.h (enum unwind_stop_reason): Add UNWIND_NO_SAVED_PC.
2006-11-10 20:11:35 +00:00
Daniel Jacobowitz
7a10774786
gdb/
...
* arch-utils.c (target_byte_order_user): Renamed from
target_byte_order.
(target_byte_order_auto, selected_byte_order): Removed.
(show_endian): Check target_byte_order_user.
(set_endian): Always update the architecture. Set
target_byte_order_user after success.
(target_architecture_auto): Removed.
(target_architecture_user): New.
(selected_architecture_name, show_architecture): Check it.
(set_architecture): Set target_architecture_user after success.
(gdbarch_from_bfd): Check the argument.
(default_byte_order): New.
(initialize_current_architecture): Set the global default
architecture and endianness.
(gdbarch_info_fill): Remove GDBARCH argument. Do not check the
previous architecture. Use exec_bfd, global selected architecture
and endianness, and global defaults.
* arch-utils.h (selected_byte_order): Remove prototype.
(gdbarch_info_fill): Update.
* exec.c (exec_file_attach): Update the architecture after removing
the current file.
* gdbarch.sh: Update comments.
(find_arch_by_info): Remove OLD_GDBARCH argument. Update call to
gdbarch_info_fill.
(gdbarch_find_by_info): Update call to find_arch_by_info.
* gdbarch.h, gdbarch.c: Regenerated.
* remote-sim.c (gdbsim_open): Use TARGET_BYTE_ORDER.
gdb/doc/
* gdbint.texinfo (Target Architecture Definition): Add new
Initializing a New Architecture section.
2006-11-10 19:20:37 +00:00
Jim Blandy
9ef8fd3cb0
Fix garbled ChangeLog entry.
2006-11-10 01:12:24 +00:00
Vladimir Prus
027fc1bcc3
Move changelog entry to the right place
2006-11-09 19:26:45 +00:00
Vladimir Prus
a38cd18094
2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
...
* gdb.base/help.exp (help_test_raw): New.
(test_class_help): New.
(test_prefix_command_help): New.
Adjust testcases.
2006-11-09 19:22:11 +00:00
Joel Brobecker
b5bf31df5b
* sparc-tdep.c (sparc_fetch_instruction): Read instruction
...
using read_memory_nobpt.
2006-11-09 16:36:58 +00:00
Jim Blandy
e5192dd81c
2006-11-06 Jim Blandy <jimb@codesourcery.com>
...
* (dwarf_expr_read_reg): Use frame_register_read, not frame_register.
* dwarf2loc.c (dwarf_expr_read_reg): Use frame_register_read
instead of frame_register. Doc fix.
2006-11-06 23:20:12 +00:00
Vladimir Prus
8b9e3a1523
2006-11-04 Vladimir Prus <vladimir@codesourcery.com>
...
* serial.c (serial_open): Strip leading spaces from program
name when opening pipe.
2006-11-04 08:37:24 +00:00
Jim Blandy
4bc9efe119
2006-11-03 Jim Blandy <jimb@codesourcery.com>
...
* dwarf2loc.c (dwarf_expr_read_reg): Use frame_unwind_register
instead of frame_register. Doc fix.
2006-11-03 22:09:28 +00:00
Daniel Jacobowitz
31ffec4870
* dwarf2read.c (struct dwarf2_per_cu_data): Update comment.
...
(load_full_comp_unit): Take OBJFILE argument and use it.
(dwarf2_build_psymtabs_hard): Skip partial units.
(process_queue): Pass OBJFILE to load_full_comp_unit. Check
type_hash for read in CUs. Test psymtab for NULL.
2006-11-02 21:34:07 +00:00
Daniel Jacobowitz
625b50039a
* arm-tdep.c (arm_gdbarch_init): Handle EF_ARM_EABI_VER5.
2006-11-02 21:32:22 +00:00
Vladimir Prus
6e381ba0b0
Improve "help all".
2006-10-31 11:45:41 +00:00
Andreas Schwab
f73adfeb8b
* gdbcmd.h (detachlist): Declare.
...
* infcmd.c (_initialize_infcmd): Define "detach" as prefix
command.
* linux-fork.c (_initialize_linux_fork): Rename
"detach-checkpoint" to "detach checkpoint" and "detach-fork" to
"detach fork".
* cli/cli-cmds.c (detachlist): Define.
(init_cmd_lists): Initialize it.
* cli/cli-cmds.h (detachlist): Declare.
doc/:
* gdb.texinfo (Processes): Rename "detach-fork" to "detach fork".
testsuite/:
* gdb.base/multi-forks.exp: Use "detach fork" instead of
"detach-fork".
2006-10-27 22:23:21 +00:00
Jim Blandy
7080f20f88
gdb/ChangeLog:
...
2006-10-25 Jim Blandy <jimb@codesourcery.com>
* p-valprint.c (pascal_object_print_value): Add 'static' keyword
to function definition, to match declaration earlier in file.
2006-10-25 21:26:41 +00:00
Nick Roberts
d149de7bca
*** empty log message ***
2006-10-24 20:23:56 +00:00
Paul Brook
3732ba62b9
2006-10-21 Paul Brook <paul@codesourcery.com>
...
* remote.c (remote_fetch_registers): Fix error message.
2006-10-21 17:59:08 +00:00
Daniel Jacobowitz
804e0f53e7
* gcore.c (MAX_COPY_BYTES): Define.
...
(gcore_copy_callback): Use it to limit allocation.
2006-10-20 22:06:28 +00:00
Ulrich Weigand
f86172a554
* linux-thread-db.c (check_for_thread_db): Don't attempt to use
...
thread_db for remote targets.
* remote.c (remote_new_objfile): Always call predecessor on
new_objfile event chain.
2006-10-20 01:08:14 +00:00
Joel Brobecker
6612ad7f9f
* solib.c (libpthread_solib_p): New function.
...
(solib_add): Always read the symbols from the libpthread library.
2006-10-19 19:58:23 +00:00
Andrew Stubbs
d674a25c2b
2006-10-19 Andrew Stubbs <andrew.stubbs@st.com>
...
* breakpoint.c (describe_other_breakpoints): Add thread parameter.
Annotate display with thread number where appropriate.
(create_breakpoints): Add thread parameter to call to
describe_other_breakpoints.
2006-10-19 15:58:25 +00:00
Andreas Schwab
76101e23e5
Typos.
2006-10-19 09:23:10 +00:00
Daniel Jacobowitz
981c7f5a30
* utils.c (query): Use defaulted_query.
...
(defaulted_query): Handle having no default answer. Print out
messages even if we have no terminal. Prevent memory corruption.
2006-10-18 22:16:52 +00:00
Daniel Jacobowitz
55feb68948
* frame.c (struct frame_info): Add stop_reason.
...
(get_prev_frame_1): Set stop_reason. Don't call error for
stop reasons.
(get_frame_unwind_stop_reason, frame_stop_reason_string): New.
* frame.h (enum unwind_stop_reason): New.
(get_frame_unwind_stop_reason, frame_stop_reason_string): New
prototypes.
* stack.c (frame_info): Print the stop reason.
(backtrace_command_1): Print the stop reason for errors.
2006-10-18 19:52:05 +00:00
Daniel Jacobowitz
8621d6a944
* inferior.h (start_remote): Update prototype.
...
* infrun.c (start_remote): Take FROM_TTY. Call
post_create_inferior.
* monitor.c (monitor_open): Update call to start_remote.
* remote-sds.c (sds_start_remote, sds_open): Likewise.
* remote.c (remote_start_remote): Likewise.
(remote_start_remote_dummy): Removed.
(remote_open): Update call to remote_start_remote. Do not call
post_create_inferior here.
2006-10-18 16:56:13 +00:00