aboutsummaryrefslogtreecommitdiff
path: root/gdb
AgeCommit message (Collapse)AuthorFilesLines
2000-08-072000-08-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni1-1/+1
* objfiles.h (SECT_OFF_BSS): Don't detect invalid sect_index_bss here, let the users of the macro do it. * symtab.h (ANOFFSET): Detect here if the section index is not initialized. * xcoffread.c (find_targ_sec): Don't treat .bss as special, because some objfiles may not have that section at all. * coffread.c (cs_to_section): Ditto. * elfread.c (elf_symtab_read): Detect an uninitialized index value. (elfstab_offset_sections): The macro ANOFFSET cannot be used as an lvalue anymore. * remote.c (get_offsets, remote_cisco_objfile_relocate): Don't use ANOFFSET as an lvalue. * objfiles.c (objfile_relocate, objfile_relocate): Don't use ANOFFSET as an lvalue. * symfile.c (default_symfile_offsets): Don't use ANOFFSET as an lvalue.
2000-08-072000-08-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni8-20/+52
* objfiles.h (SECT_OFF_BSS): Don't detect invalid sect_index_bss here, let the users of the macro do it. * symtab.h (ANOFFSET): Detect here if the section index is not initialized. * xcoffread.c (find_targ_sec): Don't treat .bss as special, because some objfiles may not have that section at all. * coffread.c (cs_to_section): Ditto. * elfread.c (elf_symtab_read): Detect an uninitialized index value. (elfstab_offset_sections): The macro ANOFFSET cannot be used as an lvalue anymore. * remote.c (get_offsets, remote_cisco_objfile_relocate): Don't use ANOFFSET as an lvalue. * objfiles.c (objfile_relocate, objfile_relocate): Don't use ANOFFSET as an lvalue. * symfile.c (default_symfile_offsets): Don't use ANOFFSET as an lvalue.
2000-08-07parse.c (build_parse): don't write off the end of the std_regs array.David Taylor2-12/+29
2000-08-07* solib.c (bfd_lookup_symbol): Fall back on the dynamic symbolMark Kettenis2-2/+36
table if the symbol couldn't be found in the normal symbol table (i.e. if the shared object in question was stripped).
2000-08-07Protoize ch-exp.c, core-regset.c.Kevin Buettner3-12/+16
2000-08-06Minor reformat.Christopher Faylor1-2/+2
2000-08-06* win32-nat.c: Perform various gcc warning cleanups.Christopher Faylor5-129/+155
(safe_symbol_file_add_cleanup): Reset stdout to saved stdout, not stderr. (dll_symbol_command): Pass OBJF_USERLOADED to safe_symbol_file_add. (get_child_debug_event): Always reset last_sig. Always reset inferior pid appropriately. (do_initial_child_stuff): New function. Called when attaching or starting a new inferior process. (child_attach): Use do_initial_child_stuff. (child_create_inferior): Ditto. * config/i386/cygwin.mh (NAT_FILE): Set to modern location. * config/i386/tm-cygwin.h: Define ATTACH_NO_WAIT.
2000-08-06 * go32-nat.c: (go32_wait): If child_cwd[] is empty, initializeEli Zaretskii2-2/+23
it to GDB's current directory. (go32_create_inferior, init_go32_ops): Initialize child_cwd[] to an empty string, to signal an uninitialized value. From Robert Hoehne <robert.hoehne@gmx.net>.
2000-08-04Fixup SYMBOL_SECTION for objfiles_relocate().Kevin Buettner4-12/+33
2000-08-04Add code for (re)building the minimal symbol hash tables.Kevin Buettner2-11/+46
2000-08-04Fix date in comment.Kevin Buettner1-1/+1
2000-08-04DWARF2.1 64-bit support.Kevin Buettner2-17/+142
2000-08-04Re-implement ``set/show remote Z-packet ...'' commands so that each ZAndrew Cagney3-150/+436
packet sub-type can be explicitly controled.
2000-08-04Revert SER_HARDWIRE regression.Andrew Cagney2-3/+9
2000-08-04Missing GDBARCH updates for EXTRA_STACK_ALIGNMENT needed.Andrew Cagney1-0/+30
2000-08-04Multi-arch EXTRA_STACK_ALIGNMENT_NEEDED (nee NO_EXTRA_ALIGNMENT_NEEDED).Andrew Cagney6-21/+49
2000-08-03Stephane Carrez maintainer of 68hc11 targetStephane Carrez2-1/+5
2000-08-03Protoization.Kevin Buettner2-9/+8
2000-08-03Thu Aug 3 15:02:23 2000 Andrew Cagney <cagney@b1.cygnus.com>Andrew Cagney2-5/+11
* remote-mips.c (mips_expect, mips_expect_timeout, common_open, fputs_readable): Make string pointer arguments constant.
2000-08-03Minor tweeks.Andrew Cagney3-3/+15
2000-08-03List things for 5.1.Andrew Cagney2-108/+214
2000-08-03Protoization.Kevin Buettner2-4/+6
2000-08-03* gdb.hp/gdb.aCC/namespace.exp: Remove. Moved to gdb.c++.Jimmy Guo2-296/+0
* gdb.hp/gdb.aCC/namespace.cc: Remove. Moved to gdb.c++.
2000-08-02* gdbarch.sh: Add print_p field for CALL_DUMMY_BREAKPINT_OFFSETJimmy Guo3-4/+12
to be printed only if CALL_DUMMY_BREAKPOINT_OFFSET_P. * gdbarch.c: Regenerated.
2000-08-02* gdb.base/sizeof.c: include <stdio.h>.Jimmy Guo2-0/+10
2000-08-02* gdb.c++/classes.exp: Use gdb_test instead of send_gdb toJimmy Guo1-1/+1
'finish', otherwise uncaptured gdb_prompt would potentially throw remaining test points out of sync.
2000-08-022000-08-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-3/+7
* remote-vx.c (vx_add_symbols): Fix typos.
2000-08-02Thu Jul 27 17:38:35 2000 Andrew Cagney <cagney@b1.cygnus.com>Andrew Cagney8-57/+115
* configure.in (targetfile): Ignore TM_FILE, don't just issue warning. (tm_h, xm_h, nm_h, GDB_TM_FILE, GDB_XM_FILE, GDB_NM_FILE): Define. * acconfig.h (GDB_XM_FILE, GDB_TM_FILE, GDB_NM_FILE): Add. * config/nm-empty.h: Delete. * defs.h (xm.h, nm.h, tm.h): Only include when GDB_XM_FILE, GDB_NM_FILE or GDB_TM_FILE defined. * Makefile.in (defs_h): Replace tm.h, xm.h and nm.h with tm_h, xm_h and nm_h macro that are defined by configure. (tm_h, xm_h, tm_h): New. * configure, config.in: Regenerate * TODO: Update.
2000-08-02Multi-arch REGISTER_SIM_REGNO. Update d10v.Andrew Cagney9-20/+86
2000-08-02Use add_set_auto_boolean_cmd() to implement ``set remote ?-packet''Andrew Cagney3-54/+26
command.
2000-08-02Update function signatures to match target vector.Andrew Cagney3-4/+11
2000-08-02Updates.Andrew Cagney2-0/+23
2000-08-012000-08-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni6-12/+66
* gdbarch.sh: Multiarch DO_REGISTERS_INFO macro. * gdbarch.h, gdbarch.c: Regenerate. * infcmd.c (do_registers_info): Make not static and unconditionalize. * inferior.h (do_registers_info): Export.
2000-08-012000-08-01 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-0/+5
* MAINTAINERS: Add myself to "Write After Approval" list.
2000-08-01Update list of target maintainers.Andrew Cagney2-15/+81
Elena gets SH Nick gets to share PPC.
2000-08-01Copy comments from gdbarch.sh to gdbarch.h. Fix a number of K&R params.Andrew Cagney3-59/+115
2000-08-01* top.c (get_prompt_1), tracepoint.c (replace_comma): UpdateAndrew Cagney3-4/+15
function signatures so that they match catch_errors and make_cleanup callbacks. * tracepoint.c (encode_actions): Fix arguments passed to stringify_collection_list.
2000-07-31Make GNU/Linux/PPC work again.Kevin Buettner22-107/+287
2000-07-312000-07-31 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni3-4/+11
* sh-tdep.c (sh_push_arguments): Make header match prototype. * remote-e7000.c (e7000_start_remote): Use void *, not char * as parameter to avoid compiler warning. (fetch_regs_from_dump): Call get_hex() with the correct number of parameters.
2000-07-31 * config/djgpp/fnchange.lst: Add file mappings as per last weeklyEli Zaretskii2-0/+207
snapshot.
2000-07-30Protoization.Kevin Buettner284-13265/+5720
2000-07-282000-07-26 Scott Bambrough <scottb@netwinder.org>Scott Bambrough4-14/+19
* gdb.base/recurse.exp: Run tests for all targets. * gdb.base/so-impl-ld.exp: Added wildcard to handle the gnu-oldld case on ARM. * gdb.base/watchpoint.exp (test_stepping): Clear xfail for ARM targets.
2000-07-282000-07-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni2-0/+79
* sh-tdep.c (sh_gdbarch_init): For sh4 initialize register_convert_to_raw, register_convert_to_virtual, register_convertible. (sh_sh4_register_convertible): New function. (sh_sh4_register_convert_to_virtual): New function. (sh_sh4_register_convert_to_raw): New function. Include floatformat.h.
2000-07-27From 2000-06-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:Andrew Cagney4-0/+778
* configure.tgt: Recognize the 68hc11. * m68hc11-tdep.c: New file for 68hc11 target. * config/m68hc11/m68hc11.mt: New file for 68hc11 port. * configure.tgt: When 68hc11, set gdb_multi_arch.
2000-07-27Move GDB_MULTI_ARCH selection to configure*. Makes tm.h optional.Andrew Cagney9-179/+285
2000-07-272000-07-26 Jimmy Guo <guo@cup.hp.com>Michael Snyder4-0/+6
* config/convex/tm-convex.h: Remove stray control characters. * config/m68k/tm-altos.h: Ditto. * config/tahoe/tm-tahoe.h: Ditto.
2000-07-262000-07-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni3-42/+53
* sh-tdep.c (sh_sh4_register_name, sh_sh4_register_byte, sh_sh4_register_raw_size, sh_sh4_register_virtual_type, sh_fetch_pseudo_register, sh_store_pseudo_register, sh_do_pseudo_register, sh_gdbarch_init): Fix names for pseudoregs, they should be numbered as drx fvy where x and y are multiples of 2 and 4 respectively. * config/sh/tm-sh.h: Fix names of pseudo regs.
2000-07-242000-07-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com>Elena Zannoni3-56/+494
* config/sh/tm-sh.h (struct gdbarch_tdep): Add sh4 specific pseudo registers. (DO_REGISTERS_INFO): Define. * sh-tdep.c (sh_sh4_register_name): New function. (sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update signature. (sh_show_regs_command): New function. Actual function called by the 'regs' command. (sh_register_byte): Rename to... (sh_default_register_byte): ...New function. (sh_sh4_register_byte): New function. (sh_register_raw_size): Rename to... (sh_default_register_raw_size): ...New function. (sh_sh4_register_raw_size): New function. (sh_sh4_register_virtual_type): New function. (sh_sh4_build_float_register_type): New function. (sh_fetch_pseudo_register, sh_store_pseudo_register): New functions. (fv_reg_base_num, dr_reg_base_num): New functions. (do_fv_register_info, do_dr_register_info, sh_do_pseudo_register, sh_do_fp_register, sh_do_register, sh_print_register, sh_do_registers_info): New functions. (sh_gdbarch_init): Initialize sh4 pseudo registers to -1. Update architecture specific parts. (_initialize_sh_tdep): Use sh_show_regs_command for 'regs' command.
2000-07-24 * printcmd.c (printf_command): Guard against 0-length string.Michael Snyder1-1/+2
----------------------------------------------------------------------
2000-07-24*** empty log message ***Jim Blandy1-0/+6