2001-01-24 Jeff Holcomb <jeffh@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
2
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.
7
8 * gdb_string.h: Remove declaration of strdup. Update copyright
9 message.
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.
17
18 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
19
20 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
21
22 2001-01-25 J.T. Conklin <jtc@redback.com>
23
24 * target.c (target_xfer_memory_partial): Return -1 on failure due
25 to invalid access mode attribute.
26
27 2001-01-25 Christopher Faylor <cgf@cygnus.com>
28
29 * win32-nat.c (_initialize_core_win32): Prototype correctly.
30
31 2001-01-25 Mark Kettenis <kettenis@gnu.org>
32
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.
38
39 2001-01-24 Fernando Nasser <fnasser@redhat.com>
40
41 * top.c (print_gdb_version): Update Copyright year.
42
43 2001-01-24 J.T. Conklin <jtc@redback.com>
44
45 * dcache.c (dcache_write_line): Fix typo.
46
47 * memattr.c (delete_mem_region): Replace free() with xfree().
48 (mem_number): Add explicit type.
49
50 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
51 (rw_common): Likewise.
52
53 2001-01-24 Fernando Nasser <fnasser@redhat.com>
54
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.
60
61 2001-01-23 Jim Blandy <jimb@redhat.com>
62
63 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
64 Implement these correctly, using make_cv_type.
65
66 2001-01-23 J.T. Conklin <jtc@redback.com>
67
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.
93
94 * target.h (#include "memattr.h"): Added.
95 (target_ops.to_xfer_memory): Add attrib argument.
96
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
100
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.
116
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
121 region.
122 (dcache_info): Always print cache info.
123
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
127 do_xfer_memory().
128 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
129
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.
135
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.
141
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.
149
150 * i386-stub.c: Re-indent.
151 * m68k-stub.c: Re-indent.
152
153 2001-01-22 Nicholas Duffek <nsd@redhat.com>
154
155 * gdbarch.sh (PARM_BOUNDARY): Define.
156 * gdbarch.c: Regenerate.
157 * gdbarch.h: Regenerate.
158
159 2001-01-22 J.T. Conklin <jtc@redback.com>
160
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.
164
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
169 hosts.
170
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.
184
185 2001-01-19 Jason Merrill <jason@redhat.com>
186
187 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
188 (process_one_symbol): Likewise.
189 * dwarfread.c (handle_producer): Likewise.
190
191 Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
192
193 * configure.in (build_warnings): Disable -Wuninitialized until GDB
194 compiles with -Wuninitialized,-Werror.
195 * configure: Regenerate.
196
197 * MAINTAINERS: Add list of buildable targets.
198
199 Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
200
201 * defs.h (STRCMP): Delete macro.
202
203 * objfiles.c (objfile_relocate): Replace STRCMP with call to
204 strcmp.
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.
210
211 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
212
213 Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
214
215 * varobj.c (FREEIF): Delete macro.
216 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
217 call.
218
219 2001-01-18 Nick Clifton <nickc@redhat.com>
220
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.
224
225 2001-01-09 James Ingham <jingham@inghji.apple.com>
226
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.
231
232 2001-01-18 Mark Kettenis <kettenis@gnu.org>
233
234 * infcmd.c (print_return_value): Restore another space lost by
235 switch to UIOUT. ``$NN='' should be ``$NN =''.
236
237 Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
238
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.
242
243 Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
244
245 From 2000-10-27 Mark Salter <msalter@redhat.com>:
246 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
247 packet.
248 (remote_insert_hw_breakpoint): Ditto.
249
250 2001-01-17 J.T. Conklin <jtc@redback.com>
251
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.
256
257 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
258
259 * m68knbsd-nat.c: #include gdbcore.h.
260
261 Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
262
263 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
264
265 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
266
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.
270
271 2001-01-12 Nicholas Duffek <nsd@redhat.com>
272
273 * blockframe.c (generic_get_saved_register): Spelling fix.
274 * frame.h (FRAME_FP): Spelling fix.
275
276 Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
277
278 * infcmd.c (print_return_value): Restore space lost by switch to
279 UIOUT. ``$NN='' should be ``$NN =''.
280
281 2001-01-08 Nicholas Duffek <nsd@redhat.com>
282
283 * regcache.c (set_register_cached, register_buffer,
284 real_register, pseudo_register fetch_register, store_register):
285 New functions.
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
298 store_register().
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().
306
307 2001-01-08 Nicholas Duffek <nsd@redhat.com>
308
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
312 value description.
313 (supply_register): Spelling fix.
314 * value.h: Change "regno" to "regnum".
315
316 2001-01-08 Fernando Nasser <fnasser@redhat.com>
317
318 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
319 to be installed.
320
321 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
322
323 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
324
325 2001-01-04 Nicholas Duffek <nsd@redhat.com>
326
327 * valops.c (VALUE_SUBSTRING_START): Delete.
328
329 2001-01-04 Nicholas Duffek <nsd@redhat.com>
330
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.
337
338 2001-01-04 Nicholas Duffek <nsd@redhat.com>
339
340 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
341 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
342
343 2001-01-03 J.T. Conklin <jtc@redback.com>
344
345 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
346 comment.
347
348 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
349
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
352 non-float types.
353 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
354 Update copyright notice.
355
356 For older changes see ChangeLog-2000
357 \f
358 Local Variables:
359 mode: change-log
360 left-margin: 8
361 fill-column: 74
362 version-control: never
363 End:
This page took 0.036904 seconds and 4 git commands to generate.