Handle hppa64-linux systems.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 2000-01-27 Christopher Faylor <cgf@cygnus.com>
2
3 * win32-nat.c (child_xfer_memory): Add missing argument required by
4 2001-01-23 change.
5
6 2001-01-27 Mark Kettenis <kettenis@gnu.org>
7
8 * ui-out.c (do_list_end): New function.
9 (make_cleanup_ui_out_list_end): New function.
10 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
11 * stack.c (print_frame) [UI_OUT]: Call
12 make_cleanup_ui_out_list_end to make sure we mark the end of the
13 list if we do a non-local exit. At the end of the function,
14 instead of calling ui_out_list_end directly, let do_cleanups
15 handle it.
16
17 2001-01-26 Fernando Nasser <fnasser@redhat.com>
18
19 Fix double parsing of filenames passed as command line arguments
20 to GDB (causes weird handling of escape characters).
21 Also, remove dependencies on the CLI from libgdb.
22 * call-cmds.h: Remove declaration of exec_file_command().
23 * gdbcore.h: Remove declaration of exec_file_command().
24 Add declarations for exec_open() and exec_file_clear().
25 * symfile.h: Add declarations for symbol_file_add_main() and
26 symbol_file_clear().
27 * exec.c (exec_open): New function. Implements to_open for exec
28 targets.
29 (exec_file_clear): New function. Makes GDB forget about a previously
30 specified executable file.
31 (exec_file_attach): Move parsing of arguments from here ...
32 (exec_file_command): ... to here.
33 (init_exec_ops): Use exec_open(), not exec_file_command() to
34 implement to_open for exec targets.
35 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
36 with default values. Used when the file name has already been parsed.
37 (symbol_file_clear): New function. Makes GDB forget about previously
38 read symbols.
39 (symbol_file_command): Call the above function instead of inline code.
40 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
41 "call-cmds.h".
42 (captured_main): Call exec_file_attach() and symbol_file_add_main()
43 instead of exec_file_command() and symbol_file_command().
44 (captured_main): Add comment.
45 * corefile.c: Include "symfile.h".
46 (core_file_command): Call symbol_file_add_main() instead of
47 symbol_file_command().
48 (reopen_exec_file): Call exec_open() instead of exec_file_command().
49 * infcmd.c: Include "symfile.h".
50 (attach_command): Call symbol_file_add_main() instead of
51 symbol_file_command().
52 * infrun.c: Remove comment about the inclusion of "symfile.h",
53 not any longer appropriate.
54 (follow_exec): Call symbol_file_add_main() instead of
55 symbol_file_command().
56 * remote-es.c: Include "symfile.h".
57 (es1800_load): Call symbol_file_add_main() instead of
58 symbol_file_command().
59 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
60 not any longer appropriate.
61 (vx-wait): Call symbol_file_add_main() instead of
62 symbol_file_command().
63 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
64 instead of symbol_file_command().
65 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
66 symbol_file_add_main() instead of exec_file_command() and
67 symbol_file_command().
68 * Makefile.in: Update dependencies.
69
70 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
71
72 * remote-udi.c (udi_open): Change strdup to xstrdup.
73 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
74 Update copyright message.
75 * varobj.c (delete_variable_1): Likewise.
76
77 * gdb_string.h: Remove declaration of strdup. Update copyright
78 message.
79 * config/xm-mpw.h: Likewise.
80 * config/i386/xm-i386mach.h: Likewise.
81 * config/m68k/xm-apollo68b.h: Likewise.
82 * config/m68k/xm-hp300bsd.h: Likewise.
83 * config/rs6000/xm-rs6000.h: Likewise.
84 * config/vax/xm-vaxult.h: Remove declaration of strdup.
85 * config/vax/xm-vaxult2.h: Likewise.
86
87 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
88
89 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
90
91 2001-01-25 J.T. Conklin <jtc@redback.com>
92
93 * target.c (target_xfer_memory_partial): Return -1 on failure due
94 to invalid access mode attribute.
95
96 2001-01-25 Christopher Faylor <cgf@cygnus.com>
97
98 * win32-nat.c (_initialize_core_win32): Prototype correctly.
99
100 2001-01-25 Mark Kettenis <kettenis@gnu.org>
101
102 * config/alpha/tm-fbsd.h: Update copyright.
103 (USE_STRUCT_CONVENTION): Define in terms of
104 alphabsd_use_struct_convention.
105 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
106 * alphafbsd-tdep.c: New file.
107
108 2001-01-24 Fernando Nasser <fnasser@redhat.com>
109
110 * top.c (print_gdb_version): Update Copyright year.
111
112 2001-01-24 J.T. Conklin <jtc@redback.com>
113
114 * dcache.c (dcache_write_line): Fix typo.
115
116 * memattr.c (delete_mem_region): Replace free() with xfree().
117 (mem_number): Add explicit type.
118
119 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
120 (rw_common): Likewise.
121
122 2001-01-24 Fernando Nasser <fnasser@redhat.com>
123
124 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
125 for the inferior program arguments.
126 (run_command, run_no_args_command, init_infcmd)): Use accessor
127 functions to set the inferior program arguments.
128 * inferior.h: Add definitions to the accessor functions above.
129
130 2001-01-23 Jim Blandy <jimb@redhat.com>
131
132 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
133 Implement these correctly, using make_cv_type.
134
135 2001-01-23 J.T. Conklin <jtc@redback.com>
136
137 * exec.c (xfer_memory): Add attrib argument.
138 * infptrace.c (child_xfer_memory): Likewise.
139 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
140 * monitor.c (monitor_xfer_memory): Likewise.
141 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
142 * remote-array.c (array_xfer_memory): Likewise.
143 * remote-bug.c (bug_xfer_memory): Likewise.
144 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
145 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
146 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
147 * remote-mips.c (mips_xfer_memory): Likewise.
148 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
149 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
150 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
151 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
152 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
153 * remote-sds.c (sds_xfer_memory): Likewise.
154 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
155 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
156 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
157 * remote-vx.c (vx_xfer_memory): Likewise.
158 * remote.c (remote_xfer_memory): Likewise.
159 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
160 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
161 * thread-db.c (thread_db_xfer_memory): Likewise.
162
163 * target.h (#include "memattr.h"): Added.
164 (target_ops.to_xfer_memory): Add attrib argument.
165
166 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
167 * dcache.h (set_dcache_state): Removed declaration.
168 * dcache.c (set_dcache_state): Removed definition
169
170 * dcache.c: Update module comment, as dcache is now enabled and
171 disabled with memory region attributes instead of by the global
172 variable "remotecache". Add comment describing the interaction
173 between dcache and memory region attributes.
174 (dcache_xfer_memory): Add comment describing benefits of moving
175 cache writeback to a higher level.
176 (dcache_struct): Removed cache_has_stuff field. This was used to
177 record whether the cache had been accessed in order to invalidate
178 it when it was disabled. However, this is not needed because the
179 cache is write through and the code that enables, disables, and
180 deletes memory regions invalidate the cache. Add comment which
181 suggests that we could be more selective and only invalidate those
182 cache lines containing data from those memory regions.
183 (dcache_invalidate): Updated.
184 (dcache_xfer_memory): Updated.
185
186 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
187 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
188 perform a uncached transfer if dcache_enabled_p was clear. This
189 function is now only called if caching is enabled for the memory
190 region.
191 (dcache_info): Always print cache info.
192
193 * target.c (do_xfer_memory): Add attrib argument.
194 (target_xfer_memory, target_xfer_memory_partial): Break transfer
195 into chunks defined by memory regions, pass region attributes to
196 do_xfer_memory().
197 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
198
199 * Makefile.in (SFILES): Add memattr.c.
200 (COMMON_OBS): Add memattr.o.
201 (dcache.o): Add target.h to dependencies.
202 * memattr.c: New file.
203 * memattr.h: Likewise.
204
205 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
206 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
207 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
208 * gdbserver/low-sim.c (#include "defs.h"): Removed.
209 (mygeneric_load): Rename from generic_load.
210
211 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
212 (#include "defs.h"): Removed.
213 (inferior_pid, perror_with_name): Remove declarations.
214 * gdbserver/low-linux.c: Likewise.
215 * gdbserver/low-nbsd.c: Likewise.
216 * gdbserver/low-sparc.c: Likewise.
217 * gdbserver/low-sun3.c: Likewise.
218
219 * i386-stub.c: Re-indent.
220 * m68k-stub.c: Re-indent.
221
222 2001-01-22 Nicholas Duffek <nsd@redhat.com>
223
224 * gdbarch.sh (PARM_BOUNDARY): Define.
225 * gdbarch.c: Regenerate.
226 * gdbarch.h: Regenerate.
227
228 2001-01-22 J.T. Conklin <jtc@redback.com>
229
230 * ns32k-tdep.c: #include "frame.h"
231 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
232 appears to have been inadvertantly removed sometime in May 1999.
233
234 * Revert 2000-11-09 changes where shared library objects were
235 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
236 we'd like to be able to debug dynamically linked executables,
237 this makes it impossible to build a cross debugger on a many
238 hosts.
239
240 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
241 * config/i386/nbsdelf.mt: Likewise.
242 * config/m68k/nbsd.mt: Likewise.
243 * config/ns32k/nbsd.mt: Likewise.
244 * config/powerpc/nbsd.mt: Likewise.
245 * config/sparc/nbsd.mt: Likewise.
246 * config/sparc/nbsdelf.mt: Likewise.
247 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
248 * config/i386/nbsdelf.mh: Likewise.
249 * config/m68k/nbsd.mh: Likewise.
250 * config/ns32k/nbsd.mh: Likewise.
251 * config/powerpc/nbsd.mh: Likewise.
252 * config/sparc/nbsd.mh: Likewise.
253
254 2001-01-19 Jason Merrill <jason@redhat.com>
255
256 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
257 (process_one_symbol): Likewise.
258 * dwarfread.c (handle_producer): Likewise.
259
260 Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
261
262 * configure.in (build_warnings): Disable -Wuninitialized until GDB
263 compiles with -Wuninitialized,-Werror.
264 * configure: Regenerate.
265
266 * MAINTAINERS: Add list of buildable targets.
267
268 Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
269
270 * defs.h (STRCMP): Delete macro.
271
272 * objfiles.c (objfile_relocate): Replace STRCMP with call to
273 strcmp.
274 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
275 * symfile.c (compare_symbols): Ditto.
276 * standalone.c (open): Ditto.
277 * remote-es.c (verify_break): Ditto.
278 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
279
280 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
281
282 Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
283
284 * varobj.c (FREEIF): Delete macro.
285 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
286 call.
287
288 2001-01-18 Nick Clifton <nickc@redhat.com>
289
290 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
291 (arc_print_insn): No bfd available, so pass NULL to
292 arc_get_disassembler.
293
294 2001-01-09 James Ingham <jingham@inghji.apple.com>
295
296 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
297 a mangled symbol rather than recursing into lookup_symbol, since
298 this will just re-unmangle the name & call lookup_symbol_aux -
299 leading to an infinite recursion.
300
301 2001-01-18 Mark Kettenis <kettenis@gnu.org>
302
303 * infcmd.c (print_return_value): Restore another space lost by
304 switch to UIOUT. ``$NN='' should be ``$NN =''.
305
306 Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
307
308 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
309 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
310 definition in parenthesis.
311
312 Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
313
314 From 2000-10-27 Mark Salter <msalter@redhat.com>:
315 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
316 packet.
317 (remote_insert_hw_breakpoint): Ditto.
318
319 2001-01-17 J.T. Conklin <jtc@redback.com>
320
321 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
322 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
323 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
324 * m68knbsd-tdep.c: New file.
325
326 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
327
328 * m68knbsd-nat.c: #include gdbcore.h.
329
330 Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
331
332 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
333
334 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
335
336 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
337 goes away -- just return false (ie. not stopped by watchpoint).
338 * source.c (openp): Fix typo in comment.
339
340 2001-01-12 Nicholas Duffek <nsd@redhat.com>
341
342 * blockframe.c (generic_get_saved_register): Spelling fix.
343 * frame.h (FRAME_FP): Spelling fix.
344
345 Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
346
347 * infcmd.c (print_return_value): Restore space lost by switch to
348 UIOUT. ``$NN='' should be ``$NN =''.
349
350 2001-01-08 Nicholas Duffek <nsd@redhat.com>
351
352 * regcache.c (set_register_cached, register_buffer,
353 real_register, pseudo_register fetch_register, store_register):
354 New functions.
355 (register_changed, read_relative_register_raw_bytes_for_frame,
356 registers_changed, registers_fetched, read_register_bytes,
357 read_register_gen, write_register_gen, read_register,
358 read_signed_register, write_register, supply_register): Replace
359 register_valid[] with register_cached() and
360 set_register_cached().
361 (read_register_bytes, read_register_gen, write_register_gen,
362 read_register, read_signed_register, write_register,
363 supply_register): Replace registers[] with register_buffer().
364 (read_register_bytes, read_register_gen, read_register,
365 read_signed_register): Call fetch_register().
366 (write_register_gen, write_register): Call real_register() and
367 store_register().
368 (write_register_bytes): Call store_register().
369 * value.h (set_register_cached, register_buffer): Prototype.
370 * remote.c (remote_fetch_registers): Allocate regs[] with a
371 run-time size. Replace register_valid[] with
372 set_register_cached().
373 (store_register_using_P, remote_store_registers): Replace
374 registers[] with register_buffer().
375
376 2001-01-08 Nicholas Duffek <nsd@redhat.com>
377
378 * regcache.c: Change "write-back" comment to "write-through".
379 Change "regno" to "regnum".
380 (read_register, read_signed_register): Remove "raw" from return
381 value description.
382 (supply_register): Spelling fix.
383 * value.h: Change "regno" to "regnum".
384
385 2001-01-08 Fernando Nasser <fnasser@redhat.com>
386
387 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
388 to be installed.
389
390 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
391
392 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
393
394 2001-01-04 Nicholas Duffek <nsd@redhat.com>
395
396 * valops.c (VALUE_SUBSTRING_START): Delete.
397
398 2001-01-04 Nicholas Duffek <nsd@redhat.com>
399
400 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
401 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
402 (cli_utils_h): New variable.
403 (cli/cli-utils.o): New rule.
404 * cli/cli-utils.c: New file.
405 * cli/cli-utils.h: New file.
406
407 2001-01-04 Nicholas Duffek <nsd@redhat.com>
408
409 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
410 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
411
412 2001-01-03 J.T. Conklin <jtc@redback.com>
413
414 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
415 comment.
416
417 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
418
419 * sh-tdep.c (sh_extract_return_value): Allow for small return type.
420 (sh_sh4_extract_return_value): Call sh_extract_return_value for
421 non-float types.
422 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
423 Update copyright notice.
424
425 For older changes see ChangeLog-2000
426 \f
427 Local Variables:
428 mode: change-log
429 left-margin: 8
430 fill-column: 74
431 version-control: never
432 End:
This page took 0.038027 seconds and 4 git commands to generate.