aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2003-08-14 * Makefile.am (POTFILES.in): Unset LC_COLLATE.Alan Modra3-5/+10
* Makefile.in: Regenerate.
2003-08-14 * dep-in.sed: Remove libintl.h.Alan Modra4-12/+20
* Makefile.am (POTFILES.in): Unset LC_COLLATE. Run "make dep-am". * Makefile.in: Regenerate.
2003-08-14 * dep-in.sed: Remove libintl.h.Alan Modra4-25/+18
* Makefile.am (SRC-POTFILES.in, BLD-POTFILES.in): Unset LC_COLLATE. (POTFILES.in): Remove target. * Makefile.in: Regenerate.
2003-08-14 * hppa-hpux-tdep.c (_initialize_hppa_hpux_tdep): Use the correctJoel Brobecker2-1/+10
bfd arch_info when registering the GDB_OSABI_HPUX_ELF initialization routine.
2003-08-14daily updateAlan Modra1-1/+1
2003-08-14*** empty log message ***gdbadmin1-1/+1
2003-08-132003-08-13 Michael Snyder <msnyder@redhat.com>Michael Snyder2-15/+12
* frv-tdep.c (frv_push_arguments): Use deprecated ftype. (frv_saved_pc_after_call): Use deprecated ftype. (stupid_useless_init_extra_frame_info): Remove orphan prototype. (frv_remote_translate_xfer_address): Remove. (frv_gdbarch_init): Use generic_remote_translate_xfer_address.
2003-08-13 * hppa-tdep.c (hppa_gdbarch_init): Perform the ABI-specific gdbarchJoel Brobecker2-3/+8
initialization after the common gdbarch initialization, not before.
2003-08-13 * config/pa/tm-hppa64.h (HPUX_1100): Remove, not used.Joel Brobecker2-5/+5
(ADDR_BITS_REMOVE): Remove, redundant.
2003-08-13 * hppa-tdep.c (hppa_gdbarch_init): Set the addr_bits_removeJoel Brobecker2-0/+6
gdbarch method to clear the 2 low bits of text addresses.
2003-08-13 * genscripts.sh (libpath.exp): Only generate for first emulation.Alan Modra2-12/+26
(LIB_PATH): Correct order of paths. Don't add $tool_lib when already present or when LIB_PATH is set to ":".
2003-08-13daily updateAlan Modra1-1/+1
2003-08-13*** empty log message ***gdbadmin1-1/+1
2003-08-122003-08-12 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+14
* gdb.base/float.exp: Add test for SH.
2003-08-122003-08-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney3-8/+16
* Makefile.in (dsrec.o): Update dependencies. * dsrec.c: Include "gdb_assert.h". (make_srec): Use snprintf instead of sprintf, use a literal format string.
2003-08-122003-08-12 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+7
* frame.c (deprecated_frame_xmalloc): Use XMALLOC, instead of FRAME_OBSTACK_ZALLOC.
2003-08-12 * ldmain.c (undefined_symbol): Change parameter name from `fatal'Ian Lance Taylor2-13/+39
to `error'. If only a warning, put warning in the reported string. Consistently set failure flag when not a warning.
2003-08-12 * i386-tdep.c (i386_gdbarch_init): Enable default support forKevin Buettner2-5/+23
SSE registers.
2003-08-12merge from gccDJ Delorie2-2/+6
2003-08-12 * elf64-ppc.c (ppc64_elf_next_input_section): Update comment.Alan Modra2-1/+18
(ppc64_elf_relocate_section): For zero sym R_PPC64_TOC relocs, use the function sym from the previous reloc.
2003-08-12daily updateAlan Modra1-1/+1
2003-08-12*** empty log message ***gdbadmin1-1/+1
2003-08-112003-07-22 Michael Snyder <msnyder@redhat.com>Michael Snyder3-66/+76
* gdb.disasm/8300s.s: Fix syntax of bsr insn. * gdb.disasm/h8300s.exp : Minor changes in disassembler output require patterns to be more general, accepting old and new output. Some output chars (such as '+') also must be quoted. Some addresses are displayed numerically instead of symbolically.
2003-08-112003-08-11 Michael Snyder <msnyder@redhat.com>Michael Snyder4-0/+118
* macl.s: New file. * macw.s: New file. * allinsn.exp: Add new tests for mac.w and mac.l.
2003-08-112003-08-11 Shrinivas Atre <shrinivasa@KPITCummins.com>Michael Snyder3-3/+60
* sim/sh/gencode.c ( tab[] ): Addition of MAC.L handler and correction for MAC.W handler * sim/sh/interp.c ( macl ): New Function. Implementation of MAC.L handler.
2003-08-11* x86-64-tdep.h (amd64fbsd_sigtramp_start, amd64fbsd_sigtramp_end,Mark Kettenis3-4/+13
amd64fbsd_sc_reg_offset): Add extern declarations. * amd64fbsd-nat.c (_initialize_am64fbsd_nat): Remove extern declarations.
2003-08-11 * readelf.c (process_archive): Fix error handling. Remove memoryIan Lance Taylor2-9/+22
leak.
2003-08-11 * elf32-i386.c (elf_i386_relocate_section): Make undefined symbolsJakub Jelinek12-14/+31
fatal if -pie. * elf32-s390.c (elf_s390_relocate_section): Likewise. * elf32-sparc.c (elf32_sparc_relocate_section): Likewise. * elf64-alpha.c (elf64_alpha_relocate_section): Likewise. * elf64-ppc.c (ppc64_elf_relocate_section): Likewise. * elf64-s390.c (elf_s390_relocate_section): Likewise. * elf64-sparc.c (sparc64_elf_relocate_section): Likewise. * elf64-x86-64.c (elf64_x86_64_relocate_section): Likewise. * elfxx-ia64.c (elfNN_ia64_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_relocate_section): Likewise. (ppc_elf_relocate_section) <case R_PPC_RELAX32>: Issue fatal error on undefined symbols if -pie. * elf32-sh.c (sh_elf_relocate_section): Likewise.
2003-08-11 * elf64-ppc.c (ppc64_elf_relocate_section): Add special case for crt1.oAlan Modra2-1/+14
branch to __libc_start_main.
2003-08-11Add ability for readelf to parse archivesNick Clifton6-42/+272
2003-08-11daily updateAlan Modra1-1/+1
2003-08-11*** empty log message ***gdbadmin1-1/+1
2003-08-10 * MAINTAINERS (write after approval): Update my mail address.Ben Elliston2-1/+5
2003-08-102003-08-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+13
* Makefile.in (monitor.o): Do not build monitor.c with -Werror.
2003-08-10* i386-tdep.h (i386fbsd_sigtramp_start, i386fbsd_sigtramp_end,Mark Kettenis4-14/+17
i386obsd_sigtramp_start, i386obsd_sigtramp_end, i386fbsd4_sc_reg_offset, i386fbsd_sc_reg_offset, i386nbsd_sc_reg_offset, i386obsd_sc_reg_offset, i386bsd_sc_reg_offset): Add extern declarations. * i386obsd-nat.c: Include "i386-tdep.h" (_initialize_i386obsd_nat): Remove extern declarations. * i386fbsd-nat.c (_initialize_i386fbsd_nat): Remove extern declarations. * i386bsd-nat.c (_initialize_i386bsd_nat): Remove extern declarations.
2003-08-10* i386-tdep.c (i386_register_to_value): Use get_frame_registerMark Kettenis2-14/+38
instead of frame_read_register. (i386_fetch_pointer_argument): Use get_frame_register_unsigned instead of frame_read_register. Use I386_ESP_REGNUM instead of SP_REGNUM. (i386_frame_prev_register): Use frame_unwind_register_unsigned instead of frame_unwind_unsigned_register. Use I386_EFLAGS_REGISTER instead of PS_REGNUM. (i386_get_longjmp_target): Use regcache_read_unsigned_register instead of read_register. Use builtin_type_void_data_ptr instead of builtin_type_void_func_ptr when extracting the address of the jmp_buf. (i386_extract_return_value, i386_store_return_value, i386_pseudo_register_read, i386_pseudo_register_write): Use register_size instead REGISTER_RAW_SIZE. (i387_print_float_info): Use get_frame_register and get_frame_register_unsigned instead of frame_register_read.
2003-08-102003-08-10 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-11/+16
* infcall.c (call_function_by_hand): Use xstrprintf instead of sprintf. Make "name" constant.
2003-08-10* i387-tdep.c (i387_register_to_value): Use get_frame_registerMark Kettenis2-18/+13
instead of frame_read_register.
2003-08-10* i386fbsd-nat.c: Include "i386-tdep.h".Mark Kettenis2-3/+12
(child_resume): Make `eflags' an ULONGEST. Use regcache_cooked_read_unsigned and regcache_cooked_write_unsigned instead of register_read and register_write.
2003-08-10* i386bsd-nat.c (fetch_inferior_registers,Mark Kettenis2-7/+11
store_inferior_registers): Don't use && at the end of a line. (_initialize_i386bsd_nat): Fix typo.
2003-08-10* frame.c (_initialize_frame): Add missing backslash.Mark Kettenis2-1/+3
2003-08-10* sol-thread.c (sol_thread_store_registers): Use regcache_collectMark Kettenis2-7/+11
and supply_register instead of manipulating the register buffer directly. From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):
2003-08-10From Peter Schauer (Peter.Schauer@regent.e-technik.tu-muenchen.de):Mark Kettenis2-0/+5
* config/i386/nm-i386sol2.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Define to one.
2003-08-10Based on a patch from Michael Elizabeth Chastain (mec@shout.net):Mark Kettenis2-5/+49
* i386-tdep.c (i386_analyze_frame_setup): Recognize more instructions that GCC likes to mingle into the prologue. Fixes gdb/1253 and gdb/1255.
2003-08-10* gdb.arch/i386-prologue.c, gdb.arch/i386-prologue.exp: New files.Mark Kettenis3-0/+87
2003-08-10 * MAINTAINERS: Update my mail address.Ben Elliston2-1/+5
2003-08-10*** empty log message ***gdbadmin1-1/+1
2003-08-10daily updateAlan Modra1-1/+1
2003-08-092003-08-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney6-26/+126
Fix GDB PR cli/926. * cli/cli-decode.c (add_setshow_uinteger_cmd): New function. * command.h (add_setshow_uinteger_cmd): Declare. * frame.c (set_backtrace_cmd): New function. (show_backtrace_cmd): New function. * frame.c (_initialize_frame): Replace "set/show backtrace-below-main" with "set/show backtrace past-main". Add command "set/show backtrace limit". (backtrace_past_main): Rename "backtrace_below_main". (backtrace_limit): New variable. (get_prev_frame): Update. Check the backtrace_limit. 2003-08-09 Andrew Cagney <cagney@redhat.com> * gdb.texinfo (Backtrace): Replace "set/show backtrace-below-main" with "set/show backtrace past-main" and "set/show backtrace limit". Index: doc/gdb.texinfo =================================================================== RCS file: /cvs/src/src/gdb/doc/gdb.texinfo,v retrieving revision 1.174 diff -u -r1.174 gdb.texinfo --- doc/gdb.texinfo 8 Aug 2003 01:58:00 -0000 1.174 +++ doc/gdb.texinfo 9 Aug 2003 14:57:10 -0000 @@ -3922,27 +3922,40 @@ value, indicating that your program has stopped at the beginning of the code for line @code{993} of @code{builtin.c}. -@kindex set backtrace-below-main -@kindex show backtrace-below-main +@kindex set backtrace past-main +@kindex show backtrace past-main +@kindex set backtrace limit +@kindex show backtrace limit -Most programs have a standard entry point---a place where system libraries -and startup code transition into user code. For C this is @code{main}. -When @value{GDBN} finds the entry function in a backtrace it will terminate -the backtrace, to avoid tracing into highly system-specific (and generally -uninteresting) code. If you need to examine the startup code, then you can -change this behavior. +Most programs have a standard user entry point---a place where system +libraries and startup code transition into user code. For C this is +@code{main}. When @value{GDBN} finds the entry function in a backtrace +it will terminate the backtrace, to avoid tracing into highly +system-specific (and generally uninteresting) code. + +If you need to examine the startup code, or limit the number of levels +in a backtrace, you can change this behavior: @table @code -@item set backtrace-below-main off +@item set backtrace past-main +@itemx set backtrace past-main on +Backtraces will continue past the user entry point. + +@item set backtrace past-main off Backtraces will stop when they encounter the user entry point. This is the default. -@item set backtrace-below-main -@itemx set backtrace-below-main on -Backtraces will continue past the user entry point to the top of the stack. +@item show backtrace past-main +Display the current user entry point backtrace policy. + +@item set backtrace limit @var{n} +@itemx set backtrace limit 0 +@cindex backtrace limit +Limit the backtrace to @var{n} levels. A value of zero means +unlimited. -@item show backtrace-below-main -Display the current backtrace policy. +@item show backtrace limit +Display the current limit on backtrace levels. @end table @node Selection
2003-08-092003-08-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney4-82/+114
* defs.h (xstrprintf): Declare. * utils.c (xstrprintf): New function. * breakpoint.c (insert_breakpoints): Replace sprintf and non-literal format strings, with xstrprintf and cleanups. (delete_breakpoint,breakpoint_re_set): Ditto. (commands_command, insert_breakpoints): Ditto. (bpstat_stop_status, break_at_finish_at_depth_command_1): Ditto. (break_at_finish_command_1): Ditto.