1 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
3 * remote-udi.c (udi_open): Change strdup to xstrdup.
4 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
5 Update copyright message.
6 * varobj.c (delete_variable_1): Likewise.
8 * gdb_string.h: Remove declaration of strdup. Update copyright
10 * config/xm-mpw.h: Likewise.
11 * config/i386/xm-i386mach.h: Likewise.
12 * config/m68k/xm-apollo68b.h: Likewise.
13 * config/m68k/xm-hp300bsd.h: Likewise.
14 * config/rs6000/xm-rs6000.h: Likewise.
15 * config/vax/xm-vaxult.h: Remove declaration of strdup.
16 * config/vax/xm-vaxult2.h: Likewise.
18 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
20 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
22 2001-01-25 J.T. Conklin <jtc@redback.com>
24 * target.c (target_xfer_memory_partial): Return -1 on failure due
25 to invalid access mode attribute.
27 2001-01-25 Christopher Faylor <cgf@cygnus.com>
29 * win32-nat.c (_initialize_core_win32): Prototype correctly.
31 2001-01-25 Mark Kettenis <kettenis@gnu.org>
33 * config/alpha/tm-fbsd.h: Update copyright.
34 (USE_STRUCT_CONVENTION): Define in terms of
35 alphabsd_use_struct_convention.
36 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
37 * alphafbsd-tdep.c: New file.
39 2001-01-24 Fernando Nasser <fnasser@redhat.com>
41 * top.c (print_gdb_version): Update Copyright year.
43 2001-01-24 J.T. Conklin <jtc@redback.com>
45 * dcache.c (dcache_write_line): Fix typo.
47 * memattr.c (delete_mem_region): Replace free() with xfree().
48 (mem_number): Add explicit type.
50 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
51 (rw_common): Likewise.
53 2001-01-24 Fernando Nasser <fnasser@redhat.com>
55 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
56 for the inferior program arguments.
57 (run_command, run_no_args_command, init_infcmd)): Use accessor
58 functions to set the inferior program arguments.
59 * inferior.h: Add definitions to the accessor functions above.
61 2001-01-23 Jim Blandy <jimb@redhat.com>
63 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
64 Implement these correctly, using make_cv_type.
66 2001-01-23 J.T. Conklin <jtc@redback.com>
68 * exec.c (xfer_memory): Add attrib argument.
69 * infptrace.c (child_xfer_memory): Likewise.
70 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
71 * monitor.c (monitor_xfer_memory): Likewise.
72 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
73 * remote-array.c (array_xfer_memory): Likewise.
74 * remote-bug.c (bug_xfer_memory): Likewise.
75 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
76 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
77 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
78 * remote-mips.c (mips_xfer_memory): Likewise.
79 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
80 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
81 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
82 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
83 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
84 * remote-sds.c (sds_xfer_memory): Likewise.
85 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
86 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
87 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
88 * remote-vx.c (vx_xfer_memory): Likewise.
89 * remote.c (remote_xfer_memory): Likewise.
90 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
91 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
92 * thread-db.c (thread_db_xfer_memory): Likewise.
94 * target.h (#include "memattr.h"): Added.
95 (target_ops.to_xfer_memory): Add attrib argument.
97 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
98 * dcache.h (set_dcache_state): Removed declaration.
99 * dcache.c (set_dcache_state): Removed definition
101 * dcache.c: Update module comment, as dcache is now enabled and
102 disabled with memory region attributes instead of by the global
103 variable "remotecache". Add comment describing the interaction
104 between dcache and memory region attributes.
105 (dcache_xfer_memory): Add comment describing benefits of moving
106 cache writeback to a higher level.
107 (dcache_struct): Removed cache_has_stuff field. This was used to
108 record whether the cache had been accessed in order to invalidate
109 it when it was disabled. However, this is not needed because the
110 cache is write through and the code that enables, disables, and
111 deletes memory regions invalidate the cache. Add comment which
112 suggests that we could be more selective and only invalidate those
113 cache lines containing data from those memory regions.
114 (dcache_invalidate): Updated.
115 (dcache_xfer_memory): Updated.
117 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
118 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
119 perform a uncached transfer if dcache_enabled_p was clear. This
120 function is now only called if caching is enabled for the memory
122 (dcache_info): Always print cache info.
124 * target.c (do_xfer_memory): Add attrib argument.
125 (target_xfer_memory, target_xfer_memory_partial): Break transfer
126 into chunks defined by memory regions, pass region attributes to
128 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
130 * Makefile.in (SFILES): Add memattr.c.
131 (COMMON_OBS): Add memattr.o.
132 (dcache.o): Add target.h to dependencies.
133 * memattr.c: New file.
134 * memattr.h: Likewise.
136 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
137 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
138 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
139 * gdbserver/low-sim.c (#include "defs.h"): Removed.
140 (mygeneric_load): Rename from generic_load.
142 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
143 (#include "defs.h"): Removed.
144 (inferior_pid, perror_with_name): Remove declarations.
145 * gdbserver/low-linux.c: Likewise.
146 * gdbserver/low-nbsd.c: Likewise.
147 * gdbserver/low-sparc.c: Likewise.
148 * gdbserver/low-sun3.c: Likewise.
150 * i386-stub.c: Re-indent.
151 * m68k-stub.c: Re-indent.
153 2001-01-22 Nicholas Duffek <nsd@redhat.com>
155 * gdbarch.sh (PARM_BOUNDARY): Define.
156 * gdbarch.c: Regenerate.
157 * gdbarch.h: Regenerate.
159 2001-01-22 J.T. Conklin <jtc@redback.com>
161 * ns32k-tdep.c: #include "frame.h"
162 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
163 appears to have been inadvertantly removed sometime in May 1999.
165 * Revert 2000-11-09 changes where shared library objects were
166 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
167 we'd like to be able to debug dynamically linked executables,
168 this makes it impossible to build a cross debugger on a many
171 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
172 * config/i386/nbsdelf.mt: Likewise.
173 * config/m68k/nbsd.mt: Likewise.
174 * config/ns32k/nbsd.mt: Likewise.
175 * config/powerpc/nbsd.mt: Likewise.
176 * config/sparc/nbsd.mt: Likewise.
177 * config/sparc/nbsdelf.mt: Likewise.
178 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
179 * config/i386/nbsdelf.mh: Likewise.
180 * config/m68k/nbsd.mh: Likewise.
181 * config/ns32k/nbsd.mh: Likewise.
182 * config/powerpc/nbsd.mh: Likewise.
183 * config/sparc/nbsd.mh: Likewise.
185 2001-01-19 Jason Merrill <jason@redhat.com>
187 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
188 (process_one_symbol): Likewise.
189 * dwarfread.c (handle_producer): Likewise.
191 Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
193 * configure.in (build_warnings): Disable -Wuninitialized until GDB
194 compiles with -Wuninitialized,-Werror.
195 * configure: Regenerate.
197 * MAINTAINERS: Add list of buildable targets.
199 Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
201 * defs.h (STRCMP): Delete macro.
203 * objfiles.c (objfile_relocate): Replace STRCMP with call to
205 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
206 * symfile.c (compare_symbols): Ditto.
207 * standalone.c (open): Ditto.
208 * remote-es.c (verify_break): Ditto.
209 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
211 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
213 Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
215 * varobj.c (FREEIF): Delete macro.
216 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
219 2001-01-18 Nick Clifton <nickc@redhat.com>
221 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
222 (arc_print_insn): No bfd available, so pass NULL to
223 arc_get_disassembler.
225 2001-01-09 James Ingham <jingham@inghji.apple.com>
227 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
228 a mangled symbol rather than recursing into lookup_symbol, since
229 this will just re-unmangle the name & call lookup_symbol_aux -
230 leading to an infinite recursion.
232 2001-01-18 Mark Kettenis <kettenis@gnu.org>
234 * infcmd.c (print_return_value): Restore another space lost by
235 switch to UIOUT. ``$NN='' should be ``$NN =''.
237 Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
239 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
240 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
241 definition in parenthesis.
243 Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
245 From 2000-10-27 Mark Salter <msalter@redhat.com>:
246 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
248 (remote_insert_hw_breakpoint): Ditto.
250 2001-01-17 J.T. Conklin <jtc@redback.com>
252 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
253 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
254 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
255 * m68knbsd-tdep.c: New file.
257 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
259 * m68knbsd-nat.c: #include gdbcore.h.
261 Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
263 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
265 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
267 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
268 goes away -- just return false (ie. not stopped by watchpoint).
269 * source.c (openp): Fix typo in comment.
271 2001-01-12 Nicholas Duffek <nsd@redhat.com>
273 * blockframe.c (generic_get_saved_register): Spelling fix.
274 * frame.h (FRAME_FP): Spelling fix.
276 Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
278 * infcmd.c (print_return_value): Restore space lost by switch to
279 UIOUT. ``$NN='' should be ``$NN =''.
281 2001-01-08 Nicholas Duffek <nsd@redhat.com>
283 * regcache.c (set_register_cached, register_buffer,
284 real_register, pseudo_register fetch_register, store_register):
286 (register_changed, read_relative_register_raw_bytes_for_frame,
287 registers_changed, registers_fetched, read_register_bytes,
288 read_register_gen, write_register_gen, read_register,
289 read_signed_register, write_register, supply_register): Replace
290 register_valid[] with register_cached() and
291 set_register_cached().
292 (read_register_bytes, read_register_gen, write_register_gen,
293 read_register, read_signed_register, write_register,
294 supply_register): Replace registers[] with register_buffer().
295 (read_register_bytes, read_register_gen, read_register,
296 read_signed_register): Call fetch_register().
297 (write_register_gen, write_register): Call real_register() and
299 (write_register_bytes): Call store_register().
300 * value.h (set_register_cached, register_buffer): Prototype.
301 * remote.c (remote_fetch_registers): Allocate regs[] with a
302 run-time size. Replace register_valid[] with
303 set_register_cached().
304 (store_register_using_P, remote_store_registers): Replace
305 registers[] with register_buffer().
307 2001-01-08 Nicholas Duffek <nsd@redhat.com>
309 * regcache.c: Change "write-back" comment to "write-through".
310 Change "regno" to "regnum".
311 (read_register, read_signed_register): Remove "raw" from return
313 (supply_register): Spelling fix.
314 * value.h: Change "regno" to "regnum".
316 2001-01-08 Fernando Nasser <fnasser@redhat.com>
318 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
321 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
323 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
325 2001-01-04 Nicholas Duffek <nsd@redhat.com>
327 * valops.c (VALUE_SUBSTRING_START): Delete.
329 2001-01-04 Nicholas Duffek <nsd@redhat.com>
331 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
332 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
333 (cli_utils_h): New variable.
334 (cli/cli-utils.o): New rule.
335 * cli/cli-utils.c: New file.
336 * cli/cli-utils.h: New file.
338 2001-01-04 Nicholas Duffek <nsd@redhat.com>
340 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
341 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
343 2001-01-03 J.T. Conklin <jtc@redback.com>
345 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
348 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
350 * sh-tdep.c (sh_extract_return_value): Allow for small return type.
351 (sh_sh4_extract_return_value): Call sh_extract_return_value for
353 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
354 Update copyright notice.
356 For older changes see ChangeLog-2000
362 version-control: never