aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2003-08-092003-08-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+6
* MAINTAINERS (language support): List Adam Fedor as Objective C maintainer.
2003-08-092003-08-09 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-2/+14
* MAINTAINERS: Andrew Cagney (mips) and Geoff Keating (ppc) drop maintenance. List igen and sh maintainers. Mention that target and global maintainers pick up the slack.
2003-08-09fix typo in ChangeLogMichael Meissner1-6/+6
2003-08-09regenerate cgen files after prototype fixMichael Meissner22-994/+911
2003-08-09*** empty log message ***gdbadmin1-1/+1
2003-08-09daily updateAlan Modra1-1/+1
2003-08-08Fix typos in last changeMichael Meissner1-3/+6
2003-08-08 * NEWS (Multi-arched targets): Document that all hppa-hpux targetsJoel Brobecker2-1/+6
are now multiarched.
2003-08-08 * config/pa/tm-hppa64.h: Remove lots of macros that are noJoel Brobecker2-309/+6
longer necessary now that hppa64 is partially multiarch'ed.
2003-08-08fix changelog dateMichael Meissner1-1/+1
2003-08-08Convert cgen to C-90Michael Meissner9-397/+429
2003-08-08 * dv-m68hc11tim.c (cycle_to_string): Add flags parameter to betterStephane Carrez8-65/+170
control the translation. (m68hc11tim_print_timer): Update cycle_to_string conversion. (m68hc11tim_timer_event): Fix handling of output compare register with its interrupts. (m68hc11tim_io_write_buffer): Check output compare after setting M6811_TMSK1. (m68hc11tim_io_read_buffer): Fix compilation warning. * dv-m68hc11.c (m68hc11_option_handler): Likewise. * dv-m68hc11spi.c (m68hc11spi_info): Likewise. * dv-m68hc11sio.c (m68hc11sio_info): Likewise. * interrupts.c (interrupts_info): Likewise. (interrupts_reset): Recognize bootstrap mode. * sim-main.h (PRINT_CYCLE, PRINT_TIME): New defines. (_sim_cpu): Add cpu_start_mode. (cycle_to_string): Add flags member. * m68hc11_sim.c (OPTION_CPU_BOOTSTRAP): New option. (cpu_options): Declare new option bootstrap. (cpu_option_handler): Handle it. (cpu_info): Update call to cycle_to_string.
2003-08-08 * sim-main.h (phys_to_virt): Use memory bank parameters to translateStephane Carrez5-25/+137
the physical address in virtual address. (struct _sim_cpu): Add memory bank members. * m68hc11_sim.c (cpu_initialize): Clear memory bank parameters. * interp.c (sim_hw_configure): Create memory bank according to memory bank parameters. (sim_get_bank_parameters): New function to obtain memory bank config from the symbol table. (sim_prepare_for_program): Call it to obtain the memory bank parameters. (sim_open): Call sim_prepare_for_program. * dv-m68hc11.c (m68hc11cpu_io_write_buffer): Use memory bank parameters to check if address is within bank window. (m68hc11cpu_io_read_buffer): Likewise. (attach_m68hc11_regs): Map the memory bank according to memory bank parameters.
2003-08-08 * sim-main.h (PAGE_REGNUM, Z_REGNUM): Use same numbering as gdb.Stephane Carrez2-2/+6
2003-08-08 * m68hc11_sim.c (print_io_word): New function to print 16-bit value.Stephane Carrez4-4/+99
* sim-main.h (print_io_word): Declare. * dv-m68hc11tim.c (tmsk1_desc): New description table for TMSK1. (tflg1_desc): Likewise for TFLG1. (m68hc11tim_info): Print input and output compare registers
2003-08-082003-08-08 Andrew Cagney <cagney@redhat.com>Andrew Cagney5-4/+26
* interps.c (interp_set): Check for a NULL "old_interp". Index: mi/ChangeLog 2003-08-08 Andrew Cagney <cagney@redhat.com> * mi-main.c (captured_mi_execute_command): Add "mi2" and "mi3" to interpreters that hack around CLI. * mi-interp.c (mi3_command_loop): New function. (mi_interpreter_resume): Check for "mi3", default to "mi2".
2003-08-08gdb/H.J. Lu8-15/+43
2003-08-08 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (FLAGS_TO_PASS): Add DESTDIR. (install-only): Support DESTDIR. (uninstall): Likewise. (install-gdbtk): Likewise. gdb/doc/ 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (install-info): Support DESTDIR. (install-html): Likewise. gdb/gdbserver/ 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (install-only): Create dest dir. Support DESTDIR. (uninstall): Support DESTDIR. mmalloc/ 2003-08-08 H.J. Lu <hongjiu.lu@intel.com> * Makefile.in (install-info): Create dest dir. Support DESTDIR. (install): Likewise.
2003-08-08gas/Andreas Schwab7-1/+160
* config/tc-m68k.h (TARGET_USE_CFIPOP) (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT) (tc_regname_to_dw2regnum, tc_cfi_frame_initial_instructions): Define. * config/tc-m68k.c: Include "dw2gencfi.h". (tc_m68k_regname_to_dw2regnum) (tc_m68k_frame_initial_instructions): New functions. gas/testsuite/ * gas/cfi/cfi-m68k.s, gas/cfi/cfi-m68k.d: New test. * gas/cfi/cfi.exp (run_list_test): Run it.
2003-08-082003-08-08 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-2/+14
* symtab.c (lookup_symbol_aux): Make sure that is_a_field_of_this contains something meaningful at all times.
2003-08-08Add MSP430 variantsNick Clifton20-231/+435
2003-08-08Updated French translationNick Clifton2-5/+9
2003-08-082003-08-07 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-63/+44
Patch from Nick Roberts. * gdb.texinfo (Using GDB under GNU Emacs): Fix/update key bindings. Remove description of send-gdb-command.
2003-08-08Add periods to my changelog entriesBrendan Conoboy1-2/+2
2003-08-08Mon Jul 21 20:10:16 UTC 2003 Brendan Conoboy <blc@redhat.com>Brendan Conoboy2-0/+5
* configure.host: Set gdb_host_cpu=arm when host_cpu=xscale
2003-08-08Mon Jul 21 20:09:34 UTC 2003 Brendan Conoboy <blc@redhat.com>Brendan Conoboy2-0/+9
* configure.srv: Add xscale*linux copy of arm*linux entry.
2003-08-08Fri Aug 8 00:28:38 UTC 2003 Brendan Conoboy <blc@redhat.com>Brendan Conoboy2-0/+5
* MAINTAINERS (write after approval): Added self
2003-08-08*** empty log message ***gdbadmin1-1/+1
2003-08-08daily updateAlan Modra1-1/+1