aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2001-11-24* gdb.asm/configure.in: Fix recognition of ix86 target.Mark Kettenis3-2/+7
* gdb.asm/configure: Regenerate.
2001-11-24*** empty log message ***gdbadmin1-1/+1
2001-11-23Add x86 OpenBSD native configuration.Mark Kettenis8-0/+215
* config/i386/obsd.mt, config/i386/tm-obsd.h, config/i386/obsd.mh, config/i386/nm-obsd.h: New files. * configure.host (i[3456]86-*-openbsd*): New host. * configure.tgt (i[3456]86-*-openbsd*): New target. * NEWS: Update.
2001-11-23*** empty log message ***gdbadmin1-1/+1
2001-11-22Mention 5.1 release.Andrew Cagney1-0/+4
2001-11-222001-11-21 Michael Snyder <msnyder@redhat.com>Michael Snyder5-9/+59
* gdb.asm/m32r.inc: New file. * gdb.asm/asm-source.exp: Recognize m32r target. * gdb.asm/configure.in: Recognize m32r target. * gdb.asm/configure: Regenerate.
2001-11-222001-11-20 Michael Snyder <msnyder@redhat.com>Michael Snyder5-0/+42
* gdb.asm/i386.inc: New file. * gdb.asm/asm-source.exp: Recognize ix86 target. * gdb.asm/configure.in: Recognize ix86 target. * gdb.asm/configure: Regenerate.
2001-11-22 Fix for PR gdb/209, PR gdb/156:Tom Tromey11-28/+268
* gdbarch.c, gdbarch.h: Rebuilt. * gdbarch.sh: Added `construct_inferior_arguments'. * cli/cli-decode.h (cmd_list_element): Added pre_show_hook. Typo fix. * cli/cli-setshow.c (do_setshow_command): Call the pre_show_hook. * infcmd.c (_initialize_infcmd): Set sfunc on `set args' command. (inferior_argc, inferior_argv): New globals. (notice_args_set): New function. (set_inferior_args): Clear inferior_argc and inferior_argv. (set_inferior_args_vector): New function. (get_inferior_args): Handle inferior argument vector. (run_command): Use get_inferior_args(). (notice_args_read): New function. (_initialize_infcmd): Don't call set_inferior_args. * command.h: Typo fix. (cmd_list_element): Added pre_show_hook. * main.c (captured_main): Added --args option. (print_gdb_help): Document --args. * inferior.h (construct_inferior_arguments): Declare. (set_inferior_args_vector): Likewise. * fork-child.c (construct_inferior_arguments): New function.
2001-11-22 * gdb.texinfo (Invoking GDB): Document --args.Tom Tromey2-0/+20
(Mode Options): Likewise.
2001-11-22*** empty log message ***gdbadmin1-1/+1
2001-11-21* gdbint.texinfo (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT):Jim Blandy2-9/+6
Delete documentation; this macro has been removed from the sources.
2001-11-21Fix two ``attach'' related bugs involving threads.Kevin Buettner2-0/+25
2001-11-21* target.h (TARGET_RANGE_PROFITABLE_FOR_HW_WATCHPOINT): DeleteJim Blandy2-11/+5
default definition; this is never used.
2001-11-212001-11-20 Michael Snyder <msnyder@redhat.com>Michael Snyder2-3/+7
* gdb.c++/namespace.exp: Fix quotes in output messages.
2001-11-212001-11-14 Michael Snyder <msnyder@redhat.com>Michael Snyder2-0/+401
* gdb.base/code-exprs.exp: New file. Tests use of the "@code" qualifier in a type cast expression, to designate an address in the instruction space (Harvard architecture).
2001-11-21*** empty log message ***gdbadmin1-1/+1
2001-11-20 * varobj.c (c_value_of_child): Release memory for "name" whenKeith Seitz2-2/+15
finshed using it. (c_type_of_child): Likewise. (cplus_value_of_child): Isolate the use of name_of_child to one case that needs it. Release memory for "name" when finished using it.
2001-11-20 * top.c (gdb_init): Call init_ui_hook before initializingKeith Seitz2-4/+14
the default UI.
2001-11-202001-11-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-0/+6
* config/powerpc/nm-linux.h (ppc_register_u_addr): Add extern declaration.
2001-11-20 2001-11-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-9/+8
* ppc-linux-nat.c (COPY_REG): Use regcache_collect instead of accessing registers[]. (fill_fpregset): Ditto.
2001-11-20*** empty log message ***gdbadmin1-1/+1
2001-11-192001-11-19 Elena Zannoni <ezannoni@redhat.com>Elena Zannoni2-2/+15
* infptrace.c (fetch_register): Dynamically allocate buffer for register. (store_register): Use regcache_collect, instead of accessing the register buffer directly.
2001-11-19 * mips-tdep.c (find_proc_desc): Add cur_frame argument. PassDaniel Jacobowitz2-10/+30
cur_frame to heuristic_proc_desc. (heuristic_proc_desc): Add cur_frame argument. Do not read SP if cur_frame == 0. (after_prologue): Pass cur_frame == 0 to find_proc_desc. (mips_frame_chain): Pass cur_frame == 1 to find_proc_desc. (mips_init_extra_frame_info): Likewise.
2001-11-19* defs.h (return_to_top_level): Comment.Andrew Cagney2-0/+19
2001-11-19Use ISO C long strings.Andrew Cagney2-9/+14
2001-11-19 * varobj.c (c_value_of_child): Use the wrapper function,Keith Seitz2-6/+13
gdb_value_struct_elt. (cplus_value_of_child): Likewise.
2001-11-19*** empty log message ***gdbadmin1-1/+1
2001-11-18* i386-tdep.c (i386_gdbarch_init): Initialize num_regs.Andrew Cagney3-2/+9
* config/i386/tm-i386.h (NUM_REGS): Delete.
2001-11-18 * i386-linux-nat.c (fill_gregset): Fix botched regcache_collect()Kevin Buettner2-1/+6
conversion for I386_LINUX_ORIG_EAX_REGNUM.
2001-11-18Zap config/i386/tm-embed.h.Andrew Cagney3-27/+6
2001-11-18Zap files in gdb/gdbserver/Andrew Cagney2-0/+10
2001-11-18doco more build probs.Andrew Cagney2-12/+31
2001-11-18 * i386-linux-nat.c (fill_gregset): Use regcache_collect() insteadKevin Buettner2-3/+7
of accessing registers[] directly.
2001-11-18*** empty log message ***gdbadmin1-1/+1
2001-11-17 * i386-linux-nat.c (fill_gregset): Don't invoke read_register_gen()Kevin Buettner2-1/+7
when fetching ORIG_EAX.
2001-11-17 * arm-linux-nat.c: Don't include <asm/ptrace.h>.Daniel Jacobowitz2-18/+24
(fetch_register): Use elf_gregset_t instead of struct pt_regs. (fetch_regs): Likewise. (store_register): Likewise. (store_regs): Likewise.
2001-11-17 * sparc-linux-nat.c (fill_gregset): Replace read_register_genDaniel Jacobowitz2-9/+15
with regcache_collect. (fill_fpregset): Likewise.
2001-11-17 * Makefile.in: Add mips-linux-nat.c, mips-linux-tdep.c,Daniel Jacobowitz4-2/+117
and sparc-linux-nat.c to ALLDEPFILES. Add dependencies. * config/sparc/linux.mh: Add sparc-linux-nat.o to NATDEPFILES. * sparc-linux-nat.c: New file, from Mark Kettenis.
2001-11-17 * dwarf2read.c (dwarf_str_buffer): New.Jakub Jelinek2-30/+69
(struct dwarf2_pinfo): Add dwarf_str_buffer and dwarf_str_size. (DWARF_STR_BUFFER, DWARF_STR_SIZE): Define. (dwarf2_has_info): Clear dwarf_str_offset. (dwarf2_build_psymtabs): Read .debug_str section if present. (dwarf2_build_psymtabs_hard): Save DWARF_STR_BUFFER and DWARF_STR_SIZE. (psymtab_to_symtab_1): Restore DWARF_STR_BUFFER and DWARF_STR_SIZE. (read_attribute): Handle DW_FORM_strp. (read_n_bytes, read_string): Remove HOST_CHAR_BIT != 8 handling code. (read_indirect_string): New. (dump_die): Handle DW_FORM_strp.
2001-11-17*** empty log message ***gdbadmin1-1/+1
2001-11-16* s390-tdep.c: Tweak argument-passing to match GCC bugs.Jim Blandy2-14/+85
(is_float_singleton, is_struct_like, is_float_like): New functions, that isolate the weirdness. (is_double_or_float, is_simple_arg, pass_by_copy_ref, is_double_arg): Use is_struct_like and is_float_like, rather than testing the type codes ourselves. (s390_push_arguments): When passing args on the stack, align each on to a four-byte boundary, regardless of what the type itself needs.
2001-11-162001-11-16 Ben Harris <bjh21@netbsd.org>Ben Harris2-3/+12
* Makefile.in (os9kread.o): Replace $< with autoconf-approved $(srcdir)/.... (procfs.o): Ditto. (z8k-tdep.o): Ditto.
2001-11-162001-11-16 Ben Harris <bjh21@netbsd.org>Ben Harris2-0/+5
* MAINTAINERS (write-after-approval): Add self.
2001-11-16* s390-tdep.c (is_simple_arg): Structs and unions exactly eightJim Blandy2-2/+11
bytes long should be handled as DOUBLE_ARGs; don't recognize them as SIMPLE_ARGs.
2001-11-16*** empty log message ***gdbadmin1-1/+1
2001-11-15* remote.c (struct packet_reg): Declare.Andrew Cagney2-59/+134
(struct remote_state): Add fields sizeof_g_packet and g_packet. (init_remote_state): Initialize sizeof_g_packet and g_packet. (free_remote_state): Free g_packet. (packet_reg_from_pnum, packet_reg_by_regnum): New functions. (remote_wait): Use above instead of gdbarch methods REGISTER_RAW_SIZE and REGISTER_BYTES. (remote_async_wait): Ditto. (remote_fetch_registers, remote_store_registers): Ditto. (store_register_using_P): Ditto.
2001-11-15Really zap tty_input from multi-arch swap.Andrew Cagney2-1/+5
2001-11-15Correctly handle phex(*,0) and phex_nz(*,0).Andrew Cagney2-2/+6
2001-11-15* utils.c (phex_nz): For default case, set str to phex_nz returnAndrew Cagney2-2/+10
value.
2001-11-15* TODO (register_buffer): Delete.Andrew Cagney6-18/+48
* regcache.c (register_buffer): Make static. (regcache_collect): New function. * regcache.h (register_buffer): Delete declaration. (regcache_collect): Declare. * remote.c (store_register_using_P): Rewrite using regcache_collect. (remote_store_registers): Ditto. * go32-nat.c (store_register): Ditto.