summaryrefslogtreecommitdiff
path: root/gdb
Commit message (Collapse)AuthorAgeFilesLines
* Use a constructor function to create regset structures.Jim Blandy2004-05-2013-59/+104
| | | | | | | | | | | | | | | | | | | | * regset.h (supply_regset_ftype, collect_regset_ftype): New typedefs. (struct regset): Use supply_regset_ftype. Add new 'collect_regset' member. (regset_xmalloc): New declaration. * regset.c: New file. * am64-tdep.c (amd64_regset_from_core_section): Use regset_xmalloc to construct regset structures. * amd64obsd-tdep.c (amd64obsd_regset_from_core_section): Same. * i386-tdep.c (i386_regset_from_core_section): Same. * i386nbsd-tdep.c (i386nbsd_aout_regset_from_core_section): Same. * i386obsd-tdep.c (i386obsd_aout_regset_from_core_section): Same. * sparc64fbsd-tdep.c (sparc64fbsd_init_abi): Same. * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Same. * sparc64obsd-tdep.c (sparc64obsd_init_abi): Same. * sparcnbsd-tdep.c (sparc32nbsd_init_abi): Same. * Makefile.in (COMMON_OBS): Add regset.o. (regset.o): New rule.
* *** empty log message ***gdbadmin2004-05-201-1/+1
|
* * config/djgpp/fnchange.lst: Add entries for pthread_cond_wait.expJoel Brobecker2004-05-192-0/+7
| | | | and pthread_cond_wait.c.
* * gdb.threads/pthread_cond_wait.c: New file.Joel Brobecker2004-05-193-0/+155
| | | | * gdb.threads/pthread_cond_wait.exp: New testcase.
* * rs6000-tdep.c (rs6000_gdbarch_init): Initialize tdep fieldsJim Blandy2004-05-192-26/+27
| | | | | | before the mach-specific switch, and then let the individual cases override the defaults, rather than leaving them uninitialized until the switch and then setting them in each case.
* 2004-05-18 Randolph Chung <tausq@debian.org>Randolph Chung2004-05-192-1/+6
| | | | | * hppa-tdep.c (hppa_frame_cache): Check for validity of r31 for millicode functions.
* 2004-05-18 Randolph Chung <tausq@debian.org>Randolph Chung2004-05-192-7/+9
| | | | | * somsolib.c (som_solib_remove_inferior_hook): Make all the size references to dld_flags_buffer consistent.
* 2004-05-18 Randolph Chung <tausq@debian.org>Randolph Chung2004-05-192-1/+38
| | | | | * hppa-tdep.c (hppa_frame_cache): If a frame pointer is available, use it for unwinding the stack.
* 2004-05-18 Randolph Chung <tausq@debian.org>Randolph Chung2004-05-192-0/+8
| | | | | * config/pa/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE) Undefine these so we can overide them using gdbarch.
* 2004-05-18 Randolph Chung <tausq@debian.org>Randolph Chung2004-05-192-2/+6
| | | | | * hppa-tdep.c (hppa_stub_frame_unwind_cache): Don't do export stub handling for 64-bit HPUX (elf).
* *** empty log message ***gdbadmin2004-05-191-1/+1
|
* * alpha-tdep.c (alpha_gdbarch_init): Use LL suffix for largeDaniel Jacobowitz2004-05-186-52/+13
| | | | | | | | constants. * amd64-tdep.c (amd64_skip_prologue): Likewise. * ia64-tdep.c (examine_prologue): Likewise. * ns32k-tdep.c (ns32k_fix_call_dummy): Remove unused function. * v850-tdep.c (v850_fix_call_dummy): Likewise.
* *** empty log message ***gdbadmin2004-05-181-1/+1
|
* * vax-tdep.c (vax_return_value): ImplementMark Kettenis2004-05-172-1/+20
| | | | RETURN_VALUE_ABI_RETURNS_ADDRESS.
* * vax-tdep.c (vax_return_value): Fix typo.Mark Kettenis2004-05-172-1/+8
| | | | | * alphabsd-nat.c: Update copyright year. (getregs_supplies): Replace PC_REGNUM with ALPHA_PC_REGNUM.
* *** empty log message ***gdbadmin2004-05-171-1/+1
|
* 2004-05-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-05-172-2/+4
| | | | | * MAINTAINERS: Mark Salter was also responsible for testsuite/config/
* 2004-05-17 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-05-172-0/+15
| | | | * NEWS: Mention signal fixes.
* 2004-05-17 Randolph Chung <tausq@debian.org>Randolph Chung2004-05-172-1/+26
| | | | | | * hppa-tdep.c (hppa_stub_frame_unwind_cache): For HPUX stub unwinding, check to see if we are unwinding an export stub. Export stubs clobber the %rp in the call path and stores the original rp in a stack slot.
* * MAINTAINERS: Update address for J.T. Conklin.Jim Blandy2004-05-172-1/+5
|
* 2004-05-17 Randolph Chung <tausq@debian.org>Randolph Chung2004-05-173-16/+9
| | | | | * hppa-tdep.c: Remove superfluous #include's. * Makefile.in (hppa-tdep.o): Update dependencies.
* 2004-05-17 Randolph Chung <tausq@debian.org>Randolph Chung2004-05-172-26/+9
| | | | | | | | | * hppa-tdep.c (THREAD_INITIAL_FRAME_SYMBOL): Delete unused symbol. (THREAD_INITIAL_FRAME_SYM_LEN): Likewise. (unwind_command, hppa_alignof, prologue_inst_adjust_sp) (is_branch, inst_saves_gr, inst_saves_fr, compare_unwind_entries) (read_unwind_info, internalize_unwinds, record_text_segment_lowaddr): Remove static function declarations.
* * m68k-tdep.h (m68k_regnum): Add M68K_D2_REGNUM, M68K_D7_REGNUMMark Kettenis2004-05-172-0/+6
| | | | and M68K_A2_REGNUM.
* * m68k-tdep.c (m68k_svr4_return_value): ImplementMark Kettenis2004-05-162-1/+26
| | | | RETURN_VALUE_ABI_RETURNS_ADDRESS.
* * sol-thread.c Update copyright year. Fix various codingMark Kettenis2004-05-162-397/+366
| | | | | | standards violations. Tweak a few comments. (td_err_string, td_state_string, thread_to_lwp, lwp_to_thread): Delete prototypes.
* 2004-05-15 Randolph Chung <tausq@debian.org>Randolph Chung2004-05-163-2/+9
| | | | | | | * hppa-tdep.h (hppa_frame_prev_register_helper): Pass save_regs as pointer instead of array reference since HPUX compiler does not accept unsized array arguments. * somsolib.c (dld_flags_buffer): Use constant array size.
* * amd64obsd-tdep.c (amd64obsd_sigtramp_p): Replace hexadecimalMark Kettenis2004-05-152-3/+24
| | | | | | offset with decimal offset. (amd64obsd_sigcontext_addr): Return correct address for entire signal trampoline.
* * vax-tdep.c (vax_frame_num_args): Use get_frame_base_addressMark Kettenis2004-05-152-1/+4
| | | | instead of get_frame_base.
* * i386bsd-nat.c (supply_gregset): Use regcache_raw_supply.Mark Kettenis2004-05-152-6/+11
| | | | (fill_gregset): Use regcache_raw_collect.
* * config/djgpp/fnchange.lst: Add entries for ppcobsd-nat.c andMark Kettenis2004-05-152-0/+5
| | | | ppcobsd-tdep.c.
* *** empty log message ***Mark Kettenis2004-05-151-0/+5
|
* * config/sparc/tm-nbsd64.h: Remove file.Mark Kettenis2004-05-152-59/+0
| | | | * config/tm-sunos.h: Remove file.
* * rs6000-tdep.c (store_param_on_stack_p): New function,Joel Brobecker2004-05-152-20/+95
| | | | | | | | | an improved version of some code extracted from skip_prologue(). (skip_prologue): Use store_param_on_stack_p() to detect instructions saving a parameter on the stack. Detect when r0 is used to save a parameter. Do not mark "li rx, SIMM" instructions as part of the prologue, unless the following instruction is also part of the prologue.
* 2004-05-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-05-142-64/+10
| | | | | * infrun.c (handle_inferior_event): Simplify STEP_OVER_UNDEBUGGABLE.
* 2004-05-14 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-05-142-83/+150
| | | | | | * infrun.c (handle_step_into_function): Delete function. (handle_inferior_event): Inline calls to handle_step_into_function.
* * rs6000-nat.c: Fix a comment.Jerome Guitton2004-05-142-1/+5
|
* Committed by Jim Blandy <jimb@redhat.com>:Jim Blandy2004-05-142-2/+7
| | | | * regcache.c (struct regcache_descr): fix comment spelling.
* * aix-thread.c: s/ppc_floating_point_p/ppc_floating_point_unit_p/.Joel Brobecker2004-05-132-4/+9
| | | | Fixes a link link failure.
* * aix-thread.c (store_regs_kernel_thread): Fix a little obviousJoel Brobecker2004-05-132-1/+5
| | | | error that was causing the build to fail.
* * aix-thread.c: #include "gdb_string.h". Needed for memset and memcopy.Joel Brobecker2004-05-133-1/+7
| | | | * Makefile.in (aix-thread.o): Add dependency on gdb_string.h.
* * aix-thread.c (pdc_read_regs, supply_gprs64, supply_fprs)Jim Blandy2004-05-137-29/+42
| | | | | | | | | | | | | | (fetch_regs_user_thread, fetch_regs_kernel_thread) (store_regs_user_thread, store_regs_kernel_thread): Use ppc_num_gprs and ppc_num_fprs instead of '32' and '31'. * ppc-linux-nat.c (fill_gregset): Same. * ppc-linux-tdep.c (ppc_linux_supply_gregset) (ppc_linux_sigtramp_cache): Same. * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg) (ppcnbsd_sigtramp_cache_init): Same. * rs6000-nat.c (fetch_core_registers): Same. * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset) (rs6000_frame_cache): Same.
* 2004-05-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-05-132-12/+22
| | | | | | * infrun.c (handle_inferior_event): Check for STEP_OVER_UNDEBUGGABLE after signal trampolines and function calls. Update comments.
* * aix-thread.c (supply_gprs64, fetch_regs_user_thread)Jim Blandy2004-05-138-19/+44
| | | | | | | | | | | (store_regs_user_thread): Use tdep->ppc_gp0_regnum, instead of assuming that the gprs are numbered starting with zero. * ppc-linux-nat.c (fill_gregset): Same. * ppc-linux-tdep.c (ppc_linux_supply_gregset): Same. * ppcnbsd-nat.c (getregs_supplies): Same. * ppcnbsd-tdep.c (ppcnbsd_supply_reg, ppcnbsd_fill_reg): Same. * rs6000-nat.c (fetch_core_registers): Same. * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset): Same.
* 2004-05-07 Michael Snyder <msnyder@redhat.com>Michael Snyder2004-05-132-7/+27
| | | | | * tracepoint.c (scope_info): Add handling for LOC_COMPUTED, LOC_COMPUTED_ARG, and LOC_INDIRECT.
* 2004-05-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-05-132-1/+5
| | | | | | | | | | | | | | | | | | | | | * infrun.c (handle_inferior_event): Use frame_unwind_id. Index: infrun.c =================================================================== RCS file: /cvs/src/src/gdb/infrun.c,v retrieving revision 1.159 diff -p -u -r1.159 infrun.c --- infrun.c 13 May 2004 16:39:11 -0000 1.159 +++ infrun.c 13 May 2004 18:37:09 -0000 @@ -2437,7 +2437,7 @@ process_event_stop_test: return; } - if (frame_id_eq (get_frame_id (get_prev_frame (get_current_frame ())), + if (frame_id_eq (frame_unwind_id (get_current_frame ()), step_frame_id)) { /* It's a subroutine call. */
* 2004-05-13 Andrew Cagney <cagney@redhat.com>Andrew Cagney2004-05-135-84/+190
| | | | | * gdb.base/signull.exp, gdb.base/signull.c: New files. * gdb.base/gdb1476.c, gdb.base/gdb1476.exp: Delete files.
* 2004-05-13 Bryce McKinlay <mckinlay@redhat.com>Bryce McKinlay2004-05-132-1/+9
| | | | | * dwarf2loc.c (find_location_expression): Use ANOFFSET to adjust base_address for shared libraries.
* 2004-05-13 Bryce McKinlay <mckinlay@redhat.com>Bryce McKinlay2004-05-132-0/+5
| | | | * MAINTAINERS (write after approval): Add myself.
* * breakpoint.c (bpstat_stop_status): Add new argumentUlrich Weigand2004-05-134-8/+22
| | | | | | | | | STOPPED_BY_WATCHPOINT. Use it instead of testing target_stopped_data_address agaist 0 to check whether or not we stopped due to a hardware watchpoint. * breakpoint.h (bpstat_stop_status): Adapt prototype. * infrun.c (handle_inferior_event): Call bpstat_stop_status with new argument.
* * configure.in: When checking whether we should use the -bbigtocJim Blandy2004-05-123-61/+69
| | | | | option, don't forget to restore the original value of LDFLAGS. * configure: Regenerated.