aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2001-01-30Handle hppa64-linux systems.Alan Modra2-0/+6
2001-01-282001-01-28 Michael Chastain <chastain@redhat.com>Michael Chastain1-428/+194
* gdb.c++/ovldbreak.exp (take_gdb_out_of_choice_menu): New proc to call when tests fail. It takes gdb out of the overloaded function choice menu back to the main prompt, so that the test program stays synchronized. (set_bp_overloaded): New proc to collect all the common code for setting a breakpoint on an overloaded name. Calls take_gdb_out_of_choice_menu when needed. (menu_overload1arg): New variable to collect the repeated instances of the expected menu for an overloaded name. Change the regular expression to handle changes in g++ type encoding: "void" can be either "void" or "", and "unsigned int" can be either "unsigned int" or "unsigned". (continue_to_bp_overloaded): Change regular expressions to handle changes in g++ type encoding. (no proc): Call take_gdb_out_of_choice_menu when needed. Remove redundant calls to "info break". Accept either "canceled" or "cancelled". Change regular expressions in "info break" calls to handle changes in g++ type encoding. Give all tests unique strings.
2001-01-272001-01-27 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-1/+7
From Momchil Velikov <velco@fadata.bg> * mi-cmd-disas.c (gdb_dis_asm_read_memory): Add missing memory attributes argument in the call to `xfer_memory'.
2001-01-27 * basic_blocks.c: #include <unistd.h> only if it exists.Michael Sokolov2-1/+7
2001-01-27 * ltcf-cxx.sh (ac_cv_prog_cc_pic_works, ac_cv_prog_cc_static_works):Michael Sokolov2-3/+8
Don't unset, it's non-portable and no longer necessary, set to empty instead.
2001-01-27 * ltconfig: Shell portability fix for the tagname validity check.Michael Sokolov2-2/+8
2001-01-27* win32-nat.c (child_xfer_memory): Add missing argument required by 2001-01-23Christopher Faylor3-2/+9
change.
2001-01-27 * ltcf-cxx.sh: Use parentheses around eval $ac_compile.Michael Sokolov2-1/+5
2001-01-27* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.Alexandre Oliva4-2/+25
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.
2001-01-27* ui-out.c (do_list_end): New function.Mark Kettenis4-2/+31
(make_cleanup_ui_out_list_end): New function. * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end. * stack.c (print_frame) [UI_OUT]: Call make_cleanup_ui_out_list_end to make sure we mark the end of the list if we do a non-local exit. At the end of the function, instead of calling ui_out_list_end directly, let do_cleanups handle it.
2001-01-27Remove extraneous tab from the blank line after the most recent entryMichael Sokolov1-1/+1
2001-01-272001-01-26 Fernando Nasser <fnasser@redhat.com>Fernando Nasser14-71/+183
Fix double parsing of filenames passed as command line arguments to GDB (causes weird handling of escape characters). Also, remove dependencies on the CLI from libgdb. * call-cmds.h: Remove declaration of exec_file_command(). * gdbcore.h: Remove declaration of exec_file_command(). Add declarations for exec_open() and exec_file_clear(). * symfile.h: Add declarations for symbol_file_add_main() and symbol_file_clear(). * exec.c (exec_open): New function. Implements to_open for exec targets. (exec_file_clear): New function. Makes GDB forget about a previously specified executable file. (exec_file_attach): Move parsing of arguments from here ... (exec_file_command): ... to here. (init_exec_ops): Use exec_open(), not exec_file_command() to implement to_open for exec targets. * symfile.c (symbol_file_add_main): New function. Call symbol_file_add() with default values. Used when the file name has already been parsed. (symbol_file_clear): New function. Makes GDB forget about previously read symbols. (symbol_file_command): Call the above function instead of inline code. * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated "call-cmds.h". (captured_main): Call exec_file_attach() and symbol_file_add_main() instead of exec_file_command() and symbol_file_command(). (captured_main): Add comment. * corefile.c: Include "symfile.h". (core_file_command): Call symbol_file_add_main() instead of symbol_file_command(). (reopen_exec_file): Call exec_open() instead of exec_file_command(). * infcmd.c: Include "symfile.h". (attach_command): Call symbol_file_add_main() instead of symbol_file_command(). * infrun.c: Remove comment about the inclusion of "symfile.h", not any longer appropriate. (follow_exec): Call symbol_file_add_main() instead of symbol_file_command(). * remote-es.c: Include "symfile.h". (es1800_load): Call symbol_file_add_main() instead of symbol_file_command(). * remote-vx.c: Remove comment about the inclusion of "symfile.h", not any longer appropriate. (vx-wait): Call symbol_file_add_main() instead of symbol_file_command(). * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main() instead of symbol_file_command(). * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and symbol_file_add_main() instead of exec_file_command() and symbol_file_command(). * Makefile.in: Update dependencies.
2001-01-27 * elfxx-ia64.c (elfNN_ia64_dynamic_symbol_p): Return falseRichard Henderson3-9/+42
for non-default visibility. * elf64-alpha.c (alpha_elf_dynamic_symbol_p): Likewise, but delete ugly macro and replace with pretty function.
2001-01-262001-01-24 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb12-33/+29
* remote-udi.c (udi_open): Change strdup to xstrdup. * thread.c (thread_apply_all_command): Change strdup to xstrdup. Update copyright message. * varobj.c (delete_variable_1): Likewise. * gdb_string.h: Remove declaration of strdup. Update copyright message. * config/xm-mpw.h: Likewise. * config/i386/xm-i386mach.h: Likewise. * config/m68k/xm-apollo68b.h: Likewise. * config/m68k/xm-hp300bsd.h: Likewise. * config/rs6000/xm-rs6000.h: Likewise. * config/vax/xm-vaxult.h: Remove declaration of strdup. * config/vax/xm-vaxult2.h: Likewise.
2001-01-262001-01-26 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2-0/+5
* MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
2001-01-26* target.c (target_xfer_memory_partial): Return -1 on failure dueJ.T. Conklin2-2/+7
to invalid access mode attribute.
2001-01-25* win32-nat.c (_initialize_core_win32): Prototype correctly.Christopher Faylor3-2/+6
2001-01-25DJGPP config tweaksNick Clifton3-7/+15
2001-01-25Do not abort if tcbit is still set. Issue an error message instead.Nick Clifton2-4/+20
Fix compile time warnings
2001-01-252001-01-25 Kazu Hirata <kazu@hxi.com>Kazu Hirata3-123/+108
* bfd-in2.h: Fix formatting. * libbfd.h: Likewise.
2001-01-252001-01-25 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-13/+23
* chew.c: Do not output trailing whitespaces in type and functionname. Update copyright.
2001-01-25* config/alpha/tm-fbsd.h: Update copyright.Mark Kettenis4-2/+69
(USE_STRUCT_CONVENTION): Define in terms of alphabsd_use_struct_convention. * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c. * alphafbsd-tdep.c: New file.
2001-01-252001-01-24 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2-1/+5
* top.c (print_gdb_version): Update Copyright year.
2001-01-25(lang_leave_overlay): Don't set lma_region when load_base is specified.Alan Modra2-2/+11
2001-01-242001-01-24 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-0/+8
* chew.c: Do not output a trailing whitespace.
2001-01-24* dcache.c (dcache_write_line): Fix typo.J.T. Conklin4-7/+22
* memattr.c (delete_mem_region): Replace free() with xfree(). (mem_number): Add explicit type. * sol-thread.c (sol_thread_xfer_memory): Add attrib argument. (rw_common): Likewise.
2001-01-24* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure weAlexandre Oliva2-2/+20
keep at least one of build_libtool_libs or build_old_libs set to yes.
2001-01-242001-01-24 Fernando Nasser <fnasser@redhat.com>Fernando Nasser3-7/+34
* infcmd.c (get_inferior_args, set_inferior_args): Accessor functions for the inferior program arguments. (run_command, run_no_args_command, init_infcmd)): Use accessor functions to set the inferior program arguments. * inferior.h: Add definitions to the accessor functions above.
2001-01-24* interp.c (trap): Implement time.Alexandre Oliva2-0/+7
2001-01-24Fix swapgs instruction.Alan Modra2-3/+7
2001-01-24 * emultempl/elf32.em: Correct spelling in comments and listedHans-Peter Nilsson2-8/+13
options.
2001-01-242001-01-23 H.J. Lu <hjl@gnu.org>H.J. Lu2-60/+72
* bfd-in2.h: Rebuild.
2001-01-24Don't check for backslashes in file namesAlan Modra2-32/+40
unless HAVE_DOS_BASED_FILE_SYSTEM is defined.
2001-01-24* stabs.c: Update copyright. Include "filenames.h".Alan Modra2-15/+10
(parse_stab): Use IS_ABSOLUTE_PATH. Ignore N_WARNING stabs.
2001-01-24* ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.Alexandre Oliva3-4/+10
* libtool.m4 (_AC_LIBTOOL_GCJ): Pass $CPPFLAGS on.
2001-01-24* lin-lwp.c (lin_lwp_xfer_memory): Add attrib argument.J.T. Conklin3-2/+6
* thread-db.c (thread_db_xfer_memory): Likewise.
2001-01-24* dwarf2read.c (read_tag_const_type, read_tag_volatile_type):Jim Blandy2-4/+13
Implement these correctly, using make_cv_type.
2001-01-23* exec.c (xfer_memory): Add attrib argument.J.T. Conklin32-179/+1116
* infptrace.c (child_xfer_memory): Likewise. * monitor.c (monitor_xfer_memory): Likewise. * remote-adapt.c (adapt_xfer_inferior_memory): Likewise. * remote-array.c (array_xfer_memory): Likewise. * remote-bug.c (bug_xfer_memory): Likewise. * remote-e7000.c (e7000_xfer_inferior_memory): Likewise. * remote-eb.c (eb_xfer_inferior_memory): Likewise. * remote-es.c (es1800_xfer_inferior_memory): Likewise. * remote-mips.c (mips_xfer_memory): Likewise. * remote-mm.c (mm_xfer_inferior_memory): Likewise. * remote-nindy.c (nindy_xfer_inferior_memory): Likewise. * remote-os9k.c (rombug_xfer_inferior_memory): Likewise. * remote-rdi.c (arm_rdi_xfer_memory): Likewise. * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise. * remote-sds.c (sds_xfer_memory): Likewise. * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise. * remote-st.c (st2000_xfer_inferior_memory): Likewise. * remote-udi.c (udi_xfer_inferior_memory): Likewise. * remote-vx.c (vx_xfer_memory): Likewise. * remote.c (remote_xfer_memory): Likewise. * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise. * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise. * target.h (#include "memattr.h"): Added. (target_ops.to_xfer_memory): Add attrib argument. * wince.c (_initialize_inftarg): Removed call to set_dcache_state. * dcache.h (set_dcache_state): Removed declaration. * dcache.c (set_dcache_state): Removed definition * dcache.c: Update module comment, as dcache is now enabled and disabled with memory region attributes instead of by the global variable "remotecache". Add comment describing the interaction between dcache and memory region attributes. (dcache_xfer_memory): Add comment describing benefits of moving cache writeback to a higher level. (dcache_struct): Removed cache_has_stuff field. This was used to record whether the cache had been accessed in order to invalidate it when it was disabled. However, this is not needed because the cache is write through and the code that enables, disables, and deletes memory regions invalidate the cache. Add comment which suggests that we could be more selective and only invalidate those cache lines containing data from those memory regions. (dcache_invalidate): Updated. (dcache_xfer_memory): Updated. (dcache_alloc): Don't abort() if dcache_enabled_p is clear. (dcache_xfer_memory): Removed code that called do_xfer_memory() to perform a uncached transfer if dcache_enabled_p was clear. This function is now only called if caching is enabled for the memory region. (dcache_info): Always print cache info. * target.c (do_xfer_memory): Add attrib argument. (target_xfer_memory, target_xfer_memory_partial): Break transfer into chunks defined by memory regions, pass region attributes to do_xfer_memory(). * dcache.c (dcache_read_line, dcache_write_line): Likewise. * Makefile.in (SFILES): Add memattr.c. (COMMON_OBS): Add memattr.o. (dcache.o): Add target.h to dependencies. * memattr.c: New file. * memattr.h: Likewise.
2001-01-232001-01-23 Kazu Hirata <kazu@hxi.com>Kazu Hirata6-11/+19
* as.c: Fix formatting. * ehopt.c: Likewise. * messages.c: Likewise. * stabs.c: Likewise. * symbols.c: Likewise.
2001-01-232001-01-23 H.J. Lu <hjl@gnu.org>H.J. Lu2-1/+7
* vms-misc.c (_bfd_vms_next_record): Return -1 if PRIV(vms_buf) is NULL or PRIV(vms_rec) is outside of the buffer.
2001-01-232001-01-23 Kazu Hirata <kazu@hxi.com>Kazu Hirata15-150/+127
* aoutx.h: Fix formatting. * bfd.c: Likewise. * bfd-in2.h: Likewise. * bfd-in.h: Likewise. * cpu-i386.c: Likewise. * cpu-m68hc11.c: Likewise. * dwarf2.c: Likewise. * elf64-x86-64.c: Likewise. * format.c: Likewise. * freebsd.h: Likewise. * hash.c: Likewise. * hp300hpux.c: Likewise. * hppabsd-core.c: Likewise. * hpux-core.c: Likewise.
2001-01-23* config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.J.T. Conklin12-612/+746
* config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise. * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise. * gdbserver/low-sim.c (#include "defs.h"): Removed. (mygeneric_load): Rename from generic_load. * gdbserver/low-hppabsd.c (#include "server.h"): Added. (#include "defs.h"): Removed. (inferior_pid, perror_with_name): Remove declarations. * gdbserver/low-linux.c: Likewise. * gdbserver/low-nbsd.c: Likewise. * gdbserver/low-sparc.c: Likewise. * gdbserver/low-sun3.c: Likewise. * i386-stub.c: Re-indent. * m68k-stub.c: Re-indent.
2001-01-23s/11/01/Jakub Jelinek1-1/+1
2001-01-23 * readelf.c (process_version_sections): Check if VERDEF or VERNEEDJakub Jelinek2-106/+28
sections are present before using them. Remove code duplication. (process_symbol_table): Check if VERDEF or VERNEED sections are present before using them.
2001-01-23(m32r_handle_align): Declare type of fragp.Alan Modra2-4/+9
2001-01-23Only set lma_region from the default for the first sectionAlan Modra2-1/+9
of a group of overlay sections.
2001-01-232001-01-23 Kazu Hirata <kazu@hxi.com>Kazu Hirata27-81/+29
* coff64-rs6000.c: Fix formatting. * coff-arm.c: Likewise. * coffgen.c: Likewise. * cofflink.c: Likewise. * coff-mcore.c: Likewise. * coff-mips.c: Likewise. * coff-pmac.c: Likewise. * coff-ppc.c: Likewise. * coff-rs6000.c: Likewise. * elf32.c: Likewise. * elf32-fr30.c: Likewise. * elf32-i370.c: Likewise. * elf32-i860.c: Likewise. * elf32-m32r.c: Likewise. * elf32-m68k.c: Likewise. * elf32-mcore.c: Likewise. * elf32-ppc.c: Likewise. * elf32-sh.c: Likewise. * elf32-v850.c: Likewise. * elf64-alpha.c: Likewise. * elf64-sparc.c: Likewise. * elflink.c: Likewise. * elflink.h: Likewise. * elf-m10200.c: Likewise. * elf-m10300.c: Likewise. * elfxx-ia64.c: Likewise.
2001-01-232001-01-22 Bo Thorsen <bo@suse.de>Andreas Jaeger2-48/+1468
* elf64-x86-64.c: Added PIC support for X86-64. (elf64_x86_64_link_hash_newfunc): Function added. (elf64_x86_64_link_hash_table_create): Likewise. (elf64_x86_64_check_relocs): Likewise. (elf64_x86_64_gc_mark_hook): Likewise. (elf64_x86_64_gc_sweep_hook): Likewise. (elf64_x86_64_adjust_dynamic_symbol): Likewise. (elf64_x86_64_size_dynamic_sections): Likewise. (elf64_x86_64_discard_copies): Likewise. (elf64_x86_64_finish_dynamic_symbol): Likewise. (elf64_x86_64_finish_dynamic_sections): Likewise. (elf64_x86_64_relocate_section): Add relocation of PIC sections.
2001-01-22 * gdbarch.sh (PARM_BOUNDARY): Define.Nicholas Duffek4-0/+42
* gdbarch.c: Regenerate. * gdbarch.h: Regenerate.
2001-01-222001-01-22 Kazu Hirata <kazu@hxi.com>Kazu Hirata2-109/+104
* config/tc-alpha.c: Fix formatting.