H.J. Lu
9fb92a5a5b
2006-12-05 H.J. Lu <hongjiu.lu@intel.com>
...
* cp-valprint.c (cp_print_value_fields): Initialize tmp_obstack.
(cp_print_value): Likewise.
* p-valprint.c (pascal_object_print_value_fields): Likewise.
(pascal_object_print_value): Likewise.
2006-12-05 20:53:28 +00:00
Daniel Jacobowitz
ecde4882ba
2006-12-05 Adam Nemet <anemet@caviumnetworks.com>
...
* target.c (debug_to_remove_watchpoint): Call
to_remove_watchpoint. Print target_remove_watchpoint.
2006-12-05 20:38:13 +00:00
gdbadmin
e611e605d1
*** empty log message ***
2006-12-05 00:00:35 +00:00
Nick Roberts
22d8a47037
(GDB/MI Variable Objects): Describe -c option
...
of -var-delete.
2006-12-04 03:53:19 +00:00
Nick Roberts
9f470e6e42
*** empty log message ***
2006-12-04 03:51:39 +00:00
gdbadmin
617db910fd
*** empty log message ***
2006-12-04 00:00:04 +00:00
gdbadmin
aaea7f010c
*** empty log message ***
2006-12-03 00:00:33 +00:00
gdbadmin
1336e2716c
*** empty log message ***
2006-12-02 00:00:03 +00:00
Daniel Jacobowitz
0823249716
gdb/
...
* elfread.c (elf_symtab_read): Treat weak functions as global.
gdb/testsuite/
* gdb.base/solib-weak.c, gdb.base/solib-weak.exp, gdb.base/weaklib1.c,
gdb.base/weaklib2.c: New files.
2006-12-01 18:14:30 +00:00
Jim Blandy
4155b94b2c
2006-11-30 Jim Blandy <jimb@codesourcery.com>
...
* ada-lang.c (value_subscript_packed): Don't bother to set the
lvalue type of the returned value here;
ada_value_primitive_packed_val takes care of that.
2006-12-01 00:32:29 +00:00
gdbadmin
2711582ca6
*** empty log message ***
2006-12-01 00:00:34 +00:00
gdbadmin
85411edae8
*** empty log message ***
2006-11-30 00:00:34 +00:00
Nick Roberts
f82465f0bb
(mi_cmd_var_list_children): Remove unused
...
variable.
2006-11-29 22:53:07 +00:00
Nick Roberts
cd9c4388f1
*** empty log message ***
2006-11-29 22:52:37 +00:00
Nathan Sidwell
ac6c2fba05
* gdb.threads/linux-dp.exp: Adjust regexps used to scan thread
...
info. Adjust test names.
2006-11-29 16:16:46 +00:00
Vladimir Prus
a217f3f543
2006-07-29 Vladimir Prus <vladimir@codesourcery.com>
...
* mi/mi-cmd-var.c (print_varobj): New function.
(mi_cmd_var_create): Use the above.
(mi_cmd_var_list_children): Likewise.
2006-11-29 15:40:59 +00:00
Vladimir Prus
64d756327a
2006-07-29 Vladimir Prus <vladimir@codesourcery.com>
...
* MAINTAINERS (Write After Approval): Add myself.
2006-11-29 13:52:54 +00:00
Andrew Stubbs
f1d10cfb32
2006-11-29 Andrew Stubbs <andrew.stubbs@st.com>
...
* solib.c (solib_open): Treat bare file names as relative paths.
2006-11-29 12:27:01 +00:00
Nathan Sidwell
d394c9935d
* gdb.base/break.c (main): Move position of malloc.
...
* gdb.base/break.exp: Revert mistaken checkin.
2006-11-29 08:02:07 +00:00
Vladimir Prus
ae09783548
2006-11-29 Vladimir Prus <vladimir@codesourcery.com>
...
* varobj.c (varobj_set_value): Don't compare the old
and the new value here. Don't assign new value here.
Instead, call install_new_value.
2006-11-29 06:41:13 +00:00
gdbadmin
ba3d1a1c2d
*** empty log message ***
2006-11-29 00:00:33 +00:00
Daniel Jacobowitz
186947f7ca
gdb/gdbserver/
...
* Makefile.in (clean): Remove reg-mips64.c.
(reg-mips64.c, reg-mips64.o): New rules.
* configure.srv: Handle mips64. Include regset support for mips.
* linux-mips-low.c (union mips_register): New.
(mips_get_pc, mips_set_pc, mips_reinsert_addr): Use it.
(mips_breakpoint, mips_breakpoint_at): Use int.
(mips_collect_register, mips_supply_register)
(mips_collect_register_32bit, mips_supply_register_32bit)
(mips_fill_gregset, mips_store_gregset, mips_fill_fpregset)
(mips_store_fpregset, target_regsets): New.
* thread-db.c (thread_db_get_tls_address): Use uintptr_t.
gdb/
* regformats/reg-mips64.dat: New file.
2006-11-28 22:21:23 +00:00
Daniel Jacobowitz
29709017e8
* Makefile.in (mips-tdep.o, target-descriptions.o): Update.
...
* target-descriptions.c (struct property): New.
(struct target_desc): Add properties member.
(tdesc_property, set_tdesc_property): New.
* target-descriptions.h (tdesc_property, set_tdesc_property):
Declare.
* mips-tdep.c (PROPERTY_GP32, PROPERTY_GP64): New constants.
(struct gdbarch_tdep): Add register_size_valid_p and register_size.
(mips_isa_regsize): Use them.
(mips_register_g_packet_guesses): New.
(mips_gdbarch_init): Call it. If a target description is supplied,
check for internal properties. Check for register size mismatches.
* remote.c (send_g_packet, process_g_packet): New functions, split
out from fetch_registers_using_g.
(fetch_registers_using_g): Use them.
(struct remote_g_packet_guess, remote_g_packet_guess_s)
(struct remote_g_packet_data, remote_g_packet_data_handle)
(remote_g_packet_data_init, register_remote_g_packet_guess)
(remote_read_description): New.
(init_remote_ops, init_remote_async_ops): Set to_read_description.
(_initialize_remote): Register remote_g_packet_data_handle.
* remote.h (register_remote_g_packet_guess): Declare.
2006-11-28 22:14:31 +00:00
Daniel Jacobowitz
424163ea15
* Makefile.in (SFILES): Add new and missed files.
...
(target_descriptions_h): New.
(COMMON_OBS): Add target-descriptions.o.
(arch-utils.o, infcmd.o, remote.o, target.o): Update.
(target-descriptions.o): New.
* arch-utils.c (gdbarch_info_fill): Check for a target
description.
* target-descriptions.c, target-descriptions.h: New files.
* gdbarch.sh: Add target_desc to info. Declare it in gdbarch.h.
Correct typos.
(gdbarch_list_lookup_by_info): Check target_desc.
* gdbarch.c, gdbarch.h: Regenerated.
* target.c (update_current_target): Mention to_read_description.
(target_pre_inferior): Call target_clear_description.
(target_read_description): New.
* target.h (struct target_ops): Add to_read_description.
(target_read_description): New prototype.
* infcmd.c (post_create_inferior): Call target_find_description.
* remote.c (remote_open_1): Likewise.
(extended_remote_create_inferior): Add a comment.
(extended_remote_async_create_inferior): Likewise.
2006-11-28 22:10:26 +00:00
Nick Roberts
979894f2c2
Include <signal.h>.
2006-11-28 21:44:50 +00:00
Nick Roberts
fe07246165
*** empty log message ***
2006-11-28 21:44:26 +00:00
Ulrich Weigand
982e9687bf
* config/tm-linux.h: Delete file.
...
* config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Set to tm-alpha.h.
* config/alpha/tm-alphalinux.h: Delete file.
* config/arm/linux.mt (DEPRECATED_TM_FILE): Set to tm-arm.h
* config/arm/tm-linux.h: Delete file.
* config/i386/tm-linux.h: Do not include "config/tm-linux.h".
* config/ia64/tm-linux.h: Do not include "config/tm-linux.h".
* config/m32r/linux.mt (DEPRECATED_TM_FILE): Remove.
* config/mips/tm-linux.h: Do not include "config/tm-linux.h".
* config/pa/linux.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h.
* config/pa/tm-linux.h: Delete file.
* config/powerpc/tm-linux.h: Do not include "config/tm-linux.h".
* config/s390/linux.mt (DEPRECATED_TM_FILE): Remove.
* config/sh/linux.mt (DEPRECATED_TM_FILE): Set to tm-sh.h.
* config/sh/tm-linux.h: Delete file.
* alpha-linux-tdep.c: Include "symtab.h".
(alpha_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* i386-linux-tdep.c: Include "symtab.h".
(i386_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* ia64-linux-tdep.c: Include "symtab.h".
(ia64_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* m32r-linux-tdep.c: Include "symtab.h".
(m32r_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* mips-linux-tdep.c: Include "symtab.h".
(mips_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* sh-linux-tdep.c: Include "symtab.h".
(sh_linux_init_abi): Call set_gdbarch_skip_trampoline_code.
* s390-tdep.c (s390_gdbarch_init): Call
set_gdbarch_skip_trampoline_code.
* s390-nat.c: Do not include "tm.h".
* Makefile.in (alpha-linux-tdep.o): Add dependency on $(symtab_h).
(i386-linux-tdep.o): Likewise.
(ia64-linux-tdep.o): Likewise.
(m32r-linux-tdep.o): Likewise.
(mips-linux-tdep.o): Likewise.
(sh-linux-tdep.o): Likewise.
(s390-nat.o): Remove dependency on $(tm_h).
2006-11-28 21:41:03 +00:00
Ulrich Weigand
0b75775590
* config/nm-linux.h: Do not include <signal.h>.
...
(REALTIME_LO, REALTIME_HI): Do not define.
* signals/signals.c (REALTIME_HI): Fix off-by-one bug.
2006-11-28 19:45:07 +00:00
Vladimir Prus
51b57b6b26
2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
...
* mi/mi-cmd-var.c (mi_cmd_var_create): Fix cleanup
handlers. Free expression.
2006-11-28 19:40:27 +00:00
Ulrich Weigand
238ae9afbe
* config/tm-linux.h (REALTIME_LO, REALTIME_HI): Do not define.
...
* config/mips/tm-linux.h (REALTIME_LO, REALTIME_HI): Likewise.
* config/rs6000/tm-rs6000ly.h (REALTIME_LO, REALTIME_HI): Move to ...
* config/nm-lynx.h (REALTIME_LO, REALTIME_HI): ... here.
* config/i386/nto.mh (NAT_FILE): Define.
* config/i386/nto.mt (DEPRECATED_TM_FILE): Remove.
* config/i386/tm-nto.h: Delete file.
* config/tm-nto.h: Delete file.
* config/nm-nto.h: New file.
* Makefile.in (nto-tdep.o): Add dependency on $(objfiles_h).
* nto-tdep.c: Include "objfiles.h" and <string.h>.
* coff-solib.h (SOLIB_UNLOADED_LIBRARY_PATHNAME): Define as "".
* xcoffread.c (read_xcoff_symtab): Initialize fcn_stab_saved.
* config/rs6000/rs6000lynx.mt (TDEPFILES): Add xcoffread.o.
2006-11-28 19:07:51 +00:00
Nathan Sidwell
8ec659a07e
* gdb.base/break.c (main): Move position of malloc.
2006-11-28 17:52:06 +00:00
Daniel Jacobowitz
3e9a2e5245
* dwarf2-frame.c (decode_frame_entry_1): Skip unknown augmentations
...
without skipping the CIE.
2006-11-28 17:28:29 +00:00
Vladimir Prus
acd65feb7e
2006-11-28 Vladimir Prus <vladimir@codesourcery.com>
...
Fetch varobj values from memory in a single place,
and only fetch the values that are really needed.
* varobj.c (struct varobj): Clarify comment.
(my_value_equal): Remove.
(install_new_value): New function.
(type_of_child): Remove.
(varobj_create): Use install_new_value.
(varobj_set_value): Use value_contents_equal, not
my_value_equal.
(varobj_update): Use install_new_value.
(create_child): Likewise. Inline type_of_child here.
(value_of_child): Don't fetch the value.
(c_value_of_root): Likewise.
(c_value_of_variable): Likewise.
(type_changeable): Improve comments.
2006-11-28 17:23:10 +00:00
Daniel Jacobowitz
74ca34cea9
* remote.c (struct remote_arch_state): Doc fix.
...
(compare_pnums): New function.
(init_remote_state): Only allocate packet_reg structures for raw
registers. Define the g/G packet format separately from creating
packet_reg. Don't use DEPRECATED_REGISTER_BYTE.
(packet_reg_from_regnum, packet_reg_from_pnum): Only iterate over
raw registers.
(register_bytes_found): Delete.
(fetch_register_using_p): Take a struct packet_reg. Handle disabled
'p' packet here. Use packet_ok.
(fetch_registers_using_g): New function, split out of
remote_fetch_registers. Check the 'g' packet more strictly. Save
its actual size and contents. Eliminate BUF. Only iterate over
raw registers.
(remote_fetch_registers): Use the new functions for 'p' and 'g'.
Mark unavailable registers.
(store_register_using_P): Likewise to fetch_register_using_p.
(store_registers_using_G): New function, split out of
remote_store_registers. Only iterate over raw registers. Don't
use register_bytes_found.
(remote_store_registers): Likewise to remote_fetch_registers.
2006-11-28 17:08:49 +00:00
Daniel Jacobowitz
fbcebcb1ce
2006-11-28 Pedro Alves <pedro_alves@portugalmail.pt>
...
* coffread.c (cs_to_bfd_section): New function.
(cs_to_section): Use cs_to_bfd_section.
(record_minimal_symbol): Take the coff_symbol* parameter instead
of the symbol's name as a char*.
Add 'int section' parameter. Call prim_record_minimal_symbol_and_info
instead of prim_record_minimal_symbol_and_info.
Change return type to struct minimal_symbol *.
(coff_symtab_read): Adapt to new record_minimal_symbol's signature.
Make all minimal symbol creations go through record_minimal_symbol.
2006-11-28 16:53:54 +00:00
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
Nathan Sidwell
f556d5e59d
* gdb.base/break.c (main): Call malloc.
2006-11-28 16:04:00 +00:00
Nathan Sidwell
fcfcc2b53d
* gdb.threads/linux-dp.exp: Read thread table before and after
...
creating each philosopher and verify it.
2006-11-28 15:16:48 +00:00
gdbadmin
6314c43296
*** empty log message ***
2006-11-28 00:00:33 +00:00
Nathan Sidwell
697bc68de8
* gdb.base/ending-run.exp: Flatten expect script stepping out of
...
main to remove duplication. Add start function of the form
'_*start[1-9]*'. Add RVDS start function.
2006-11-27 15:09:54 +00:00
gdbadmin
14077f2331
*** empty log message ***
2006-11-27 00:00:32 +00:00
gdbadmin
8f4879226a
*** empty log message ***
2006-11-26 00:00:32 +00:00
gdbadmin
b30697a136
*** empty log message ***
2006-11-25 00:00:02 +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
gdbadmin
4c11e4dee2
*** empty log message ***
2006-11-24 00:00:32 +00:00
gdbadmin
6bdcbd8f81
*** empty log message ***
2006-11-23 00:00:36 +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
c1d88655bb
* gdb.asm/asm-source.exp: Add "spu*-*-*" target.
...
* gdb.asm/spu.inc: New file.
* gdb.base/term.exp: Disable if [target_info exists noargs].
* gdb.gdb/complaints.exp: Disable if ![isnative].
* gdb.gdb/selftest.exp: Likewise.
* gdb.gdb/observer.exp: Likewise.
* gdb.gdb/xfullpath.exp: Likewise.
* gdb.base/attach.exp: Disable on SPU target.
* gdb.cp/bs145503.exp: Likewise.
* gdb.cp/exception.exp: Likewise.
* gdb.cp/userdef.exp: Likewise.
2006-11-22 17:19:52 +00:00
Daniel Jacobowitz
32a13b1aec
* gdb.stabs/weird.exp (print_weird_var): Don't send extra \n.
2006-11-22 15:24: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
gdbadmin
3593430428
*** empty log message ***
2006-11-22 00:00:32 +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
gdbadmin
76ea7ebf75
*** empty log message ***
2006-11-21 00:00:33 +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
gdbadmin
baa7655eda
*** empty log message ***
2006-11-20 00:00:32 +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
gdbadmin
ed4768753a
*** empty log message ***
2006-11-19 00:00:02 +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
gdbadmin
8329e30aa8
*** empty log message ***
2006-11-18 00:00:03 +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
gdbadmin
6e953d69fb
*** empty log message ***
2006-11-17 00:00:03 +00:00
Daniel Jacobowitz
cb7283db10
* configure.ac: Correct td_thr_tls_get_addr test.
...
* configure: Regenerated.
2006-11-16 22:04:09 +00:00
Maxim Grigoriev
7a11f07a31
Changelog update for my previous check-in.
2006-11-16 19:58:57 +00:00
Maxim Grigoriev
9cd8460227
2006-11-16 Maxim Grigoriev <maxim2405@gmail.com>
...
* MAINTAINERS (Responsible Maintainers): Add myself for Xtensa.
(Write After Approval): Add myself.
2006-11-16 19:45:45 +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
gdbadmin
7495b3afc0
*** empty log message ***
2006-11-16 00:00:36 +00:00
gdbadmin
5f69414afa
*** empty log message ***
2006-11-15 00:00:33 +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
gdbadmin
981be051b4
*** empty log message ***
2006-11-14 00:00:03 +00:00
Daniel Jacobowitz
1bc1fa8c87
Fix last entry.
2006-11-13 19:05:50 +00:00
Paul Gilliam
60f140f9b6
Fixed up some indentation introduced by my last pactch.
2006-11-13 18:50:11 +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
gdbadmin
83fb162ab0
*** empty log message ***
2006-11-13 00:00:03 +00:00
Ben Harris
59ea4f7003
* arm-tdep.c (arm_unwind_pc): Use arm_addr_bits_remove.
2006-11-12 11:06:31 +00:00
gdbadmin
7e38eb0a58
*** empty log message ***
2006-11-12 00:00:04 +00:00
gdbadmin
c903bd719c
*** empty log message ***
2006-11-11 00:00:32 +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
Vladimir Prus
d8295fe954
2006-11-10 Vladimir Prus <vladimir@codesourcery.com>
...
* gdb.base/completion.exp: Fix completion tests for
'info' and 'info '.
* gdb.base/help.exp (help_test_raw, test_class_help)
(test_prefix_command_help): Move...
* lib/gdb.exp: Here.
* gdb.base/main.exp: Adjust.
* gdb.cp/maint.exp: Adjust.
* gdb.trace/tracecmd.exp: Use test_help_class.
2006-11-10 16:58:53 +00:00
Jim Blandy
9ef8fd3cb0
Fix garbled ChangeLog entry.
2006-11-10 01:12:24 +00:00
gdbadmin
142018cf03
*** empty log message ***
2006-11-10 00:00:33 +00:00
Vladimir Prus
8c394015eb
2006-11-09 Vladimir Prus <vladimir@codesourcery.com>
...
* gdb.stabs/weird.exp (print_weird_var): Use
gdb_test_multiple instead of gdb_expect.
2006-11-09 19:31:14 +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
Frederic Riss
6760920914
2006-11-09 Christophe Lyon <christophe.lyon@st.com>
...
* gdb.base/constvars.c (main): Write to crass and crips, so that
they are allocated by the compiler.
2006-11-09 09:20:17 +00:00
gdbadmin
4eaf9bc93a
*** empty log message ***
2006-11-09 00:00:33 +00:00
gdbadmin
499f04a3c1
*** empty log message ***
2006-11-08 00:00:35 +00:00
gdbadmin
2f23e1502e
*** empty log message ***
2006-11-07 00:00:33 +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
Daniel Jacobowitz
000ef4f0ec
* server.c (handle_query): Correct error handling for read_auxv.
2006-11-06 21:50:32 +00:00
gdbadmin
f09801072e
*** empty log message ***
2006-11-06 00:00:04 +00:00
gdbadmin
8a3b477701
*** empty log message ***
2006-11-05 00:00:02 +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
gdbadmin
f4f5eb403f
*** empty log message ***
2006-11-04 00:00:32 +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
gdbadmin
5c38167b2c
*** empty log message ***
2006-11-03 00:00:33 +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
gdbadmin
325a4b61ce
*** empty log message ***
2006-11-02 00:00:02 +00:00
gdbadmin
fe2dce6741
*** empty log message ***
2006-11-01 00:00:33 +00:00
Eli Zaretskii
1c56eb0e62
* stabs.texinfo (Macro define and undefine): New node describing
...
stabs for #define and #undef.
2006-10-31 22:38:27 +00:00
Vladimir Prus
6e381ba0b0
Improve "help all".
2006-10-31 11:45:41 +00:00
gdbadmin
ee9e139d63
*** empty log message ***
2006-10-31 00:00:03 +00:00
gdbadmin
173dd3ae58
*** empty log message ***
2006-10-30 00:00:03 +00:00
gdbadmin
c9b8f8fd74
*** empty log message ***
2006-10-29 00:00:34 +00:00
gdbadmin
691e0f4f61
*** empty log message ***
2006-10-28 00:00:03 +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
gdbadmin
7ebede5616
*** empty log message ***
2006-10-27 00:00:34 +00:00
gdbadmin
87d98ef318
*** empty log message ***
2006-10-26 00:00:02 +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
gdbadmin
08451320d3
*** empty log message ***
2006-10-25 00:00:03 +00:00
Nick Roberts
d149de7bca
*** empty log message ***
2006-10-24 20:23:56 +00:00
gdbadmin
2941e768e4
*** empty log message ***
2006-10-24 00:00:10 +00:00
gdbadmin
75ee0d67f2
*** empty log message ***
2006-10-23 00:00:34 +00:00
gdbadmin
08b4ae39e5
*** empty log message ***
2006-10-22 00:00:07 +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
Eli Zaretskii
e5ac9b532c
gdb.texinfo (Source Annotations): Fix index entries by adding
...
"annotation" to them, to discriminate from index entries that point
to the more general topic descriptions.
2006-10-21 13:06:04 +00:00
Eli Zaretskii
0ced0c34ad
(Breakpoints): Fix a typo.
2006-10-21 12:54:18 +00:00
Eli Zaretskii
fd60e0dfdf
* gdb.texinfo (Breakpoints, Set Watchpoints): Elaborate and
...
clarify on the possible meanings of ``expression'' watched by
watchpoints. Add indexing.
2006-10-21 12:50:16 +00:00
Eli Zaretskii
286ba84deb
(Backtrace): Fix a typo.
2006-10-21 12:20:59 +00:00
gdbadmin
46a30e6b86
*** empty log message ***
2006-10-21 00:00:03 +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
Ulrich Weigand
b7149293aa
2005-10-19 Ulrich Weigand <uweigand@de.ibm.com>
...
* configure.srv [s390-*-linux*, s390x-*-linux*]: Set srv_linux_regsets
and srv_linux_thread_db to yes.
* linux-s390-low.c (s390_fill_gregset): New function.
(target_regsets): Define data structure.
2006-10-20 00:34:35 +00:00
gdbadmin
9128c20543
*** empty log message ***
2006-10-20 00:00:32 +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
gdbadmin
0532541186
*** empty log message ***
2006-10-19 00:00:06 +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
Daniel Jacobowitz
2f83a18e2a
* lib/gdbserver-support.exp (gdb_target_cmd): Anchor the ends
...
of patterns.
2006-10-18 16:49:05 +00:00
Daniel Jacobowitz
3443977099
* solib-svr4.c (debug_loader_offset_p, debug_loader_offset)
...
(debug_loader_name, svr4_default_sos): New.
(svr4_current_sos): Call svr4_default_sos.
(enable_break): Add a comment about AT_BASE. Set the new
variables and retry solib_add.
(svr4_clear_solib): Clear the new variables.
2006-10-18 15:34:39 +00:00
Daniel Jacobowitz
7d3d3ece84
* NEWS: Mention support for TLS without debugging information.
2006-10-18 15:29:18 +00:00
gdbadmin
3aafe03c09
*** empty log message ***
2006-10-18 00:00:04 +00:00
Daniel Jacobowitz
52bb452f80
gdb/
...
* gdbint.texinfo (Target Vector Definition): Move most
content into Existing Targets. Add a menu.
(Existing Targets): New section, moved from Target Vector
Definition. Use @subsection.
(Managing Execution State): New section.
gdb/doc/
* remote-sim.c (gdbsim_kill): Call target_mourn_inferior.
(gdbsim_load): Don't bother to adjust inferior_ptid here.
(gdbsim_create_inferior): Mark the simulator as running.
(gdbsim_open): Don't bother fetching registers. Mark
the target as not running.
(gdbsim_xfer): When the program is not running, pass memory
requests down.
(gdbsim_mourn_inferior): Mark the target as not running.
* target.c (target_mark_running, target_mark_exited): New.
* target.h (target_has_execution): Update the comment.
(target_mark_running, target_mark_exited): New prototypes.
2006-10-17 21:55:24 +00:00
Joel Brobecker
b40ce68a77
* breakpoint.c (free_valchain): Minor reformatting.
2006-10-17 21:53:26 +00:00