aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2004-12-082004-12-07 Randolph Chung <tausq@debian.org>Randolph Chung4-0/+70
* hppa-tdep.h (gdbarch_tdep): Add unwind_adjust_stub method. * hppa-hpux-tdep.c (hppa_hpux_unwind_adjust_stub): New function. (hppa_hpux_init_abi) Set unwind_adjust_stub method. * hppa-tdep.c (hppa_frame_cache): Call unwind_adjust_stub method if defined.
2004-12-082004-12-07 Randolph Chung <tausq@debian.org>Randolph Chung2-3/+23
* hppa-tdep.c (hppa_stub_Frame_unwind_cache): Stop unwinding if unwinding from a frame with pc == 0. (hppa_stub_frame_this_id): Likewise. (hppa_stub_frame_prev_register): Only provide real values if the frame cache is not NULL.
2004-12-082004-12-07 Randolph Chung <tausq@debian.org>Randolph Chung5-0/+1620
* solib-som.c: New file. * solib-som.h: New file. * solib-pa64.c: New file. * solib-pa64.h: New file.
2004-12-08merge from gccDJ Delorie3-15/+5
2004-12-08 * run.1: Document --sysroot=filepath.Hans-Peter Nilsson6-7/+90
* sim-options.c (STANDARD_OPTIONS): New member OPTION_SYSROOT. (standard_options): Support --sysroot=<path>. (standard_option_handler): Handle OPTION_SYSROOT. * syscall.c (simulator_sysroot): Define, initialized empty. (get_path): Prepend simulator_sysroot to absolute file path. [HAVE_STRING_H]: Include string.h. [!HAVE_STRING_H && HAVE_STRINGS_H]: Include strings.h. * nrun.c [HAVE_UNISTD_H]: Include unistd.h. (main): If simulator_sysroot is not empty, chdir there. * sim-config.h (simulator_sysroot): Declare.
2004-12-08 * getopt.c: Include "ansidecl.h" for the ATTRIBUTE_UNUSED macro.Ben Elliston3-5/+15
(_getopt_initialize): Annotate argc and argv parameters as unused. * Makefile.in (getopt.o): Depend on $(INCDIR)/ansidecl.h.
2004-12-08*** empty log message ***gdbadmin1-1/+1
2004-12-07 * configure: Regenerate for ../common/aclocal.m4 update.Hans-Peter Nilsson26-180/+288
2004-12-07 * aclocal.m4 (SIM_AC_OUTPUT): Substitute @cgen_breaks@ for "breakHans-Peter Nilsson3-0/+15
cgen_rtx_error" in a CGEN-generated simulator. * gdbinit.in: Break on sim_core_signal too. Have autoconf replacement for CGEN-related breakpoints.
2004-12-07daily updateAlan Modra1-1/+1
2004-12-07 * Make-common.in (sim-basics_h): Add $(callback_h).Hans-Peter Nilsson2-0/+5
2004-12-07* Makefile.in (inf-ttrace.o): Fix typo.Mark Kettenis2-1/+5
2004-12-07* remote.c (remote_threads_info, remote_current_thread): UseJim Blandy2-2/+18
strtoul to parse thread ID numbers.
2004-12-07merge from gccDJ Delorie2-7/+53
2004-12-07* inf-ttrace.c: Include "gdbthread.h".Mark Kettenis3-25/+129
(inf_ttrace_num_lwps): New variable. (inf_ttrace_num_lwps_in_syscall): Renamed from inf_ttrace_num_threads_in_syscall. (inf_ttrace_him): Track TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE events. (inf_ttrace_create_inferior): Assert that INF_TTRACE_NUM_LWPS is zero. (inf_ttrace_mourn_inferior): Set INF_TTRACE_NUM_LWPS to zero. (inf_ttrace_attach): Assert that INF_TTRACE_NUM_LWPS is zero. Track TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE events. (inf_ttrace_wait): Report status as TARGET_WAITKIND_SPURIOUS by default. Handle TTEVT_LWP_CREATE, TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE events. (inf_ttrace_thread_alive, inf_ttrace_pid_to_str): New functions. (inf_ttrace_target): Set to_thread_alive and to_pid_to_str. * Makefile.in (inf-ttrace.o): Update dependencies.
2004-12-07* hppa-tdep.h (hppa_read_pc, hppa_write_pc, hppa_unwind_pc): NewMark Kettenis4-45/+114
prototypes. * hppa-tdep.c (hppa_read_pc): Rename from hppa_target_read_pc. Make global. Remove HP-UX specific code. Use frame_unwind_register_unsigned instead of frame_unwind_register_signed. (hppa_write_pc): Rename from hppa_target_write_pc. Make global. Remove HP-UX specific code. (hppa_unwind_pc): Make global. Remove HP-UX specific code. (hppa_frame_prev_register_helper): Set "flags" register to zero for all unwound frames. (hppa_gdbarch_init): Adjust. * hppa-hpux-tdep.c (HPPA_HPUX_SS_INSYSCALL): New define. (hppa_hpux_read_pc, hppa_hpux_write_pc) (hppa_hpux_unwind_pc): New functions. (hppa_hpux_init_abi): Set read_pc, write_pc and unwind_pc.
2004-12-07 * ldemul.h: Forward declare struct option.Ben Elliston2-0/+7
2004-12-07 * read.c (s_align): Use an align_limit temporary to allay a GCCBen Elliston2-2/+8
signed/unsigned comparison warning.
2004-12-07 * main.c (long_options): Add entry for "-l".Andreas Schwab5-0/+22
(print_gdb_help): Add line for -l option. * NEWS: Mention it. doc/ * gdb.texinfo (Mode Options): Document -l option.
2004-12-07 * netbsd-core.c (netbsd_core_file_p): Make `i' unsigned.Ben Elliston2-1/+6
2004-12-07 Suggested by Fergal Daly <fergal@esatclear.ie>:Daniel Jacobowitz2-1/+21
* simple.c (simple_dummy_multiple_definition): New function. (bfd_simple_get_relocated_section_contents): Use it.
2004-12-07*** empty log message ***gdbadmin1-1/+1
2004-12-06daily updateAlan Modra1-1/+1
2004-12-06 PR binutils/249Ben Elliston2-17/+84
* doc/binutils.texi (def file format): New node. (dlltool): Use the tool name as the @chapter name, like all the other binutils. Use @file{.def} throughout for consistency.
2004-12-06 * dlltool.c: Comment fix.Ben Elliston2-1/+5
2004-12-06 * doc/binutils.texi: Update copyright years.Ben Elliston2-6/+10
2004-12-062004-12-05 Randolph Chung <tausq@debian.org>Randolph Chung2-6/+12
* hppah-nat.c (store_inferior_registers): Rewrite logic to not use DEPRECATED_REGISTER_BYTE.
2004-12-062004-12-05 Randolph Chung <tausq@debian.org>Randolph Chung2-0/+30
* hppa-tdep.c (unwind_command): Print the stub type for stub unwind records.
2004-12-06*** empty log message ***gdbadmin1-1/+1
2004-12-05daily updateAlan Modra1-1/+1
2004-12-05Oops.Mark Kettenis1-0/+3
2004-12-05* somsolib.c [PA_SOM_ONLY] (no_shared_libraries): New function.Mark Kettenis2-1/+8
* config/pa/hppahpux.mt (TDEPFILES): Remove solib.o.
2004-12-05* hppa-hpux-tdep.c: Update copyright notice and year.Mark Kettenis2-14/+19
2004-12-05* doublest.c (FLOATFORMAT_LARGEST_BYTES): New define.Richard Earnshaw2-80/+146
(get_field, put_field): Assert that the format is one we can handle. Simplify logic accordingly. (floatformat_normalize_byteorder): New function. (convert_floatformat_to_doublest): Use floatformat_normalize_byteorder to normalize and select modified byte order. Pass modified byte order to get_field. (floatformat_is_negative, floatformat_is_nan, floatformat_mantissa): Likewise. (convert_doublest_to_floatformat): Select an appropriate intermediate byte order if necessary. Always convert to the final format before returning.
2004-12-052004-12-05 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-0/+4
* crx-dis.c (print_arg): Use 'info->print_address_func' for address printing.
2004-12-052004-12-05 Tomer Levi <Tomer.Levi@nsc.com>Tomer Levi1-14/+17
* crx-dis.c: Use 'info->print_address_func' for address printing.
2004-12-05*** empty log message ***gdbadmin1-1/+1
2004-12-04daily updateAlan Modra1-1/+1
2004-12-04 PR tui/1703Daniel Jacobowitz2-1/+7
* linux-nat.c (linux_tracefork_child): Use _exit instead of exit. Suggested by Joshua Neuheisel.
2004-12-04 * gdbint.texinfo (Algorithms): More accurate description ofEli Zaretskii2-7/+42
STOPPED_BY_WATCHPOINT. Point out that target_stopped_data_address is not needed unless data-read and data-access watchpoints are supported. Add a description of how GDB checks whether the inferior stopped because a watchpoint was hit.
2004-12-04*** empty log message ***gdbadmin1-1/+1
2004-12-032004-12-03 Randolph Chung <tausq@debian.org>Randolph Chung9-90/+258
* gdbarch.sh (instruction_nullified): Delete. * gdbarch.c: Regenerate. * gdbarch.h: Regenerate. * hppa-tdep.c (hppa_target_read_pc): Adjust pc if instruction is nullified. (hppa_unwind_pc): Likewise. (hppa_instruction_nullified): Delete. (hppa_gdbarch_init): Don't set instruction_nullified method. * infrun.c (infwait_states): Remove infwait_nullified_state. (handle_inferior_event): Remove handling of infwait_nullified_state. Remove handling of nullified instructions. testsuite/ * gdb.arch/pa-nullify.exp: New file. * gdb.arch/pa-nullify.s: New file.
2004-12-03Bah, forgot to commit the trivial fix I pointed out myself after applying ↵Hans-Peter Nilsson1-1/+1
patch for previous change
2004-12-03daily updateAlan Modra1-1/+1
2004-12-03* inf-ttrace.c: Include <sys/mman.h>.Mark Kettenis2-2/+458
(struct inf_ttrace_page): New. (struct inf_ttrace_page_dict): New. (inf_ttrace_num_threads_in_syscall) (inf_ttrace_reenable_page_protections): New variables. (inf_ttrace_enable_syscall_events) (inf_ttrace_disable_syscall_events, inf_ttrace_get_page) (inf_ttrace_remove_page, inf_ttrace_mask_page_protections) (inf_ttrace_enable_page_protections) (inf_ttrace_disable_page_protections) (inf_ttrace_insert_watchpoint, inf_ttrace_remove_watchpoint) (inf_ttrace_can_use_hw_breakpoint) (inf_ttrace_region_size_ok_for_hw_watchpoint) (inf_ttrace_stopped_by_watchpoint): New functions. (inf_ttrace_him): Remove unsused varaible `tts'. (inf_ttrace_create_inferior): Add assertionts. (inf_ttrace_mourn_inferior): Clear page dictionary. (inf_ttrace_attach): Set initial event mask. (inf_ttrace_detach): Reset number of threads in system call. (inf_ttrace_wait): Deal with system call events. (inf_ttrace_target): Initialize "hardware" watchpoint-related parts of the target vector. (_initialize_inf_ttrace): New prototype and function.
2004-12-03 * configure.in (SIM_CHECK_MEMBERS): Call for struct stat membersHans-Peter Nilsson6-5/+1044
st_dev, st_ino, st_mode, st_nlink, st_uid, st_gid, st_rdev, st_size, st_blksize, st_blocks, st_atime, st_mtime and st_ctime. * aclocal.m4 (SIM_CHECK_MEMBER, SIM_CHECK_MEMBERS_1) (SIM_CHECK_MEMBERS): New macros. * callback.c (cb_host_to_target_stat): Use temporary macro ST_x for struct stat member test and write. Add ST_x calls for each struct stat member tested in configure.in. Wrap each ST_x call in #ifdef of configure macro for that member. * configure, config.in: Regenerate.
2004-12-03* hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Use ULONGEST asMark Kettenis2-1/+6
type of `gp' variable.
2004-12-032004-12-03 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2-2/+6
* ld-elf/group1.d: Support 64bit.
2004-12-03bfd/Jan Beulich2-3/+34
2004-12-03 Jan Beulich <jbeulich@novell.com> * elf.c (elf_find_function): Don't use the last file symbol ever, seen, but the last one seen prior to the symbol being reported. Don't report a filename at all for global symbols when that might be ambiguous/wrong.
2004-12-03Introduce config/gxx-include-dir.m4.Richard Sandiford5-60/+79