aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2000-11-05Add include of "dwarf2dbg.h"Nick Clifton2-0/+5
2000-11-05Remove extraneous whitepacesNick Clifton1-52/+52
2000-11-05*** empty log message ***Nick Clifton1-1/+4
2000-11-05* ldlex.l (yy_create_string_buffer): Init all structure fields.Alan Modra4-3/+21
* Makefile.am (DISTCLEANFILES): Add stringify.sed. Move 2000-11-02 Makefile.in changes to this file.
2000-11-04 * hashtab.c (htab_expand): Change to return int. Use calloc orHans-Peter Nilsson2-8/+68
xcalloc depending on htab->return_allocation_failure. Return zero if calloc fails. (htab_create): Update comment to cover memory allocation. (htab_try_create): New. (htab_find_slot_with_hash): Return NULL if htab_expand fails. Update comment to cover this.
2000-11-04 * hashtab.h (struct htab): Add member return_allocation_failure.Hans-Peter Nilsson2-0/+16
(htab_try_create): New prototype. Mention which functions may return NULL when this is used.
2000-11-04Protoization.Kevin Buettner2-15/+14
2000-11-03In new_symbol(), relocate symbol address by base address of the sectionKevin Buettner2-2/+14
it is in instead of using the base address of the .text section.
2000-11-03* TODO: Note abstraction layer violation where "ocd reset" commandJ.T. Conklin16-193/+241
must invalidate the dcache, and how this might be fixed. * monitor.c (#include "dcache.h"): Removed. (remote_dcache): Removed. (monitor_open): Removed code that created local dcache. (flush_monitor_dcache): Removed (unused function). (monitor_resume): Removed call to dcache_invd(). (monitor_load): Likewise. (monitor_xfer_memory): Changed to call monitor_write_memory(), monitor_write_memory_block(), and monitor_read_memory() instead of dcache_xfer_memory(). * monitor.h (flush_monitor_dcache): Removed (unused function). * ocd.c (#include "dcache.h"): Removed. (ocd_dcache): Removed. (ocd_open): Removed code that created local dcache. (ocd_resume): Removed call to dcache_invd(). (ocd_xfer_memory): Changed to call ocd_write_bytes() and ocd_read_bytes() instead of dcache_xfer_memory(). (bdm_reset_command): Invalidate target dcache. * remote-bug.c (bug_load): Remove call to dcache_invd(). (bug_resume): Likewise. (bug_settings): Remove dcache, readfunc, and writefunc fields from initializer. (bug_xfer_memory): Changed to call bug_read_memory() and bug_write_memory() instead of dcache_xfer_memory(). * remote-nindy.c (#include "dcache.h"): Removed. (nindy_dcache): Removed. (nindy_open): Removed code that created local dcache. (nindy_resume): Removed call to dcache_invd(). (nindy_load): Likewise. (nindy_xfer_inferior_memory): Changed to call ninMemPut() and ninMemGet() instead of dcache_xfer_memory(). * remote-sds.c (#include "dcache.h"): Removed. (sds_dcache): Removed. (sds_open): Removed code that created local dcache. (sds_resume): Removed call to dcache_invd(). (sds_xfer_memory): Changed to call sds_write_bytes() and sds_read_bytes() instead of dcache_xfer_memory(). * remote-utils.c (gr_open): Removed code that created local dcache. * remote-utils.h (#include "dcache.h"): Removed. (struct gr_settings): Removed dcache, readfunc, and writefunc fields. (gr_get_dcache, gr_set_dcache): Removed macro definitions. * remote.c (#include "dcache.h"): Removed. (remote_dcache): Removed. (remote_open_1): Removed code that created local dcache. (remote_async_open_1): Likewise. (remote_resume): Removed call to dcache_invd(). (remote_async_resume): Likewise. (remote_xfer_memory): Changed to call remote_write_bytes() and remote_read_bytes() instead of dcache_xfer_memory(). * wince.c (#include "dcache.h"): Removed. (remote_dcache): Removed. (child_create_inferior): Removed code that created local dcache. (child_xfer_memory): Changed to call remote_write_bytes() and remote_read_bytes() instead of dcache_xfer_memory(). (child_resume): Removed call to dcache_invd(). * target.c (target_dcache): Added. (target_load): Invalidate target_dcache. (do_xfer_memory): New function. (target_xfer_memory): Reimplement in terms of dcache_xfer_memory(). (target_xfer_memory_partial): Likewise. (initialize_targets): Create target_dcache. * target.h (#include "dcache.h"): Added. (target_open): Invalidate target_dcache. (target_resume): Likewise. (do_xfer_memory): New declaration. * dcache.c (dcache_init): Removed reading and writing arguments. (dcache_struct): Removed read_memory and write_memory fields. (dcache_write_line): Call do_xfer_memory. (dcache_read_line): Likewise. (dcache_xfer_memory): Likewise. (dcache_invalidate): Renamed from dcache_invd. (dcache_init): Updated. (dcache_xfer_memory): Updated. * dcache.h (memxferfunc): Removed definition.
2000-11-03 * hashtab.c: Change void * to PTR where necessary.Hans-Peter Nilsson2-36/+42
(htab_create, htab_expand): Correct formatting of comment before function.
2000-11-03 * hashtab.h: Change void * to PTR where necessary.Hans-Peter Nilsson2-5/+9
2000-11-03Use ${CONSTRUCTING...} to enclose constructors and destructors.Nick Clifton12-280/+400
2000-11-03 * objfiles.c (objfile_relocate): Relocate ei.entry_point withPeter Schauer2-3/+17
its section offset, use SECT_OFF_TEXT only as a fallback.
2000-11-03Fix readelf -S and readelf -s tests for MIPS and v850Nick Clifton5-17/+73
2000-11-03Add --srec-len and --srec-forceS3 switches to objcopyNick Clifton8-342/+418
2000-11-02Add support for -storm-chaosNick Clifton2-3/+7
2000-11-02Add support for *-storm-chaos targetNick Clifton12-503/+552
2000-11-02Preserve copy of case clobber opcodes so that .req pseudo op worksNick Clifton4-4/+30
2000-11-02SWitch over to using dwarf2_generate_asm_linenoNick Clifton2-15/+9
2000-11-022000-11-02 Theo Honohan <th@futuretv.com>Phil Blundell2-1/+5
* config/tc-arm.c (do_msr): Improve error message.
2000-11-02Protoization.Kevin Buettner4-7/+11
2000-11-012000-11-01 Dave Brolley <brolley@cygnus.com>Dave Brolley2-9/+35
* lib/sim-defs.exp (run_sm_test): Correct comment. "output" and "xerror" options do not use a list of machines. Clear options from previous test case. Use "$cpu_option" to identify the machine to the assembler, if specified.
2000-11-012000-10-31 Philip Blundell <philb@gnu.org>Phil Blundell2-0/+7
* elf32-arm.h (elf32_arm_merge_private_bfd_data): Only handle EF_SOFT_FLOAT if it is defined.
2000-11-012000-10-31 Eric Christopher <echristo@cygnus.com>Eric Christopher2-7/+30
* config/tc-mn10300.c (md_apply_fix3): Use valuep if fully resolved or pc-relative, else use fx_offset.
2000-11-01Add Eric Christopher as maintainer for MN10300Nick Clifton2-1/+2
2000-11-01Add tag support. Error for dangling qualifying predicates.Jim Wilson2-2/+90
* config/tc-ia64.c (struct md): New field tag_fixups. (ia64_flush_insns): Handle tag_fixups. Error if dangling qualifying predicate. (emit_one_bundle): Delete spurious multiplication by one. Handle tag_fixups. (ia64_start_line): Error if dangling qualifying predicate. (defining_tag): New static variable. (ia64_unrecognized_line, case '['): Parse tags. (ia64_frob_label): Create tag_fixups. (md_assemble): Reset md.qp.X_op after using it.
2000-10-31Add Jim Wilson as Maintainer for IA64 code.Nick Clifton2-6/+12
2000-10-312000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder7-2/+153
* config/sh/tm-linux.h: New file. Include generic tm-linux.h, plus tm-sh.h, then define SVR4_FETCH_LINK_MAP_OFFSETS to use the sh target function instead of the default link map offsets. * config/sh/sh.mt: Add solib.o and solib-svr4.o to TDEPFILES. Use sh/tm-linux.h instead of sh/tm-sh.h. * sh-tdep.c (sh_linux_svr4_fetch_link_map_offsets): New function. Construct target-specific link map offsets. * i386-linux-tdep.c (i386_linux_svr4_fetch_link_map_offsets: New function. Construct target-specific link map offsets. * config/i386/tm-linux.h: Use above function instead of default. 2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com> * config/i386/tm-linux.h: Remove definition of SVR4_SHARED_LIBS, and inclusion of solib.h. Move up into ../tm-linux.h. config/tm-linux.h: Define SVR4_SHARED_LIBS, include solib.h.
2000-10-31Kaz Kojima's BFD_RELOC_SH_PCDISP12BY2 fix.Alan Modra2-1/+5
2000-10-31Better bundle template selectionBernd Schmidt2-2/+6
2000-10-31Protoization.Kevin Buettner3-19/+16
2000-10-30solib.c relocation improvementsKevin Buettner4-47/+75
2000-10-30[left out in the previous check-in]Michael Snyder2-2/+2
2000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com> * config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES. * config/powerpc/linux.mh: ditto. * config/ia64/linux.mh: ditto. * config/i386/linux.mh: ditto. * config/alpha/alpha-linux.mh: ditto. * config/arm/linux.mh: ditto. * config/m68k/linux.mt: Add solib.c, solib-svr4.c to TDEPFILES. * config/powerpc/linux.mt: ditto. * config/ia64/linux.mt: ditto. * config/i386/linux.mt: ditto. * config/alpha/alpha-linux.mt: ditto. * config/arm/linux.mt: ditto.
2000-10-302000-10-30 Michael Snyder <msnyder@cleaver.cygnus.com>Michael Snyder11-10/+25
* config/m68k/linux.mh: Remove solib.c, solib-svr4.c from NATDEPFILES. * config/powerpc/linux.mh: ditto. * config/ia64/linux.mh: ditto. * config/i386/linux.mh: ditto. * config/alpha/alpha-linux.mh: ditto. * config/arm/linux.mh: ditto. * config/m68k/linux.mt: Add solib.c, solib-svr4.c to TDEPFILES. * config/powerpc/linux.mt: ditto. * config/ia64/linux.mt: ditto. * config/i386/linux.mt: ditto. * config/alpha/alpha-linux.mt: ditto. * config/arm/linux.mt: ditto.
2000-10-302000-10-30 Kazu Hirata <kazu@hxi.com>Kazu Hirata6-65/+51
* expr.c: Fix formatting. * flonum-copy.c: Likewise. * flonum.h: Likewise. * gasp.c: Likewise. * hash.c: Likewise.
2000-10-30* gdbarch.sh, hp-psymtab-read.c, hpread.c, m3-nat.c, mcore-tdep.c,J.T. Conklin21-34/+53
mips-tdep.c, monitor.c, regcache.c, remote-es.c, ser-unix.c, somread.c, tracepoint.c: Fix spelling errors in comments. * gdbarch.c: Regenerate. * gnu-nat.c (S_exception_raise_request): Fix typos and spelling errors in strings. * m3-nat.c (intercept_exec_calls, mach_thread_parse_id): Likewise. * mcore-tdep.c (mcore_analyze_prologue): Likewise. * mips-tdep.c (mips16_next_pc, _initialize_mips_tdep): Likewise. * remote-e7000.c (e7000_start_remote): Likewise. * remote-rdp.c (handle_swi): Likewise. * remote-vx.c (vx_load_command): Likewise. * sh-tdep.c (sh_do_pseudo_register): Likewise. * sol-thread.c (td_err_string): Likewise. * symtab.c (decode_line_2): Likewise. -------------------------------------------------------------------
2000-10-302000-10-19 Josef Ezra <jezra@emc.com>Michael Snyder2-1/+8
* ax-gdb.c (gen_struct_ref): while generating data code, cases of "collect p1->p2->data" where not covered if p2 is a 'typedefed' type. this simple fix should forward the type pointer to the real type.
2000-10-30Add noconfigure dirs for m68[hc]{11|12} targets.Nick Clifton2-1/+9
2000-10-30 * config/tc-sh.c (md_apply_fix): For ELF, do not "adjust back" VALHans-Peter Nilsson2-2/+14
for weak symbols.
2000-10-30 * as.h (OPTION_MD_BASE): Bump to 190.Hans-Peter Nilsson3-2/+10
* as.c (parse_args) <std_longopts>: Add comment about the need to check OPTION_MD_BASE in as.h.
2000-10-30 * eval.c (parse_and_eval_long): New function.David Taylor11-17/+51
* value.h: Declare it. * breakpoint.c (breakpoints_info, maintenance_info_breakpoints): Call parse_and_eval_long, not parse_and_eval_address. * command.c (do_setshow_command): Ditto. * infcmd.c (step_1, signal_command, continue_command): Ditto. * infrun.c (signals_info): Ditto. * stack.c (set_backtrace_limit_command, backtrace_command_1, up_silently_base, down_silently_base): Ditto. * tracepoints.c (tracepoints_info, trace_find_command, trace_find_tracepoint_command): Ditto. * valprint.c (set_radix): Ditto. * values.c (show_values): Ditto.
2000-10-29 * ld-selective/selective.exp <no CXX>: Fix typo for argument toHans-Peter Nilsson2-1/+6
"untested".
2000-10-28Protoization.Kevin Buettner3-18/+12
2000-10-272000-10-27 Philip Blundell <philb@gnu.org>Phil Blundell2-24/+43
* elf32-arm.h (elf32_arm_copy_private_bfd_data): Don't refuse attempts to mix PIC code with non-PIC, just mark the output as being position dependent. (elf32_arm_merge_private_bfd_data): Likewise. Print an error message for EF_SOFT_FLOAT mismatches. Display diagnostics for all mismatches, not just the first one.
2000-10-27* arch-utils.c (set_architecture, set_architecture_from_arch_mach,J.T. Conklin7-21/+47
set_gdbarch_from_file): Fix spelling error. * v850-tdep.c (v850_target_architecture_hook): Likewise. * gdbarch.sh: Fix spelling errors in comment. * gdbarch.c, gdbarch.h: Regenerate. * ppcnbsd-nat.c (fetch_core_registers, fetch_inferior_registers, store_inferior_registers): Support older NetBSD/powerpc systems from before fp reg support was added. Adapt to register number changes caused when powerpc target was multi-arched.
2000-10-27Add m68hc12 to list of supported configurationsNick Clifton4-594/+661
2000-10-27Corrected spelling errors in comments.David Anderson16-22/+30
gdbarch.{c,sh} removed a word from a comment.
2000-10-27handle lower cased cpsr and spsrAldy Hernandez2-14/+13
2000-10-27Protoization.Kevin Buettner3-15/+23
2000-10-262000-10-26 Ben Elliston <bje@redhat.com>Elena Zannoni3-7/+22
* cgen.sh: Handle an isa argument between cpu and mach. Default to `all'. Pass `-i' options to cgen applications. * Make-common.in (cgen-arch, cgen-cpu, cgen-decode, cgen-cpu-decode, cgen-desc): Pass $(isa) to cgen.sh.