aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2004-02-28* amd64-tdep.c (amd64_frame_cache): Fix comment.Mark Kettenis2-7/+10
2004-02-282004-02-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney19-58/+70
* utils.c: Use "", instead of <>, to include readline. tui/tui-win.c, tui/tui.c, tui/tui-hooks.c: Ditto. * tracepoint.c, top.c, symmisc.c, symfile.c: Ditto. * source.c, solib.c, exec.c, event-top.c: Ditto. * corelow.c, completer.c, cli/cli-setshow.c: Ditto. * cli/cli-dump.c, cli/cli-cmds.c: Ditto. * Makefile.in: Update all dependencies. (readline_tilde_h, readline_history_h): Define. (readline_headers): Delete.
2004-02-28* config/djgpp/fnchange.lst: Rename "config/i386/nm-linux64.h" toMark Kettenis2-0/+6
"config/i386/nm-lx64.h" and "config/i386/tm-linux64.h" to "config/i386/tm-lx64.h".
2004-02-28* config/djgpp/fnchange.lst: Rename "amd64-linux-tdep.c" toMark Kettenis2-2/+8
"amd64-ltdep.c" and "amd64-linux-nat.c" to "amd64-lnat.c". Remove rules for "x86-64-linux-tdep.c" and "x86-64-linux-nat.c".
2004-02-282004-02-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-0/+3
* dwarf2-frame.h (struct gdbarch): Add opaque declaration.
2004-02-282004-02-28 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-9/+20
* breakpoint.c (_initialize_breakpoint): Use "add_setshow_auto_boolean_cmd. Better word-wrap help messages. Add help to show command.
2004-02-28* i386-nat.c: Reformat to be closer to coding standards.Mark Kettenis2-98/+129
(i386_handle_nonaligned_watchpoint): Rename local variable `rv' to `retval'. Make variables `align' and `size' local to while-loop. (i386_stopped_data_address): Rename local variable `ret' to `addr'. (_initialize_i386_nat): New prototype.
2004-02-28* tui/tui.c: Include <readline/readline.h> instead ofMark Kettenis2-1/+11
"readline/readline.h". Include it after <term.h> and "gdb_curses.h".
2004-02-28Reviewed and approved by drow@false.org.Fred Fish2-0/+8
2004-02-27 Fred Fish <fnf@redhat.com> * gdb.base/chng-syms.exp: Add expect condition to match failing case that isn't a timeout.
2004-02-28*** empty log message ***gdbadmin1-1/+1
2004-02-272004-02-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-9/+47
* hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always use the new frame unwind code. (hppa_frame_cache): Use PCOQ_HEAD_REGNUM instead of PC_REGNUM. (hppa_frame_prev_register): Compute PCOQ_TAIL_REGNUM from PCOQ_HEAD_REGNUM.
2004-02-27Index: ChangeLogAndrew Cagney2-115/+36
2004-02-27 Andrew Cagney <cagney@redhat.com> * hppa-tdep.c (hppa_gdbarch_init): On 32-bit systems always "return_value" and "push_dummy_call". (hppa32_use_struct_convention): Delete unused function. (hppa32_store_return_value): Delete unused function. (hppa32_extract_return_value): Delete unused function. (hppa32_stack_align): Delete function.
2004-02-272004-02-27 Eli Zaretskii <eliz@elta.co.il>Eli Zaretskii2-2/+11
* coffread.c (enter_linenos): Don't let rawptr reference memory outside linetab[]'s limits.
2004-02-272004-02-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+6
* gdb.base/bigcore.exp: Disable on HP/UX, no sparse corefile support.
2004-02-272004-02-27 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-9/+26
* hppa-tdep.c (hppa32_push_dummy_call): Fix code reserving inferior stack space - the stack needs to grow upwards. (hppa32_frame_align): New function. (hppa64_frame_align): Replace hppa_frame_align. (hppa_gdbarch_init): Update.
2004-02-272004-02-26 Orjan Friberg <orjanf@axis.com>Orjan Friberg2-816/+568
* cris-tdep.c (frame_unwind.h, frame-base.h, trad-frame.h) (dwarf2-frame.h): Include. (enum cris_regnums): New enum CRIS_FP_REGNUM. Remove static variables related to ABI setting. (struct gdbarch_tdep): Remove cris_abi member. (struct frame_extra_info): Remove. (cris_unwind_cache, stack_item): New structs. (cris_frame_unwind, cris_frame_base): New variables. (push_stack_item, pop_stack_item) (cris_frame_unwind_cache, cris_frame_this_id) (cris_frame_prev_register, cris_unwind_dummy_id, cris_frame_align) (cris_push_dummy_code, cris_push_dummy_call, cris_frame_sniffer) (cris_frame_base_address, cris_scan_prologue, cris_unwind_pc) (cris_unwind_sp, cris_store_return_value, cris_extract_return_value) (cris_reg_struct_has_addr): New functions. (cris_examine, cris_frame_init_saved_regs, cris_frame_chain) (cris_frame_saved_pc, cris_saved_pc_after_call, (cris_store_struct_return, cris_frameless_function_invocation) (cris_pop_frame, cris_skip_prologue_main) (cris_abi_original_store_return_value) (cris_abi_v2_store_return_value) (cris_abi_original_extract_return_value) (cris_abi_v2_extract_return_value) (cris_abi_original_reg_struct_has_addr) (cris_abi_v2_reg_struct_has_addr) (cris_abi_original_push_arguments, cris_abi_v2_push_arguments) (cris_push_return_address, cris_abi_update): Remove. (_initialize_cris_tdep): Remove ABI command. (cris_dump_tdep): Ditto. (cris_gdbarch_init): Remove ABI command. Set store_return_value, extract_return_value, push_dummy_code, push_dummy_call, frame_align, unwind_pc, unwind_sp, unwind_dummy_id, frame_unwind_append_sniffer, frame_base_set_default. Clear deprecated init_frame_pc, push_arguments, store_return_value, extract_return_value, fp_regnum, pc_in_call_dummy, call_dummy_words, sizeof_call_dummy_words, get_saved_register, push_return_address, pop_frame, store_struct_return, frame_init_saved_regs, init_extra_frame_info, frameless_function_invocation, frame_chain, frame_saved_pc, saved_pc_after_call, save_dummy_frame_tos, dummy_write_sp.
2004-02-272004-02-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston4-4/+77
* valprint.h (print_hex_chars, print_char_chars): New prototypes. * valprint.c (print_hex_chars): Change from static to external. (print_char_chars): New function. * printcmd.c (print_scalar_formatted): For integer and enum types that are longer than LONGEST, perform processing via appropriate print_*_chars routines.
2004-02-27*** empty log message ***gdbadmin1-1/+1
2004-02-26Index: ChangeLogAndrew Cagney3-9/+69
2004-02-26 Andrew Cagney <cagney@redhat.com> * Makefile.in: Update dependencies. Changes from Ulrich Weigand, * s390-tdep.c: Include "dwarf2-frame.h". (s390_dwarf2_frame_init_reg): New function. (s390_gdbarch_init): Install dwarf2_frame_sniffer and dwarf2_frame_base_sniffer. Call dwarf2_frame_set_init_reg.
2004-02-262004-02-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+67
* breakpoint.c (pending_break_support): New setting variable. (break_command_1): Account for pending_break_support setting when creating pending breakpoints. (set_breakpoint_cmd, show_breakpoint_cmd): New functions. (_initialize_breakpoint): Add "set breakpoint pending" and "show breakpoint pending" commands.
2004-02-262004-02-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-7/+40
* gdb.texinfo (breakpoints): Add information about the new "set breakpoint pending" and "show breakpoint pending" commands.
2004-02-26Reviewed and approved by cagney@gnu.org.Fred Fish4-77/+145
2004-02-26 Fred Fish <fnf@redhat.com> * gdb.arch/gdb1431.c: Remove. * gdb.arch/gdb1431.s: New file, copy of gdb1291.s * gdb.arch/gdb1431.exp: Use "advance" correctly instead of "until" incorrectly.
2004-02-262004-02-26 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-31/+32
* gdbint.texinfo (Coding): Document use of gdbarch_obstack_zalloc in Per-architecture module data section.
2004-02-26 * gdb.cp/class2.cc (empty): New class.Joel Brobecker3-1/+22
(refer): New function. (main): Declare an object of type empty and use it. * gdb.cp/class2.exp: Print the value of an object of type empty.
2004-02-262004-02-26 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2-1/+6
* gdb.base/langs.exp: Update query string to match the new nquery format used for pending breakpoints.
2004-02-26Index: ChangeLogAndrew Cagney7-90/+109
2004-02-26 Andrew Cagney <cagney@redhat.com> Fix PR i18n/1570. * charset.c (backslashable, backslashed, represented): Remove 'e' from list of escaped characters, not part of ISO-C. Index: charset.c Index: testsuite/ChangeLog 2004-02-26 Andrew Cagney <cagney@redhat.com> Fix PR i18n/1570. * gdb.base/charset.c: Update copyright notice. (main, init_string): Remove the escape character '\e' tests. * gdb.base/printcmds.exp (test_print_all_chars): Ditto. * gdb.base/charset.exp (valid_host_charset): Ditto. * gdb.base/setvar.exp: Ditto.
2004-02-26 * remote-utils.c (write_enn): Use "E01" instead of "ENN" for theDaniel Jacobowitz4-5/+12
error packet. * server.c, target.h: Update copyright years.
2004-02-26 * tui/tui.c: Move system header includes after local includes.Joel Brobecker2-12/+19
Fixes a build failure on solaris systems.
2004-02-26 * configure.in: Refine the previous change.Joel Brobecker3-487/+443
* configure: Regenerate.
2004-02-26*** empty log message ***gdbadmin1-1/+1
2004-02-25*** empty log message ***Mark Kettenis8-9/+9
2004-02-25* amd64-tdep.h: Renamed from x86-64-tdep.h.Mark Kettenis17-58/+114
* amd64-tdep.c: Renamed from x86-64-tdep.c. Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64-linux-tdep.h: Renamed from x86-64-linux.h. * amd64-linux-tdep.c: Renamed from x86-64-linux-tdep.c. Include "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h" and "x86-64-tdep.c". * amd64-linux-nat.c: Renamed from x86-64-linux-nat.c. Include "amd64-tdep.h" and "amd64-linux-tdep.h" instead of "x86-64-tdep.h" and "x86-64-tdep.c". * amd64bsd-nat.c: Update copyright year. Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64fbsd-tdep.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64fbsd-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64nbsd-tdep.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64nbsd-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64obsd-tdep.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * amd64obsd-nat.c: Include "amd64-tdep.h" instead of "x86-64-tdep.h". * configure.host: (x86_64-*-linux*): Set gdb_target to linux64. * configure.tgt (x86_64-*-linux*): Set gdb_target to linux64. * Makefile.in (amd64_linux_tdep_h): Renamed from x86_64_linux_tdep_h. (amd64_tdep_h): Renamed from x86_64_tdep_h. (amd64bsd-nat.o, amd64fbsd-nat.o, amd64fbsd-tdep.o, amd64-nat.o) (amd64nbsd-nat.o, amd64nbsd-tdep.o, amd64obsd-nat.o) (amd64obsd-tdep.o): Update dependencies. (amd64-tdep.o, amd64-linux-nat.o, amd64-linux-tdep.o): New dependencies. (x86-64-linux-nat.o, x86-64-linux-tdep.o, x86-64-tdep.o): Remove dependencies. (ALLDEPFILES): Add amd64-tdep.c, amd64obsd-nat.c, amd64obsd-nat.c, amd64-linux-nat.c amd64-linux-tdep.c. * config/i386/tm-linux64.h: Renamed from tm-x86-64linux.h * config/i386/nm-linux64.h: Renamed from nm-x86-64linux.h. * config/i386/linux64.mt: Renamed from x86-64linux.mt. (TDEPFILES): Replace x86-64-tdep.o and x86-64-linux-tdep.o with amd64-tdep.o and amd64-linux-tdep.o. (TM_FILE): Set to tm-linux64.h. * config/i386/linux64.mh: Renamed from x86-64linux.mh. (NAT_FILE): Set to nm-linux64.h. (NATDEPFILES): Replace x86-64-linux-nat.o with amd64-linux-nat.o. * config/i386/fbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with amd64-tdep.o. * config/i386/nbsd64.mt (TDEPFILES): Replace x86-64-tdep.o with amd64-tdep.o. * config/i386/obsd64.mt (TDEPFILES): Replace x86-64-tdep.o with amd64-tdep.o.
2004-02-25.Roland McGrath2-6/+23
2004-02-252004-02-25 Roland McGrath <roland@redhat.com>Roland McGrath3-9/+62
* target.h (struct target_ops): New member `read_auxv'. * server.c (handle_query): Handle qPart:auxv:read: query using that. * linux-low.c (linux_read_auxv): New function. (linux_target_ops): Initialize `read_auxv' member to that.
2004-02-252004-02-25 Roland McGrath <roland@redhat.com>Roland McGrath1-56/+117
* remote.c (remote_protocol_qPart_auxv): New variable. (init_all_packet_configs): Initialize it. (set_remote_protocol_qPart_auxv_packet_cmd): New function. (show_remote_protocol_qPart_auxv_packet_cmd): New function. (show_remote_cmd): Call it. (_initialize_remote): Initialize commands. (remote_xfer_partial): If enabled, use qPart:auxv:read:... query to service TARGET_OBJECT_AUXV requests.
2004-02-25 * configure.in: Make sure that the wborder function is available.Joel Brobecker3-429/+562
Otherwise, search for it in the cur_colr library. * configure: Regenerate.
2004-02-252004-02-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-99/+119
* hppa-tdep.c (hppa32_push_dummy_call): Rewrite.
2004-02-25.Roland McGrath1-1/+5
2004-02-252004-02-25 Roland McGrath <roland@redhat.com>Roland McGrath1-4/+80
* gdb.texinfo (General Query Packets): Document qPart:... packets.
2004-02-25* config/i386/tm-x86-64linux.h: Tweak comments.Mark Kettenis2-3/+7
2004-02-25Fix date in last commit...sigh.Richard Sandiford1-1/+1
2004-02-25 * MAINTAINERS: Add self to write-after-approval list.Richard Sandiford1-0/+4
2004-02-252004-02-25 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-10/+20
PR cli/1566. Problem found, and fix suggested by David Allan. * cli/cli-script.c (execute_control_command): Unconditionally install a cleanup. Default "ret" to "invalid_control". Use "break" instead of "return" to escape from the switch.
2004-02-25Add self.Richard Sandiford1-0/+1
2004-02-25 * tui/tui-disasm.c: %s/lines/asm_lines/g to avoid a collisionJoel Brobecker3-42/+61
with the lines macro defined in term.h on AiX. * tui/tui-regs.c: %s/label_width/tui_label_width/g, to avoid a collision with the label_width macro defined in term.h on AiX.
2004-02-25*** empty log message ***gdbadmin1-1/+1
2004-02-242004-02-24 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-11/+8
* gdb.base/corefile.exp: Use gdb_test_multiple, make "accessing mmapped data in core file" PASS and FAIL messages consistent.
2004-02-24Remove merge conflict characters.Kevin Buettner1-1/+0
2004-02-242004-02-23 David Mosberger <davidm@hpl.hp.com>Kevin Buettner4-2/+37
Committed by Kevin Buettner <kevinb@redhat.com>. * ia64-tdep.h (ia64_write_pc, ia64_linux_write_pc): Declare. * ia64-tdep.c (ia64_write_pc): Make it a global function. (ia64_gdbarch_init): For Linux targets, use ia64_linux_write_pc() instead of ia64_write_pc(). * ia64-linux-tdep.c (regcache.h): Include. (ia64_linux_write_pc): New function.
2004-02-242004-02-24 Andrew Cagney <cagney@redhat.com>Andrew Cagney2-1/+8
* gdb.java/jmisc.exp: Use the fully quallified name of "main" when setting a breakpoint. Work around PR java/1565.