gdbadmin
be9fd9f5fc
*** empty log message ***
2007-11-28 00:00:03 +00:00
Nick Roberts
9265acad39
(print_varobj): Revert change from 2007-08-31.
...
(mi_print_value_p): Guard against type = NULL.
2007-11-27 23:02:59 +00:00
Nick Roberts
b21a715fc1
*** empty log message ***
2007-11-27 23:02:31 +00:00
Thiago Jung Bauermann
a4ae0ca1db
* dfp.c (decimal_from_string): Remove superfluous newline from
...
error string.
(decimal_to_string): Likewise.
* printcmd.c (printf_command): Change string buffer to use
MAX_DECIMAL_STRING constant.
* value.c (value_from_decfloat): Likewise.
2007-11-27 20:13:12 +00:00
Ulrich Weigand
c0993dbe92
* Makefile.in (ALL_TARGET_OBS): Remove object files that require
...
64-bit CORE_ADDR and BFD support, move them to ...
(ALL_64_TARGET_OBS): ... this new variable.
* configure.ac: Check for --enable-64-bit-bfd option. Only add
64-bit targets with --enable-targets=all if BFD supports 64-bit.
* configure: Regenerate.
* i386-cygwin-tdep.c (i386_cygwin_osabi_sniffer): Do not claim
all elf32-i386 executables, only cygwin core files.
2007-11-27 17:06:12 +00:00
gdbadmin
4f0916aa94
*** empty log message ***
2007-11-27 00:00:33 +00:00
gdbadmin
da43e35109
*** empty log message ***
2007-11-26 00:00:34 +00:00
Jan Kratochvil
4303944388
gdb/
...
* dwarf2read.c (dwarf2_get_pc_bounds): Moved the `DW_AT_ranges' parsing
code with its variables OBJFILE, CU_HEADER and OBFD into ...
(dwarf2_ranges_read): ... a new function.
(read_partial_die): Implemented the parsing of `DW_AT_ranges'.
gdb/testsuite/
* gdb.dwarf2/dw2-ranges.S, gdb.dwarf2/dw2-ranges.exp: New files.
2007-11-25 21:40:39 +00:00
gdbadmin
a67d13cf51
*** empty log message ***
2007-11-25 00:00:32 +00:00
Pedro Alves
6537bb249e
* win32-nat.c (DR6_CLEAR_VALUE): New define.
...
(thread_info_struct): Rename suspend_count to suspended, to be
used as a flag.
(thread_rec): Only suspend the thread if it wasn't suspended by
gdb before. Warn if suspending failed.
(win32_add_thread): Set Dr6 to DR6_CLEAR_VALUE.
(win32_continue): Set Dr6 to DR6_CLEAR_VALUE. Update usage of the
`suspended' flag. Do ContinueDebugEvent after resuming the
suspended threads, not before. Set threads' contexts before
resuming them, not after.
(win32_resume): Set Dr6 to DR6_CLEAR_VALUE.
2007-11-24 12:13:28 +00:00
gdbadmin
7129a489bd
*** empty log message ***
2007-11-24 00:00:03 +00:00
Vladimir Prus
a0cf7492a3
* breakpoint.c (insert_breakpoints)
...
(insert_bp_location): Remove stale comments.
2007-11-23 16:54:34 +00:00
Maciej W. Rozycki
dc29a15683
* mips-linux-tdep.h: Fix some formatting.
2007-11-23 16:33:11 +00:00
gdbadmin
8a0f4bedd1
*** empty log message ***
2007-11-23 00:00:03 +00:00
Maciej W. Rozycki
0ef2251b99
* gdb.trace/backtrace.exp: Fix a typo.
...
* gdb.trace/circ.exp: Likewise.
* gdb.trace/collection.exp: Likewise.
* gdb.trace/limits.exp: Likewise.
* gdb.trace/report.exp: Likewise.
* gdb.trace/tfind.exp: Likewise.
* gdb.trace/while-dyn.exp: Likewise.
2007-11-22 16:03:00 +00:00
gdbadmin
06d063c072
*** empty log message ***
2007-11-22 00:00:33 +00:00
Markus Deuling
123680036c
2007-11-21 Markus Deuling <deuling@de.ibm.com>
...
* stack.c (print_args_stub): Use get_frame_arch to get at the current
architecture and replace current_gdbarch.
(frame_info): Likewise.
2007-11-21 06:02:53 +00:00
gdbadmin
b9d9e222ea
*** empty log message ***
2007-11-21 00:00:03 +00:00
Nick Roberts
15820a9f75
Variables objects of pointers that can't be dereferenced are now
...
"noneditable".
2007-11-20 20:01:35 +00:00
Nick Roberts
5443631e12
*** empty log message ***
2007-11-20 19:59:05 +00:00
Nick Roberts
d256250056
(mi_cmd_var_assign): Simplify.
2007-11-20 19:55:16 +00:00
Nick Roberts
c203027e27
Add extern for varobj_editable_p.
2007-11-20 19:54:58 +00:00
Nick Roberts
340a772374
(c_variable_editable, cplus_variable_editable)
...
(java_variable_editable, variable_editable): Delete.
(varobj_editable_p): Replace above functions with one language
independent function. Check for an lvalue.
(varobj_get_attributes, varobj_set_value): Use varobj_editable_p.
(struct language_specific): Delete variable_editable field.
2007-11-20 19:54:39 +00:00
Nick Roberts
a5897e1e1b
*** empty log message ***
2007-11-20 19:52:41 +00:00
Nick Roberts
4b817f9faa
*** empty log message ***
2007-11-20 19:44:19 +00:00
Vladimir Prus
568fff39de
Remove unused breakpoint fields.
...
* breakpoint.h (struct breakpoint): Remove
from_tty and flag fields.
* breakpoint.c (break_command_1): Don't set
from_tty and flag field set of breakpoint.
(create_ada_exception_breakpoint): Don't set
the from_tty field.
2007-11-20 17:37:35 +00:00
Maciej W. Rozycki
2207132da4
* mips-tdep.c (mips16_scan_prologue): Handle the MIPS16e SAVE
...
instruction.
2007-11-20 13:47:42 +00:00
Vladimir Prus
cd76b0b7c4
* infrun.c (resume): Clarify logic that
...
decides if a single thread must be resumed. Add
comments.
2007-11-20 08:18:47 +00:00
Vladimir Prus
7514952146
* breakpoint.c (disable_breakpoints_in_unloaded_shlib):
...
Make static.
2007-11-20 08:16:15 +00:00
gdbadmin
ac4fbf0a41
*** empty log message ***
2007-11-20 00:00:02 +00:00
Markus Deuling
e7faf93859
2007-11-19 Markus Deuling <deuling@de.ibm.com>
...
* gdbarch.sh (register_sim_regno): Add gdbarch as parameter.
* gdbarch.{c,h}: Regenerate.
* arch-utils.h (legacy_register_sim_regno): Add gdbarch as parameter.
* score-tdep.c (score_register_sim_regno): Likewise.
* sim-regno.h (one2one_register_sim_regno): Likewise.
* arch-utils.c (legacy_register_sim_regno): Add gdbarch as parameter.
Replace current_gdbarch by gdbarch.
* sh-tdep.c (sh_sh2a_register_sim_regno)
(sh_dsp_register_sim_regno): Likewise.
* rs6000-tdep.c (rs6000_register_sim_regno): Likewise.
* mips-tdep.c (mips_register_sim_regno): Likewise.
* m32c-tdep.c (m32c_register_sim_regno): Likewise.
* frv-tdep.c (frv_register_sim_regno): Likewise.
* arm-tdep.c (arm_register_sim_regno): Likewise.
* remote-sim.c (one2one_register_sim_regno): Likewise.
2007-11-19 05:06:24 +00:00
gdbadmin
8baca0f320
*** empty log message ***
2007-11-19 00:00:03 +00:00
gdbadmin
296fe60363
*** empty log message ***
2007-11-18 00:00:33 +00:00
Eli Zaretskii
16bfc2183b
(Set Breaks): Fix a typo in last change.
2007-11-17 15:33:46 +00:00
Eli Zaretskii
3b784c4f87
* gdb.texinfo (Set Breaks, Disabling): Clarify behavior of
...
breakpoints with multiple locations.
(Breakpoint Menus): Improve wording.
(Output): Fix last change.
2007-11-17 11:56:02 +00:00
Ulrich Weigand
4b9491ef33
Fix broken check-in -- forgot to cvs remove file.
2007-11-17 01:02:40 +00:00
Ulrich Weigand
d0c678e6de
* configure.ac (--enable-targets): New configure option.
...
Collect gdb_target_obs of multiple targets into TARGET_OBS.
Call configure.tgt multiple times, using $targ as operand.
* configure.tgt: Operate on $targ instead of $target.
* configure: Regenerate.
* Makefile.in (ALL_TARGET_OBS): Define.
* NEWS: Mention --enable-targets option.
2007-11-17 01:02:01 +00:00
Ulrich Weigand
6ca0852e7a
* mips-tdep.c (show_mipsfpu_command): Do not crash if called when
...
current architecture is not MIPS.
2007-11-17 00:57:41 +00:00
Ulrich Weigand
f070423477
* cli/cli-setshow.c (do_setshow_command): Use dynamically sized buffer
...
to construct error message if no argument was supplied.
2007-11-17 00:57:01 +00:00
Ulrich Weigand
c4ec0cc236
* i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Remove.
...
(i386nbsd_aout_regset_from_core_section): Likewise.
(i386nbsd_aout_init_abi): Likewise.
(_initialize_i386nbsd_tdep): Do not register i386nbsd_aout_init_abi.
* vaxnbsd-tdep.c (vaxnbsd_aout_init_abi): Remove.
(_initialize_vaxnbsd_tdep): Do not register vaxnbsd_aout_init_abi.
2007-11-17 00:56:11 +00:00
Ulrich Weigand
ec20a626bd
* amd64fsdb-tdep.c (amd64fbsd_sigtramp_start_addr): Use ULL suffix.
...
(amd64fbsd_sigtramp_end_addr): Likewise.
* iq2000-tdep.c (iq2000_pointer_to_address): Fix argument type.
(iq2000_address_to_pointer): Likewise.
(iq2000_frame_prev_register): Likewise.
(iq2000_extract_return_value): Use regcache_cooked_read_unsigned
instead of regcache_cooked_read into CORE_ADDR variable.
(iq2000_return_value): Fix argument types.
* m32r-rom.c (m32r_load_section): Fix printf argument type.
(m32r_load): Likewise.
* m68kbsd-tdep.c: Include "gdbtypes.h".
* Makefile.in: Update dependencies.
* mn10300-tdep.c (mn10300_frame_unwind_cache): Fix aliasing violation.
* nto-tdep.c (LM_ADDR): Do not refer to no-longer-existing
lmo->l_addr_size element.
* remote-m32r-sdi.c (m32r_xfer_memory): Use paddr to print address.
(m32r_insert_breakpoint): Likewise.
(m32r_remove_breakpoint): Likewise.
(m32r_insert_watchpoint): Likewise.
(m32r_remove_watchpoint): Likewise.
(m32r_load): Fix printf argument type.
* xtensa-tdep.c (xtensa_regset_from_core_section): Fix printf
argument type.
(xtensa_frame_this_id): Do not cast pointers to "int" for output.
(xtensa_frame_prev_register): Likewise.
(xtensa_push_dummy_call): Likewise.
2007-11-17 00:55:29 +00:00
Ulrich Weigand
a4ce5b0d02
* config/alpha/alpha-linux.mt: Remove file.
...
* config/alpha/alpha.mt: Remove file.
* config/alpha/alpha-osf1.mt: Remove file.
* config/alpha/fbsd.mt: Remove file.
* config/alpha/nbsd.mt: Remove file.
* config/alpha/obsd.mt: Remove file.
* config/arm/embed.mt: Remove file.
* config/arm/linux.mt: Remove file.
* config/arm/nbsd.mt: Remove file.
* config/arm/obsd.mt: Remove file.
* config/arm/wince.mt: Remove file.
* config/avr/avr.mt: Remove file.
* config/cris/cris.mt: Remove file.
* config/frv/frv.mt: Remove file.
* config/h8300/h8300.mt: Remove file.
* config/i386/cygwin.mt: Remove file.
* config/i386/fbsd64.mt: Remove file.
* config/i386/fbsd.mt: Remove file.
* config/i386/i386gnu.mt: Remove file.
* config/i386/i386.mt: Remove file.
* config/i386/i386sol2.mt: Remove file.
* config/i386/linux64.mt: Remove file.
* config/i386/linux.mt: Remove file.
* config/i386/mingw.mt: Remove file.
* config/i386/nbsd64.mt: Remove file.
* config/i386/nbsd.mt: Remove file.
* config/i386/nto.mt: Remove file.
* config/i386/obsd64.mt: Remove file.
* config/i386/obsd.mt: Remove file.
* config/i386/sol2-64.mt: Remove file.
* config/ia64/ia64.mt: Remove file.
* config/ia64/linux.mt: Remove file.
* config/iq2000/iq2000.mt: Remove file.
* config/m32c/m32c.mt: Remove file.
* config/m32r/linux.mt: Remove file.
* config/m32r/m32r.mt: Remove file.
* config/m68hc11/m68hc11.mt: Remove file.
* config/m68k/linux.mt: Remove file.
* config/m68k/monitor.mt: Remove file.
* config/m68k/nbsd.mt: Remove file.
* config/m68k/obsd.mt: Remove file.
* config/m88k/obsd.mt: Remove file.
* config/mep/mep.mt: Remove file.
* config/mips/embed.mt: Remove file.
* config/mips/irix5.mt: Remove file.
* config/mips/irix6.mt: Remove file.
* config/mips/linux.mt: Remove file.
* config/mips/nbsd.mt: Remove file.
* config/mips/obsd64.mt: Remove file.
* config/mn10300/linux.mt: Remove file.
* config/mn10300/mn10300.mt: Remove file.
* config/mt/mt.mt: Remove file.
* config/pa/hppahpux.mt: Remove file.
* config/pa/hppa.mt: Remove file.
* config/pa/linux.mt: Remove file.
* config/pa/obsd.mt: Remove file.
* config/powerpc/aix.mt: Remove file.
* config/powerpc/linux.mt: Remove file.
* config/powerpc/nbsd.mt: Remove file.
* config/powerpc/obsd.mt: Remove file.
* config/powerpc/ppc-eabi.mt: Remove file.
* config/s390/s390.mt: Remove file.
* config/score/embed.mt: Remove file.
* config/sh/embed.mt: Remove file.
* config/sh/linux.mt: Remove file.
* config/sh/nbsd.mt: Remove file.
* config/sh/obsd.mt: Remove file.
* config/sh/sh64.mt: Remove file.
* config/sparc/embed.mt: Remove file.
* config/sparc/fbsd.mt: Remove file.
* config/sparc/linux64.mt: Remove file.
* config/sparc/linux.mt: Remove file.
* config/sparc/nbsd64.mt: Remove file.
* config/sparc/nbsd.mt: Remove file.
* config/sparc/obsd64.mt: Remove file.
* config/sparc/obsd.mt: Remove file.
* config/sparc/sol2-64.mt: Remove file.
* config/sparc/sol2.mt: Remove file.
* config/sparc/sparc64.mt: Remove file.
* config/sparc/sparc.mt: Remove file.
* config/spu/spu.mt: Remove file.
* config/v850/v850.mt: Remove file.
* config/vax/nbsd.mt: Remove file.
* config/vax/obsd.mt: Remove file.
* config/vax/vax.mt: Remove file.
* config/xstormy16/xstormy16.mt: Remove file.
* config/xtensa/xtensa.mt: Remove file.
* configure.tgt (gdb_target_cpu): Remove. Do not set anywhere.
(gdb_target): Likewise.
(gdb_target_obs): Document. Set for every target to contents
of TDEPFILES in former .mt makefile fragment.
* configure.ac (TARGET_OBS): Define.
(target_makefile_frag, gdb_target_cpu): Do not define.
* configure: Regenerate.
* Makefile.in (MT_FLAGS): Remove.
(GLOBAL_CFLAGS): Update.
(TARGET_OBS): Substitute from configure.
(DEPFILES): Remove TDEPFILES, add TARGET_OBS.
(@target_makefile_frag@): Remove.
doc/ChangeLog:
* Makefile.in (Makefile): Do not depend on target_makefile_frag.
testsuite/ChangeLog:
* Makefile.in (Makefile): Do not depend on target_makefile_frag.
(target_cpu): Remove.
2007-11-17 00:54:18 +00:00
Ulrich Weigand
9b624dbeed
* config/arm/embed.mt (SIM_OBS, SIM): Remove.
...
* config/avr/avr.mt (SIM_OBS, SIM): Remove.
* config/frv/frv.mt (SIM_OBS, SIM): Remove.
* config/h8300/h8300.mt (SIM_OBS, SIM): Remove.
* config/iq2000/iq2000.mt (SIM_OBS, SIM): Remove.
* config/m32c/m32c.mt (SIM_OBS, SIM): Remove.
* config/m32r/linux.mt (SIM_OBS, SIM): Remove.
* config/m32r/m32r.mt (SIM_OBS, SIM): Remove.
* config/m68hc11/m68hc11.mt (SIM_OBS, SIM): Remove.
* config/mips/embed.mt (SIM_OBS, SIM): Remove.
* config/mips/linux.mt (SIM_OBS, SIM): Remove.
* config/mips/nbsd.mt (SIM_OBS, SIM): Remove.
* config/mn10300/mn10300.mt (SIM_OBS, SIM): Remove.
* config/powerpc/linux.mt (SIM_OBS, SIM): Remove.
* config/powerpc/nbsd.mt (SIM_OBS, SIM): Remove.
* config/powerpc/ppc-sim.mt: Remove file.
* config/sh/embed.mt (SIM_OBS, SIM): Remove.
* config/sh/linux.mt (SIM_OBS, SIM): Remove.
* config/sh/nbsd.mt (SIM_OBS, SIM): Remove.
* config/sh/sh64.mt (SIM_OBS, SIM): Remove.
* config/sparc/embed.mt (SIM_OBS, SIM): Remove.
* config/v850/v850.mt (SIM_OBS, SIM): Remove.
* config/xstormy16/xstormy16.mt (SIM_OBS, SIM): Remove.
* configure.tgt (gdb_sim): Document variable.
(arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*): Set it.
(avr-*-*): Likewise.
(frv-*-*): Likewise.
(h8300-*-*): Likewise.
(iq2000-*-*): Likewise.
(m32c-*-*): Likewise.
(m32r*-*-linux*): Likewise.
(m32r*-*-*): Likewise.
(m68hc11*-*-*|m6811*-*-*): Likewise.
(mips*-*-*): Likewise.
(mips*-*-linux*): Likewise.
(mips*-*-netbsd* | mips*-*-knetbsd*-gnu): Likewise.
(mn10300-*-*): Likewise.
(powerpc-*-linux* | powerpc64-*-linux*): Likewise.
(powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu): Likewise.
(powerpc*-*-*): Use ppc-eabi target. Conditionally set gdb_sim.
(sh*): Set gdb_sim.
(sh-*-linux*): Likewise.
(sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu): Likewise.
(sh64-*-elf*): Likewise.
(sparc-*-rtems*): Likewise.
(v850*-*-elf): Likewise.
(xstormy16-*-*): Likewise.
* configure.ac (IGNORE_SIM, IGNORE_SIM_OBS): Do not set.
(SIM, SIM_OBS): Set depending on ${ignore_sim} and ${gdb_sim}.
* configure: Regenerate.
* Makefile.in (SIM, SIM_OBS): Substitute from configure.
(@IGNORE_SIM@, @IGNORE_SIM_OBS@): Remove.
2007-11-17 00:44:38 +00:00
Ulrich Weigand
fa987fc4f3
* configure.tgt (gdb_osabi, build_gdbserver): Comment variables.
...
(arm*-*-*): Do not set obsolete build_rdi_share variable.
(*-*-freebsd* | *-*-kfreebsd*-gnu): Remove generic case, replace by ...
(alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu)
(i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu)
(sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu): ... specific cases.
(x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu): Re-sort.
(xscale-*-*): Merge into arm*-*-* case.
(fido-*-elf*): Merge into m68*-*-elf* case.
(m68*-*-aout*, m68*-*-coff*, m68*-*-elf*, m68*-*-rtems*,
m68*-*-uclinux*): Merge cases.
(powerpc-*-linux*, powerpc64-*-linux*): Merge cases.
(sh-*-coff*, sh-*-elf*): Merge into sh* case.
2007-11-17 00:42:59 +00:00
Ulrich Weigand
732cd36060
* configure.tgt: Reformat main case statement.
2007-11-17 00:42:07 +00:00
Ulrich Weigand
db985757a9
* configure.ac (hostfile, targetfile): Remove.
...
(GDB_XM_FILE, GDB_TM_FILE): Do not define.
(xm_h, tm_h): Likewise.
(DEPRECATED_TM_FILE, XM_FILE): Do not substitute into Makefile.
* configure, config.in: Regenerate.
* Makefile.in (xm_h, tm_h): Remove. Update dependencies.
(TAGS): Do not consider DEPRECATED_TM_FILE or XM_FILE.
(clean, local-maintainer-clean): Do not remove xm.h or tm.h.
* defs.h: Do not include "xm.h" or "tm.h".
* gdbarch.sh (verify_gdbarch): Do not dump GDB_XM_FILE or GDB_TM_FILE.
* gdbarch.c: Regenerate.
* config/score/embed.mt: Remove obsolete comment.
2007-11-17 00:41:17 +00:00
gdbadmin
3da755263c
*** empty log message ***
2007-11-17 00:00:04 +00:00
Markus Deuling
64a3914f1d
2007-11-16 Markus Deuling <deuling@de.ibm.com>
...
* gdbarch.sh (cannot_fetch_register, cannot_store_register): Add gdbarch
as parameter.
* gdbarch.{c,h}: Regenerate.
* alpha-tdep.c (alpha_cannot_fetch_register)
(alpha_cannot_store_register): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch.
* cris-tdep.c (cris_cannot_fetch_register, cris_cannot_store_register)
(crisv32_cannot_fetch_register)
(crisv32_cannot_store_register): Likewise.
* arch-utils.c (cannot_register_not): Likewise.
* arch-utils.h (cannot_register_not): Likewise.
* hppa-tdep.c (hppa32_cannot_store_register)
(hppa32_cannot_store_register, hppa64_cannot_store_register)
(hppa64_cannot_fetch_register): Likewise.
* mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register)
(mipsnbsd_cannot_store_register): Likewise.
2007-11-16 04:56:45 +00:00
Markus Deuling
40a6adc1f8
2007-11-16 Markus Deuling <deuling@de.ibm.com>
...
* m32r-rom.c (m32r_supply_register): Use get_regcache_arch to get at
the current architecture by regcache.
* ppcnbsd-nat.c (ppcnbsd_supply_pcb): Likewise.
* ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register)
(fetch_register, supply_vrregset, fetch_ppc_registers)
(store_altivec_register, store_spe_register, store_register)
(fill_vrregset, store_ppc_registers): Likewise.
* ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise.
* win32-nat.c (do_win32_fetch_inferior_registers)
(do_win32_store_inferior_registers): Likewise.
* procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise.
* remote-m32r-sdi.c (m32r_fetch_registers)
(m32r_store_registers): Likewise.
* remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise.
* trad-frame.c (trad_frame_alloc_saved_regs): Replace current_gdbarch by
gdbarch.
* user-regs.c (user_reg_map_name_to_regnum): Likewise.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call)
(do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call)
(ppc64_sysv_abi_return_value): Likewise.
* m32c-tdep.c (m32c_register_reggroup_p): Likewise.
* m2-lang.c (build_m2_types): Likewise.
* ppc-linux-tdep.c (ppc_linux_sigtramp_cache
* ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise.
* ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise.
* rs6000-tdep.c (ppc_dwarf2_frame_init_reg): Likewise.
* m68hc11-tdep.c (m68hc11_frame_unwind_cache): Use get_frame_arch to
get at the current architecture by frame_info.
* gcore.c (derive_stack_segment): Likewise.
* shnbsd-nat.c (GETREGS_SUPPLIES): Add gdbarch parameter.
(shnbsd_fetch_inferior_registers, shnbsd_store_inferior_registers): Add
gdbarch to GETREGS_SUPPLIES call.
2007-11-16 04:53:46 +00:00
gdbadmin
49f964133f
*** empty log message ***
2007-11-16 00:00:32 +00:00
Ulrich Weigand
6f610d0772
bfd/ChangeLog:
...
* elf64-ppc.c (ppc64_elf_get_synthetic_symtab): Set udata.p of
synthetic symbol to point to the ELF symbol it was derived from.
gdb/ChangeLog:
* elfread.c (ST_REGULAR, ST_DYNAMIC, ST_SYNTHETIC): New defines.
(elf_symtab_read): Rename DYNAMIC argument to TYPE. Do not access
ELF-private symbol data when processing synthetic symbols. Use
udata.p to get at size of ppc64 synthetic 'dot' symbols.
(elf_symfile_read): Pass TYPE argument to elf_symtab_read.
2007-11-15 23:48:00 +00:00
Doug Evans
94d09e0408
* buildsym.h (subfiles): Move ...
...
* buildsym.c (subfiles): ... to here and make static.
2007-11-15 22:54:22 +00:00
Doug Evans
1b39d5c085
* symmisc.c (maintenance_info_symtabs): Print linetable info.
...
* doc/gdb.texinfo (Symbols): Update output of "maint info symtabs".
2007-11-15 18:43:23 +00:00
Markus Deuling
2699bdf21c
2007-11-15 Markus Deuling <deuling@de.ibm.com>
...
* mipsnbsd-tdep.h (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove
2007-11-15 13:54:57 +00:00
Markus Deuling
2301df11d5
2007-11-15 Markus Deuling <deuling@de.ibm.com>
...
* arm-tdep.c (arm_prologue_this_id): Replace LOWEST_PC by its
expression and use get_frame_arch to replace current_gdbarch by frame's
architecture.
*arm-tdep.h (LOWEST_PC): Remove
2007-11-15 13:53:11 +00:00
Vladimir Prus
fc0484e94e
Move changelog entries to the right ChangeLog
2007-11-15 07:11:52 +00:00
Vladimir Prus
89f9893c7d
Apply const qualifier to some users of bp_location.
...
* breakpoint.h (struct bpstats): Make
the breakpoint_at field point at const bp_location.
* breakpoint.c (bpstat_alloc): Accept const
bp_location.
(breakpoint_here_p, breakpoint_inserted_here_p)
(software_breakpoint_inserted_here_p)
(breakpoint_thread_match, bpstat_stop_status)
(read_memory_nobpt, bpstat_have_active_hw_watchpoints): Use
const bp_location for iteration.
(print_it_typical, print_bp_stop_message): Use
const bp_location variable.
2007-11-15 06:52:53 +00:00
Vladimir Prus
55a3f01f6f
Make mark_breakpoints_out static.
...
* breakpoint.h (mark_breakpoints_out): Remove
declaration.
* breakpoint.c (mark_breakpoints_out): Make static.
2007-11-15 06:46:21 +00:00
Vladimir Prus
d6e956e5c2
Prevent clear_command from directly modifying breakpoint list.
...
* Makefile.in (breakpoint_h): Update dependency.
* breakpoint.c (clear_command): Do not remove
breakpoints from breakpoint_chain. Collect breakpoints
to delete in a vector.
* breakpoint.h (breakpoint_p): New typedef for pointer to
breakpoint. Register vector of breakpoint_p.
2007-11-15 06:28:19 +00:00
Vladimir Prus
615b9dba45
Remove 'run_cleanup'.
...
* defs.h (do_run_cleanups, make_run_cleanup): Remove
declarations.
* infcmd.c (run_command_1): Call clear_solib instead
of do_run_cleanups.
* jv-lang.c (java_rerun_cleanup): Remove, for lack of
any use.
* solib.c (solib_cleanup_queued, do_clear_solib): Remove.
(update_solib_lib): Don't setup run cleanup.
(no_shared_libraries): Call clear_solib, not do_clear_solib.
* utils.c (run_cleanup_chain, make_run_cleanup)
(do_run_cleanups): Remove.
2007-11-15 06:24:17 +00:00
Vladimir Prus
7a72d44c5c
Remove CLEAR_SOLIB use.
...
* corelow.c (core_close): Don't check for CLEAR_SOLIB.
* infcmd.c (attach_command): Likewise.
2007-11-15 06:14:26 +00:00
gdbadmin
2a1932dcc7
*** empty log message ***
2007-11-15 00:00:04 +00:00
Doug Evans
0b0287a1e4
* buildsym.c (start_subfile,start_symtab): Doc fixes.
2007-11-14 23:14:40 +00:00
gdbadmin
b3c8c50a8f
*** empty log message ***
2007-11-14 00:00:03 +00:00
Thiago Jung Bauermann
37715c4c6b
* tui/tui-data.c (tui_prev_win): Guard against NULL.
2007-11-13 17:00:11 +00:00
gdbadmin
7e2020c177
*** empty log message ***
2007-11-13 00:00:02 +00:00
Markus Deuling
be7811ad94
2007-11-12 Markus Deuling <deuling@de.ibm.com>
...
* gdbarch.sh (gdbarch_alloc): Replace current_gdbarch by gdbarch. Remove
obsolete comment.
(verify_gdbarch, gdbarch_dump): Likewise.
(do_read): Update comment.
(addr_bit, bfd_arch_info, target_desc, long_long_bit, floatformat)
(ptr_bit, name_of_malloc): Replace current_gdbarch by gdbarch.
* gdbarch.{c,h}: Regenerate.
2007-11-12 06:47:56 +00:00
Markus Deuling
91d8eb23d2
2007-11-12 Markus Deuling <deuling@de.ibm.com>
...
* xtensa-tdep.c (ARG_1ST): Replace ARGS_FIRST_REG by its expression.
(ARGS_FIRST_REG): Remove.
(areg_numer): New function.
(xtensa_pseudo_register_read, xtensa_frame_prev_register)
(xtensa_extract_return_value, xtensa_store_return_value)
(xtensa_frame_cache): Replace AREG_NUMBER by areg_number.
(AREG_NUMBER): Remove.
(XTENSA_IS_ENTRY, ARG_NOF, ARG_1ST): Add gdbarch as parameter.
(xtensa_frame_cache): Update use of XTENSA_IS_ENTRY.
(xtensa_push_dummy_call): Update use of ARG_NOF.
(extract_call_winsize): Add gdbarch as parameter. Replace
current_gdbarch by gdbarch.
(xtensa_extract_return_value, xtensa_store_return_value): Update call
of extract_call_winsize.
2007-11-12 06:43:16 +00:00
Joel Brobecker
d2ca0d52af
* NEWS: Add entry for new set/show print frame-args command.
2007-11-12 05:21:39 +00:00
Joel Brobecker
6d1829bf6f
Fix date in the last entry.
2007-11-12 05:20:36 +00:00
Joel Brobecker
b4740addaa
* gdb.texinfo (Print Settings): Add documentation for "set/show
...
print frame-arguments".
2007-11-12 05:19:17 +00:00
gdbadmin
4a1f2dd510
*** empty log message ***
2007-11-12 00:00:02 +00:00
gdbadmin
311c9b761e
*** empty log message ***
2007-11-11 00:00:03 +00:00
gdbadmin
2410c3b006
*** empty log message ***
2007-11-10 00:00:03 +00:00
Kevin Buettner
bbc1a78472
* mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add missing
...
register number to map. Adjust warning check and error/warning
return value code to match expectations of this function's callers.
2007-11-09 23:38:51 +00:00
Joel Brobecker
0366cf3f26
* stack.c (print_this_frame_argument_p): Handle arguments passed
...
by reference properly.
2007-11-09 20:38:58 +00:00
Joel Brobecker
3462fcefc7
Fix the date of my last changelog entry.
2007-11-09 19:08:43 +00:00
Joel Brobecker
88408340b8
* stack.c (print_frame_arguments_choices): New static global.
...
(print_frame_arguments): Likewise.
(print_this_frame_argument_p): New function.
(print_frame_args): Print the argument value only when appropriate.
(_initialize_task): Add new "set/show print frame-arguments" command.
2007-11-09 19:04:35 +00:00
Luis Machado
1c86e440c3
* ppc-linux-nat.c (ppc_linux_insert_watchpoint): Move
...
saved_dabr_value assignment to the correct position.
2007-11-09 17:15:17 +00:00
Ulrich Weigand
76a8ddb9e4
2007-11-09 Markus Deuling <deuling@de.ibm.com>
...
* arch-utils.c (generic_convert_register_p): Add gdbarch as parameter.
* arch-utils.h (generic_convert_register_p): Likewise.
2007-11-09 13:11:17 +00:00
Markus Deuling
0abe36f50d
* gdbarch.sh (convert_register_p): Add gdbarch as parameter.
...
* ia64-tdep.c (ia64_convert_register_p): Likewise.
* i387-tdep.c (i387_convert_register_p): Likewise.
* i387-tdep.h (i387_convert_register_p): Likewise.
* alpha-tdep.c (alpha_convert_register_p): Likewise.
* gdbarch.{c,h}: Regenerate.
* rs6000-tdep.c (rs6000_convert_register_p): Add gdbarch as parameter.
Replace current_gdbarch by gdbarch.
* mips-tdep.c (mips_convert_register_p): Likewise.
* m68k-tdep.c (m68k_convert_register_p): Likewise.
* i386-tdep.c (i386_convert_register_p): Likewise.
2007-11-09 05:32:19 +00:00
gdbadmin
ba3853d176
*** empty log message ***
2007-11-09 00:00:03 +00:00
Ulrich Weigand
85bc6eddac
2007-11-08 Aleksandar Ristovski <aristovski@qnx.com>
...
* gdb_string.h: Include <strings.h>.
2007-11-08 21:04:47 +00:00
Vladimir Prus
db107f19ec
* breakpoint.c (break_command_1): Remove
...
pending_bp parameter.
(create_breakpoint): Likewise.
(create_breakpoints): Likewise. Adjust call to
create_breakpoint.
(break_command_1): Likewise. Adjust call to
create_breakpoints.
(do_captured_breakpoint): Adjust call to
create_breakpoints.
(break_command, tbreak_command, hbreak_command)
(stopin_command, stopat_command): Adjust call
to break_command_1.
2007-11-08 16:43:39 +00:00
Joseph Myers
36815e57a6
2007-11-07 Joseph Myers <joseph@codesourcery.com>
...
Daniel Jacobowitz <dan@codesourcery.com>
* ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Right-align
struct values smaller than one doubleword; left-align those
larger. Pass structs containing a single floating-point value in
registers.
2007-11-08 00:10:06 +00:00
Joseph Myers
b14d30e141
include:
...
2007-11-07 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
* floatformat.h (struct floatformat): Add split_half field.
(floatformat_ibm_long_double): New.
libiberty:
2007-11-07 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
* floatformat.c (mant_bits_set): New.
(floatformat_to_double): Use it. Note no special handling of
split formats.
(floatformat_from_double): Note no special handing of split
formats.
(floatformat_ibm_long_double_is_valid,
floatformat_ibm_long_double): New.
(floatformat_ieee_single_big, floatformat_ieee_single_little,
floatformat_ieee_double_big, floatformat_ieee_double_little,
floatformat_ieee_double_littlebyte_bigword, floatformat_vax_f,
floatformat_vax_d, floatformat_vax_g, floatformat_i387_ext,
floatformat_m68881_ext, floatformat_i960_ext,
floatformat_m88110_ext, floatformat_m88110_harris_ext,
floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword,
floatformat_ia64_spill_big, floatformat_ia64_spill_little,
floatformat_ia64_quad_big, floatformat_ia64_quad_little): Update
for addition of split_half field.
gdb:
2007-11-07 Joseph Myers <joseph@codesourcery.com>
Daniel Jacobowitz <dan@codesourcery.com>
* gdbtypes.c (floatformats_ibm_long_double): New.
* gdbtypes.h (floatformats_ibm_long_double): Declare.
* ia64-tdep.c (floatformat_ia64_ext): Update for addition of
split_half field.
* mips-tdep.c (n32n64_floatformat_always_valid,
floatformat_n32n64_long_double_big, floatformats_n32n64_long):
Remove.
(mips_gdbarch_init): Use floatformats_ibm_long_double instead of
floatformats_n32n64_long.
* ppc-linux-tdep.c (ppc_linux_init_abi): Use 128-bit IBM long
double.
* doublest.c (convert_floatformat_to_doublest,
convert_doublest_to_floatformat): Handle split floating-point
formats.
* ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle IBM long
double arguments.
(ppc64_sysv_abi_push_dummy_call): Likewise.
(do_ppc_sysv_return_value): Handle IBM long double return.
2007-11-08 00:08:48 +00:00
gdbadmin
5d324c3ec4
*** empty log message ***
2007-11-08 00:00:03 +00:00
Vladimir Prus
214270abf3
Fix crash when a variable object being deleted
...
has any of its children deleted previously.
* varobj.c (delete_variable_1): Don't recurse
into deleted children.
2007-11-07 20:06:29 +00:00
Markus Deuling
a54fba4c5d
2007-11-07 Markus Deuling <deuling@de.ibm.com>
...
* gdbarch.sh (legacy_virtual_frame_pointer): Add gdbarch parameter.
* gdbarch.{c,h}: Regenerate.
* arch-utils.c (legacy_virtual_frame_pointer): Add gdbarch parameter.
Replace current_gdbarch by gdbarch.
* m32c-tdep.c (m32c_virtual_frame_pointer): Likewise.
* mips-tdep.c (mips_virtual_frame_pointer): Likewise.
* spu-tdep.c (spu_virtual_frame_pointer): Likewise.
2007-11-07 06:58:31 +00:00
Markus Deuling
9970f04b03
2007-11-07 Markus Deuling <deuling@de.ibm.com>
...
* shnbsd-tdep.c (shnbsd_supply_gregset, shnbsd_collect_gregset): Use
get_regcache_arch to get at the current architecture by regcache.
* xstormy16-tdep.c (xstormy16_frame_prev_register): Use get_frame_arch
to get at the current architecture by frame_info.
* fbsd-nat.c (fbsd_make_corefile_notes): Use get_regcache_arch to get
at the current architecture by regcache.
* gnu-v3-abi.c (gnuv3_skip_trampoline): Use get_frame_arch to get at
the current architecture by frame_info.
(build_gdb_vtable_type): Replace current_gdbarch by gdbarch.
* aix-thread.c (special_register_p): Add gdbarch as parameter.
(fetch_regs_kernel_thread, store_regs_kernel_thread): Add gdbarch to
caller of special_register_p.
2007-11-07 06:53:41 +00:00
Markus Deuling
0b9dfe2bb3
2007-11-07 Markus Deuling <deuling@de.ibm.com>
...
* infcall.c (call_function_by_hand): Use get_frame_arch to get at the
current architecture by frame_info.
2007-11-07 06:49:39 +00:00
Markus Deuling
c85419665b
2007-11-07 Markus Deuling <deuling@de.ibm.com>
...
* xtensa-tdep.h (SIZEOF_GREGSET, XTENSA_ELF_NGREG) Remove.
2007-11-07 06:44:50 +00:00
Markus Deuling
8fe9ea88f1
2007-11-07 Markus Deuling <deuling@de.ibm.com>
...
* s390-nat.c (supply_gregset, fill_gregset): Use get_regcache_arch to
get at the current architecture by regcache.
(SUBOFF): Add gdbarch to macro definition.
2007-11-07 06:36:57 +00:00
Markus Deuling
67d5789459
*** empty log message ***
2007-11-07 06:33:01 +00:00
Markus Deuling
7a22ecfc4b
2007-11-07 Markus Deuling <deuling@de.ibm.com>
...
* frv-tdep.c (frv_register_name, frv_check_watch_resources): Replace
macro CURRENT_VARIANT by its expression.
(CURRENT_VARIANT): Remove.
(frv_check_watch_resources): Add gdbarch parameter.
2007-11-07 06:10:23 +00:00
Markus Deuling
213a758aef
2007-11-07 Markus Deuling <deuling@de.ibm.com>
...
* MAINTAINERS (Write After Approval): Add self.
2007-11-07 05:45:08 +00:00
gdbadmin
53c8095f60
*** empty log message ***
2007-11-07 00:00:02 +00:00
gdbadmin
c63eb11c7b
*** empty log message ***
2007-11-06 00:00:03 +00:00
Ulrich Weigand
f03eb1cffe
* features/rs6000/power-core.xml: Use uint32 as register type.
...
* features/rs6000/power64-core.xml: Use uint64/uint32 as register type.
* features/rs6000/powerpc-32.c: Regenerate.
* features/rs6000/powerpc-403.c: Regenerate.
* features/rs6000/powerpc-403gc.c: Regenerate.
* features/rs6000/powerpc-505.c: Regenerate.
* features/rs6000/powerpc-602.c: Regenerate.
* features/rs6000/powerpc-603.c: Regenerate.
* features/rs6000/powerpc-604.c: Regenerate.
* features/rs6000/powerpc-64.c: Regenerate.
* features/rs6000/powerpc-7400.c: Regenerate.
* features/rs6000/powerpc-750.c: Regenerate.
* features/rs6000/powerpc-860.c: Regenerate.
* features/rs6000/powerpc-e500.c: Regenerate.
2007-11-05 21:55:39 +00:00
Daniel Jacobowitz
f9387fc3b0
* linux-low.c: Include <sched.h>.
2007-11-05 19:22:08 +00:00