* defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
[binutils-gdb.git] / gdb / ChangeLog
1 2001-03-01 J.T. Conklin <jtc@redback.com>
2
3 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
4 if __CYGWIN32__ is set from here.
5 * config/i386/xm-cygwin.h: To here.
6 * config/powerpc/xm-cygwin.h: To here.
7
8 * i386-stub.c (handle_exception): Use 'T' response packet.
9
10 2001-03-01 Michael Snyder <msnyder@mvstp600e.cygnus.com>
11
12 * m32r-tdep.c: Fix cut and paste error in comment.
13
14 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
15
16 * symtab.c (print_msymbol_info): Print addresses by portable method
17 longest_local_hex_string_custom. Allow for 64-bit addresses.
18
19 2001-03-01 J.T. Conklin <jtc@redback.com>
20
21 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
22 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
23 (MIN_OF_TYPE): Likewise.
24
25 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
26
27 2001-03-01 Andrew Cagney <ac131313@redhat.com>
28
29 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
30 * os9kread.c (os9k_process_one_symbol): Add assert to detect
31 ``loses if sizeof (char *) > sizeof (int)''.
32
33 2001-03-01 Andrew Cagney <ac131313@redhat.com>
34
35 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
36
37 2001-03-01 Andrew Cagney <ac131313@redhat.com>
38
39 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
40 lists.
41 (mi-main.o): Ditto.
42
43 2001-03-01 Andrew Cagney <ac131313@redhat.com>
44
45 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
46 dependency lists.
47
48 2001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
49
50 * printcmd.c (print_address_numeric): Update comments to refer
51 to sizeof addr, not sizeof pointer.
52 (x_command): Remove needless whitespace (shorten long line).
53
54 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
55 (read_memory_nobpt): Ditto.
56 (ep_is_catchpoint): Ditto.
57 (ep_is_shlib_catchpoint): Ditto.
58 (ep_is_exception_catchpoint): Ditto.
59 (describe_other_breakpoints): Ditto.
60
61 Wed Feb 28 20:37:36 2001 Andrew Cagney <ac131313@redhat.com>
62
63 * regcache.h (register_valid): Fix comment documenting valid
64 states.
65
66 Tue Feb 27 23:56:23 2001 Andrew Cagney <ac131313@redhat.com>
67
68 From Steven Johnson:
69 * regcache.h: New file.
70
71 * value.h (read_register_bytes, read_register_gen)
72 (write_register_gen, write_register_bytes)
73 (read_register, read_register_pid)
74 (read_signed_register, read_signed_register_pid)
75 (write_register, write_register_pid)
76 (register_cached, set_register_cached)
77 (register_changed, register_buffer)
78 (registers_changed, supply_register): Move declaration from here.
79 * regcache.h: To here.
80 * gdbcore.h (registers_fetched): Ditto.
81 * inferior.h (registers, registers_valid): Ditto.
82
83 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
84 generic_target_write_pc, write_pc_pid, write_pc,
85 generic_target_read_sp, read_sp, generic_target_write_sp,
86 write_sp, generic_target_read_fp, read_fp,
87 generic_target_write_fp, write_fp): Add note that these functions
88 will be moved from this file.
89
90 * a29k-tdep.c: Include "regcache.h".
91 * a68v-nat.c: Ditto.
92 * abug-rom.c: Ditto.
93 * alpha-nat.c: Ditto.
94 * alpha-tdep.c: Ditto.
95 * alphabsd-nat.c: Ditto.
96 * arc-tdep.c: Ditto.
97 * arm-linux-nat.c: Ditto.
98 * arm-linux-tdep.c: Ditto.
99 * arm-tdep.c: Ditto.
100 * blockframe.c: Ditto.
101 * core-aout.c: Ditto.
102 * core-sol2.c: Ditto.
103 * corelow.c: Ditto.
104 * cpu32bug-rom.c: Ditto.
105 * cxux-nat.c: Ditto.
106 * d10v-tdep.c: Ditto.
107 * d30v-tdep.c: Ditto.
108 * dbug-rom.c: Ditto.
109 * dink32-rom.c: Ditto.
110 * dve3900-rom.c: Ditto.
111 * findvar.c: Ditto.
112 * fr30-tdep.c: Ditto.
113 * frame.c: Ditto.
114 * go32-nat.c: Ditto.
115 * h8300-tdep.c: Ditto.
116 * h8500-tdep.c: Ditto.
117 * hp300ux-nat.c: Ditto.
118 * hppa-tdep.c: Ditto.
119 * hppab-nat.c: Ditto.
120 * hppah-nat.c: Ditto.
121 * hppam3-nat.c: Ditto.
122 * hpux-thread.c: Ditto.
123 * i386-linux-nat.c: Ditto.
124 * i386-linux-tdep.c: Ditto.
125 * i386-tdep.c: Ditto.
126 * i386aix-nat.c: Ditto.
127 * i386b-nat.c: Ditto.
128 * i386bsd-nat.c: Ditto.
129 * i386gnu-nat.c: Ditto.
130 * i386ly-tdep.c: Ditto.
131 * i386m3-nat.c: Ditto.
132 * i386mach-nat.c: Ditto.
133 * i386nbsd-nat.c: Ditto.
134 * i386v4-nat.c: Ditto.
135 * i387-nat.c: Ditto.
136 * i387-tdep.c: Ditto.
137 * i960-tdep.c: Ditto.
138 * ia64-aix-nat.c: Ditto.
139 * ia64-linux-nat.c: Ditto.
140 * ia64-tdep.c: Ditto.
141 * infptrace.c: Ditto.
142 * infrun.c: Ditto.
143 * irix4-nat.c: Ditto.
144 * irix5-nat.c: Ditto.
145 * lin-lwp.c: Ditto.
146 * lin-thread.c: Ditto.
147 * lynx-nat.c: Ditto.
148 * m3-nat.c: Ditto.
149 * m32r-rom.c: Ditto.
150 * m32r-tdep.c: Ditto.
151 * m68hc11-tdep.c: Ditto.
152 * m68k-tdep.c: Ditto.
153 * m68klinux-nat.c: Ditto.
154 * m68knbsd-nat.c: Ditto.
155 * m68knbsd-tdep.c: Ditto.
156 * m88k-nat.c: Ditto.
157 * m88k-tdep.c: Ditto.
158 * mac-nat.c: Ditto.
159 * mcore-rom.c: Ditto.
160 * mcore-tdep.c: Ditto.
161 * mi/mi-main.c: Ditto.
162 * mips-nat.c: Ditto.
163 * mips-tdep.c: Ditto.
164 * mipsm3-nat.c: Ditto.
165 * mipsv4-nat.c: Ditto.
166 * mn10200-tdep.c: Ditto.
167 * mn10300-tdep.c: Ditto.
168 * monitor.c: Ditto.
169 * ns32km3-nat.c: Ditto.
170 * ns32knbsd-nat.c: Ditto.
171 * ocd.c: Ditto.
172 * pa64solib.c: Ditto.
173 * ppc-bdm.c: Ditto.
174 * ppc-linux-nat.c: Ditto.
175 * ppc-linux-tdep.c: Ditto.
176 * ppcbug-rom.c: Ditto.
177 * ppcnbsd-nat.c: Ditto.
178 * ptx4-nat.c: Ditto.
179 * regcache.c: Ditto.
180 * remote-adapt.c: Ditto.
181 * remote-array.c: Ditto.
182 * remote-bug.c: Ditto.
183 * remote-e7000.c: Ditto.
184 * remote-eb.c: Ditto.
185 * remote-es.c: Ditto.
186 * remote-est.c: Ditto.
187 * remote-hms.c: Ditto.
188 * remote-mips.c: Ditto.
189 * remote-mm.c: Ditto.
190 * remote-nindy.c: Ditto.
191 * remote-os9k.c: Ditto.
192 * remote-rdi.c: Ditto.
193 * remote-rdp.c: Ditto.
194 * remote-sds.c: Ditto.
195 * remote-sim.c: Ditto.
196 * remote-st.c: Ditto.
197 * remote-udi.c: Ditto.
198 * remote-utils.c: Ditto.
199 * remote-vx.c: Ditto.
200 * remote-vx29k.c: Ditto.
201 * remote-vx68.c: Ditto.
202 * remote-vx960.c: Ditto.
203 * remote-vxmips.c: Ditto.
204 * remote-vxsparc.c: Ditto.
205 * remote.c: Ditto.
206 * rom68k-rom.c: Ditto.
207 * rs6000-nat.c: Ditto.
208 * rs6000-tdep.c: Ditto.
209 * sh-tdep.c: Ditto.
210 * sh3-rom.c: Ditto.
211 * sol-thread.c: Ditto.
212 * solib-svr4.c: Ditto.
213 * somsolib.c: Ditto.
214 * sparc-nat.c: Ditto.
215 * sparc-tdep.c: Ditto.
216 * sparcl-tdep.c: Ditto.
217 * sparclet-rom.c: Ditto.
218 * sun3-nat.c: Ditto.
219 * sun386-nat.c: Ditto.
220 * symm-nat.c: Ditto.
221 * target.c: Ditto.
222 * thread-db.c: Ditto.
223 * thread.c: Ditto.
224 * tic80-tdep.c: Ditto.
225 * tracepoint.c: Ditto.
226 * ultra3-nat.c: Ditto.
227 * umax-xdep.c: Ditto.
228 * uw-thread.c: Ditto.
229 * v850-tdep.c: Ditto.
230 * v850ice.c: Ditto.
231 * valops.c: Ditto.
232 * w65-tdep.c: Ditto.
233 * w89k-rom.c: Ditto.
234 * win32-nat.c: Ditto.
235 * wince.c: Ditto.
236 * z8k-tdep.c: Ditto.
237
238 2001-02-28 Matt Hiller <hiller@redhat.com>
239
240 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
241
242 Tue Feb 27 16:56:13 2001 David Taylor <taylor@redhat.com>
243
244 * symtab.c (search_symbols): Fix off by one error in test for
245 error.
246
247 2001-02-23 Andrew Cagney <ac131313@redhat.com>
248
249 * config/sparc/sp64linux.mt: New file.
250 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
251 * configure.host: Recognize sparc64-*-linux* as a linux host.
252
253 From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
254 * config/sparc/tm-sp64linux.h: New file.
255
256 2001-02-24 Kevin Buettner <kevinb@redhat.com>
257
258 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
259 with call to internal_error().
260 * dbxread.c (process_one_symbol): Likewise.
261 * exec.c (build_section_table, xfer_memory): Likewise.
262 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
263 Likewise.
264 * hpread.c (hpread_type_translate, hpread_read_array_type)
265 (hpread_type_lookup): Likewise.
266 * i386-tdep.c (gdb_print_insn_i386): Likewise.
267 * i960-tdep.c (mem): Likewise
268 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
269 * infptrace.c (child_resume): Likewise.
270 * infttrace.c (_initialize_infttrace): Likewise.
271 * language.c (binop_result_type, add_language): Likewise.
272 * lynx-nat.c (store_inferior_registers): Likewise.
273 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
274 * mdebugread.c (parse_partial_symbols): Likewise.
275 * monitor.c (monitor_printf_noecho, monitor_printf)
276 (monitor_dump_regs): Likewise.
277 * ocd.c (stu_put_packet): Likewise.
278 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
279 * remote-bug.c (bug_open): Likewise.
280 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
281 * remote-es.c (es1800_read_bytes): Likewise.
282 * remote-mips.c (common_breakpoint): Likewise.
283 * remote-rdp.c (send_rdp): Likewise.
284 * remote-sds.c (putmessage): Likewise.
285 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
286 Likewise.
287 * sparcl-tdep.c (sparclite_download): Likewise.
288 * symtab.c (lookup_partial_symbol): Likewise.
289 * target.c (push_target, pop_target, initialize_targets): Likewise.
290 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
291 Likewise.
292 * valprint.c (print_decimal, print_longest, print_longest)
293 (strcat_longest): Likewise.
294 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
295 * xmodem.c (xmodem_send_packet): Likewise.
296 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
297 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
298 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
299 (STORE_RETURN_VALUE): Likewise.
300 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
301 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
302 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
303 Likewise.
304
305 2001-02-23 Andrew Cagney <ac131313@redhat.com>
306
307 * CONTRIBUTE: Document how to cite a problem report.
308 * TODO: Note need to replace CONTRIBUTE with generated file.
309
310 * CONTRIBUTE: Mention that patches do not need to include the
311 generated files gdbarch.h and gdbarch.c.
312
313 2001-02-21 Andrew Cagney <ac131313@redhat.com>
314
315 * value.h (get_saved_register): Move from here.
316 * frame.h: To here.
317
318 2001-02-21 Kevin Buettner <kevinb@redhat.com>
319
320 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
321 (in_solib_dynsym_resolve_code): Add declaration.
322 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
323 in_solib_dynsym_resolve_code() rather than
324 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
325 which caused this macro to only be defined when
326 SVR4_SHARED_LIBS is defined.
327 * solib.c (in_solib_dynsym_resolve_code): New function.
328 * solist.h (struct target_so_ops): Add new member
329 in_dynsym_resolve_code.
330 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
331 in_svr4_dynsym_resolve_code. Also, made static.
332 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
333 member in aix5_so_ops.
334 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
335 in_svr4_dynsym_resolve_code. Also, added second version
336 of this function which will be used when SVR4_SHARED_LIBS
337 is not defined.
338 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
339 member in svr4_so_ops.
340
341 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
342 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
343 config/ia64/xm-aix.h: New files.
344 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
345 (ia64_aix_sigcontext_register_address): New declaration.
346 (ia64_gdbarch_init): Provide for initialization of
347 sigcontext_register_address member of struct tdep when
348 on target is detected to be running AIX.
349 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
350 this list.
351
352 2001-02-20 Kevin Buettner <kevinb@redhat.com>
353
354 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
355 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
356 for thread support instead of linux-thread.o and lin-thread.o.
357 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
358 ATTACH_LWP): Define to use the following lin-lwp.c functions...
359 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
360 lin_lwp_attach_lwp): Declare.
361
362 2001-02-20 Andrew Cagney <ac131313@redhat.com>
363
364 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
365 formatting.
366
367 2001-02-20 Kevin Buettner <kevinb@redhat.com>
368
369 * solib-aix5.c (solib-svr4.h): Remove include.
370 (solib_break_names): Delete names which aren't actually
371 used by AIX5.
372 (bkpt_names): Remove.
373 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
374 to STREQ() with equivalent calls to strcmp().
375 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
376 aix5_solib_create_inferior_hook): Revise comments.
377 (enable_break): Remove old ``bkpt_names'' code.
378
379 2001-02-19 Andrew Cagney <ac131313@redhat.com>
380
381 * Makefile.in (SFILES): Add frame.c .
382 (COMMON_OBS): Add frame.o .
383 (frame.o): New target.
384
385 * frame.c (find_saved_register):
386 (default_get_saved_register):
387 (get_saved_register):
388 (read_relative_register_raw_bytes_for_frame):
389 (read_relative_register_raw_bytes): Moved to here.
390 * regcache.c: From here.
391
392 2001-02-20 Kevin Buettner <kevinb@redhat.com>
393
394 * solib-aix5.c: New file.
395
396 2001-02-20 Martin M. Hunt <hunt@redhat.com>
397
398 * solib.c (info_sharedlibrary_command): Don't assume pointers
399 are the same size of long, call longest_local_hex_string_custom().
400
401 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
402 extract_signed_integer() should be called instead of
403 extract_address().
404
405 2001-02-20 Martin M. Hunt <hunt@redhat.com>
406
407 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
408
409 2001-02-19 Andrew Cagney <ac131313@redhat.com>
410
411 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
412 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
413 then floating point registers are 8 bytes.
414
415 2001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
416
417 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
418 accomodate 64-bit addresses.
419
420 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
421
422 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
423 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
424 lookup_symbol, when trying to find a symbol with a mangled name,
425 to avoid infinite recursion.
426
427 2001-02-18 Andrew Cagney <ac131313@redhat.com>
428
429 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
430
431 2001-02-19 Jonathan Larmour <jlarmour@redhat.com>
432
433 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
434 (save_prologue_cache): Ditto.
435
436 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
437
438 From: innadadadavida@yahoo.com:
439 * partial-stab.h (switch): Check that pst is not null
440 before dereferencing it.
441
442 2001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
443
444 From Andrew Cagney <cagney@b1.cygnus.com>:
445 * symfile.c (add_symbol_file_command): Always initialize
446 my_cleanup using a NULL cleanup.
447
448 2001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
449
450 * demangle.c (demangling_style_names): New variable.
451 (_initialize_demangler): Fill demangling_style_names with the
452 names of known demangling styles from libiberty_demanglers[]. Use
453 add_set_enum_cmd instead of add_set_cmd, to get completion on
454 demangling style names.
455
456 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
457 file-name completion.
458
459 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
460
461 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
462 `solib-absolute-prefix'.
463
464 * tracepoint.c (_initialize_tracepoint): Ditto for
465 `save-tracepoints'.
466
467 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
468
469 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
470 file-name completion.
471
472 * infcmd.c (_initialize_infcmd): Make the following commands use
473 the file-name completer: `tty', `args', `path', `paths', and
474 `run'.
475
476 2001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
477
478 * go32-nat.c: Include i387-nat.h.
479 (fetch_register): New function, uses some of the guts of
480 go32_fetch_registers and calls i387_supply_register.
481 (go32_fetch_registers): Most of the code moved into
482 fetch_register. Use i387_supply_fsave.
483 (store_register): Use i387_fill_fsave instead of custom code.
484 (go32_store_registers): Use i387_fill_fsave.
485
486 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
487
488 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
489
490 * completer.c (gdb_completer_file_name_break_characters): Remove
491 slash from file-name break characters.
492 [__MSDOS__]: Special definition for DOS/Windows file names.
493 (line_completion_function): When completing on file names, bump
494 `p' to the first file-name constituent character of `word', before
495 invoking the completer.
496
497 2001-02-17 Mark Kettenis <kettenis@gnu.org>
498
499 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
500 consistently for parameter names. Fix comments accordingly.
501 (i387_supply_register): New function.
502 (i387_supply_fsave): Implement using i387_supply_register.
503 * i387-nat.h: Use regnum instead of regno consistently for
504 parameter names. Fix comments accordingly.
505 (i387_supply_register): New prototype.
506
507 2001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
508
509 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
510 instead of TARGET_PTR_BIT (to support Harvard architectures).
511
512 2001-02-16 Andrew Cagney <ac131313@redhat.com>
513
514 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
515 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
516 argument to parameter list and to call in order to conform to
517 to_xfer_memory field of struct target_ops.
518
519 2001-02-12 Michael Chastain <chastain@redhat.com>
520
521 * somsolib.c (som_solib_add_solib_objfile): Do not use
522 section relocation feature of syms_from_objfile. Do my own
523 section relocation, offsetting each section of the som by
524 either text_addr - text_link_addr or data_start.
525
526 2001-02-16 Andrew Cagney <ac131313@redhat.com>
527
528 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
529
530 2001-02-16 Andrew Cagney <ac131313@redhat.com>
531
532 * MAINTAINERS (paper trail): Update.
533
534 2001-02-16 Mark Kettenis <kettenis@gnu.org>
535
536 * target.h (target_fetch_registers): Fix comment.
537
538 2001-02-15 Andrew Cagney <ac131313@redhat.com>
539
540 * f-exp.y: Include <ctype.h>.
541 (parse_number): Ensure that ``i'' is always initialized.
542
543 2001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
544
545 * MAINTAINERS: Add myself to paper trail section.
546
547 2001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
548
549 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
550 * configure, config.in: Regenerate.
551 * corelow.c: Include <sys/file.h> if present.
552
553 2001-02-14 Andrew Cagney <ac131313@redhat.com>
554
555 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
556 declare when have SIGTTOU.
557
558 2001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
559
560 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
561
562 2001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
563
564 * MAINTAINERS: Update my email address.
565
566 2001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
567
568 * NEWS: Document that "info symbol" works with COFF debug info and
569 its variants.
570
571 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
572 symbols whose SYMBOL_BFD_SECTION is NULL.
573
574 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
575
576 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
577 * xcoffsolib.c (xcoff_solib_address): Renamed from
578 pc_load_segment_name. Return NULL if address is not in a shared
579 library. Cleanup shared library name construction, using xasprintf.
580 Format shared library member names consistent with format in exec.c.
581 (solib_info): Format shared library member names consistent with
582 format in exec.c.
583 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
584 using xcoff_solib_address for PC_SOLIB definition.
585 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
586 needed.
587
588 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
589
590 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
591 with xmalloc calls and cleanups.
592
593 2001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
594
595 * rs6000-nat.c (child_xfer_memory): Add missing parameter
596 'struct mem_attrib *' required by 2001-01-23 change.
597
598 2001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
599
600 Updates to "make TAGS":
601 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
602 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
603 tahoe-tdep.c.
604 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
605
606 2001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
607
608 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
609
610 Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
611
612 From Dean Luick <luick@cray.com>:
613 * defs.h (continuation): Remove unused global variable.
614
615 Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
616
617 * configure.tgt: Remove references to convex, pyramid, altos and
618 tahoe.
619 * configure.host: Ditto.
620 * MAINTAINERS: Ditto.
621 * NEWS: Update.
622
623 * tahoe-tdep.c: Delete obsolete file.
624 * pyr-xdep.c: Ditto.
625 * pyr-tdep.c: Ditto.
626 * convex-tdep.c: Ditto.
627 * convex-xdep.c: Ditto.
628 * config/tahoe/xm-tahoe.h: Ditto.
629 * config/tahoe/tm-tahoe.h: Ditto.
630 * config/tahoe/tahoe.mt: Ditto.
631 * config/tahoe/tahoe.mh: Ditto.
632 * config/pyr/xm-pyr.h: Ditto.
633 * config/pyr/tm-pyr.h: Ditto.
634 * config/pyr/pyramid.mt: Ditto.
635 * config/pyr/pyramid.mh: Ditto.
636 * config/m68k/xm-altos.h: Ditto.
637 * config/m68k/tm-altos.h: Ditto.
638 * config/m68k/altos.mt: Ditto.
639 * config/m68k/altos.mh: Ditto.
640 * config/convex/xm-convex.h: Ditto.
641 * config/convex/tm-convex.h: Ditto.
642 * config/convex/convex.mt: Ditto.
643 * config/convex/convex.mh: Ditto.
644 * config/convex/Convex.notes: Ditto.
645 * config/arm/xm-arm.h: Ditto.
646 * config/arm/nm-arm.h: Ditto.
647 * config/arm/arm.mt: Ditto.
648 * config/arm/arm.mh: Ditto.
649 * arm-convert.s: Ditto.
650 * arm-xdep.c: Ditto.
651 * altos-xdep.c: Ditto.
652
653 Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
654
655 * defs.h (internal_error, internal_verror): Add __FILE__ and
656 __LINE__ parameter.
657 * utils.c (internal_error, internal_verror): Update.
658
659 * v850-tdep.c: Update calls to internal_error.
660 * utils.c: Ditto.
661 * ui-out.c: Ditto.
662 * ui-file.c: Ditto.
663 * target.h: Ditto.
664 * symtab.h: Ditto.
665 * symm-nat.c: Ditto.
666 * sparc-tdep.c: Ditto.
667 * source.c: Ditto.
668 * serial.c: Ditto.
669 * rs6000-tdep.c: Ditto.
670 * rs6000-nat.c: Ditto.
671 * remote.c: Ditto.
672 * remote-vx.c: Ditto.
673 * remote-sim.c: Ditto.
674 * remote-mips.c: Ditto.
675 * regcache.c: Ditto.
676 * objfiles.h: Ditto.
677 * objfiles.c: Ditto.
678 * mn10300-tdep.c: Ditto.
679 * mips-tdep.c: Ditto.
680 * maint.c: Ditto.
681 * m68k-tdep.c: Ditto.
682 * m3-nat.c: Ditto.
683 * language.c: Ditto.
684 * infptrace.c: Ditto.
685 * inferior.h: Ditto.
686 * infcmd.c: Ditto.
687 * ia64-tdep.c: Ditto.
688 * i386-tdep.c: Ditto.
689 * i386-linux-nat.c: Ditto.
690 * hppah-nat.c: Ditto.
691 * go32-nat.c: Ditto.
692 * findvar.c: Ditto.
693 * f-lang.c: Ditto.
694 * elfread.c: Ditto.
695 * event-loop.c: Ditto.
696 * dwarf2read.c: Ditto.
697 * dsrec.c: Ditto.
698 * d30v-tdep.c: Ditto.
699 * d10v-tdep.c: Ditto.
700 * cli/cli-setshow.c: Ditto.
701 * cli/cli-script.c: Ditto.
702 * ch-exp.c: Ditto.
703 * breakpoint.c: Ditto.
704 * ax-gdb.c: Ditto.
705 * arch-utils.c: Ditto.
706 * a29k-tdep.c: Ditto.
707 * gdb_assert.h: Ditto.
708 * gdbarch.sh: Ditto.
709 * gdbarch.h, gdbarch.c: Re-generate.
710
711 2001-02-07 Andrew Cagney <ac131313@redhat.com>
712
713 From Mark Kettenis <kettenis@gnu.org>:
714 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
715
716 2001-02-07 Andrew Cagney <ac131313@redhat.com>
717
718 * remote-sim.c (dump_mem): Cleanup printf format argument.
719 * MAINTAINERS: Update, mn10300-elf now builds.
720
721 2001-02-07 Mark Kettenis <kettenis@gnu.org>
722
723 * event-top.c: Remove duplicate #include <signal.h>.
724
725 2001-02-06 Andrew Cagney <ac131313@redhat.com>
726
727 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
728 allocated buffer.
729 (save_inferior_pid): Restore the PID from that tempoary
730 buffer. Delete the buffer.
731 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
732
733 2001-02-06 Andrew Cagney <ac131313@redhat.com>
734
735 * MAINTAINERS: Add ``The Obvious Fix Rule''.
736
737 2001-02-06 Andrew Cagney <ac131313@redhat.com>
738
739 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
740
741 2001-02-06 Andrew Cagney <ac131313@cygnus.com>
742
743 * gdbarch.sh: Include "gdb_assert.h".
744 (struct gdbarch): Change ``nr_data'' to unsigned.
745 (alloc_gdbarch_data, free_gdbarch_data): New functions.
746 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
747 architecture vector.
748 (struct gdbarch_data, struct gdbarch_data_registration): Move init
749 method to gdbarch_data. Add free method, make index unsigned.
750 (struct gdbarch_data_registry): Make nr unsigned.
751 (register_gdbarch_data): Add free parameter. Store in
752 gdbarch_data.
753 (init_gdbarch_data): Use set_gdbarch_data.
754 (set_gdbarch_data): New function.
755
756 * gdbarch.h, gdbarch.c: Re-generate.
757
758 2001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
759
760 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
761 fprintf_filtered with correct arguments.
762
763 2001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
764 Submitted by Paul Hilfinger (hilfingr@gnat.com)
765 and Andrei Petrov (and@genesyslab.com).
766 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
767 must be allocated dynamically, since these are no longer constants.
768 * infcmd.c: Ditto.
769 * regcache.c: Ditto.
770 * remote.c: Ditto.
771 * sol-thread.c: Ditto.
772 * valops.c: Ditto.
773 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
774 work-around for a missing Sun header file in solaris for sparc64.
775
776 2001-02-04 Philip Blundell <philb@gnu.org>
777
778 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
779 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
780 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
781 GET_THREAD_SIGNALS): Define.
782 * arm-linux-nat.c (fill_gregset): Correct type of argument.
783 (supply_gregset): Likewise.
784 (fill_fpregset): Likewise.
785 (supply_fpregset): Likewise.
786
787 Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
788
789 * valops.c (value_cast): If casting a scalar to a pointer, do not
790 issue a message about truncation unless it exceeds the length of
791 an address, not the length of a pointer. This is because what the
792 user gives us is an address, not a pointer, and we will ultimately
793 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
794 to a pointer. This allows things like "print *(int *)0x01000234"
795 to work without generating a misleading message on a target having
796 two byte pointers and four byte addresses.
797
798 2001-02-05 Christopher Faylor <cgf@cygnus.com>
799
800 * win32-nat.c: Change PTR to void * throughout.
801
802 2001-02-05 J.T. Conklin <jtc@redback.com>
803
804 * signals.h: Removed.
805 * event-top.c (#include <signal.h>): Changed from signals.h.
806 * inflow.c: Likewise.
807 * mac-xdep.c: Likewise.
808 * ser-pipe.c: Likewise.
809 * ser-tcp.c: Likewise.
810 * standalone.c: Likewise.
811 * top.c: Likewise.
812 * utils.c: Likewise.
813 * Makefile.in: Removed signals.h from dependencies.
814
815 2001-02-05 Christopher Faylor <cgf@cygnus.com>
816
817 Change suggested by Dean Luick <luick@cray.com>
818 * inferior.h (step_over_calls_kind): Remove trailing comma from
819 last enum element.
820 (step_over_calls): Declare as extern rather than global.
821
822 2001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
823
824 * sh-tdep.c: Update copyright.
825 (sh_extract_return_value): Rewrite.
826 (sh3e_sh4_extract_return_value): New function.
827 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
828 version of the function for sh3e and sh4 CPUs.
829
830 2001-02-05 Michael Chastain <chastain@redhat.com>
831
832 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
833 to conform with interface change.
834
835 2001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
836
837 * config/djgpp/fnchange.lst: Tweak to make consistent with the
838 new files.
839
840 * config/djgpp/djconfig.sh: Use explicit absolute file name when
841 invoking `find'.
842
843 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
844 UART_FIFO_WORKS is defined. Otherwise use outportb.
845 From Francisco Pastor <fpastor.etra-id@etra.es>
846
847 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
848 with target.h's `to_xfer_memory' member.
849
850 2001-02-02 J.T. Conklin <jtc@redback.com>
851
852 * ppc-bdm.c (#include <signal.h>): Removed.
853 * remote-array.c: Likewise.
854 * remote-bug.c: Likewise.
855 * remote-e7000.c: Likewise.
856 * remote-mips.c: Likewise.
857 * remote-os9k.c: Likewise.
858 * remote-st.c: Likewise.
859 * remote-udi.c: Likewise.
860 * remote-vx29k.c: Likewise.
861 * remote-vx68.c: Likewise.
862 * remote-vx960.c: Likewise.
863 * remote-vxmips.c: Likewise.
864 * remote-vxsparc.c: Likewise.
865
866 2001-02-02 John Moore <jmoore@redhat.com>
867
868 * remote-utils.h (sr_set_device): Changed free() to xfree() where
869 appropriate. Also changed Copyright to include 2001.
870 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
871 * value.h (value_free): Likewise.
872 * gdbarch.sh (gdbarch_free): Likewise.
873 * gdbarch.c, gdbarch.h: Regenerated.
874
875 2001-02-02 John Moore <jmoore@redhat.com>
876
877 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
878 xfree(). Also changed Copyright to include 2001.
879
880 2001-02-02 J.T. Conklin <jtc@redback.com>
881
882 * monitor.c (#include "gdb_wait.h"): Removed.
883 * ocd.c: Likewise.
884 * ppc-bdm.c: Likewise.
885 * remote-adapt.c: Likewise.
886 * remote-array.c: Likewise.
887 * remote-bug.c: Likewise.
888 * remote-e7000.c: Likewise.
889 * remote-eb.c: Likewise.
890 * remote-es.c: Likewise.
891 * remote-mips.c: Likewise.
892 * remote-mm.c: Likewise.
893 * remote-nindy.c: Likewise.
894 * remote-os9k.c: Likewise.
895 * remote-rdi.c: Likewise.
896 * remote-rdp.c: Likewise.
897 * remote-sds.c: Likewise.
898 * remote-sim.c: Likewise.
899 * remote-st.c: Likewise.
900 * remote-udi.c: Likewise.
901 * remote-vx.c: Likewise.
902 * remote-vx29k.c: Likewise.
903 * remote-vx68.c: Likewise.
904 * remote-vx960.c: Likewise.
905 * remote-vxmips.c: Likewise.
906 * remote-vxsparc.c: Likewise.
907 * remote.c: Likewise.
908 * ser-pipe.c: Likewise.
909 * ser-unix.c: Likewise.
910 * Makefile.in: Updated dependencies.
911
912 2001-01-31 David Smith <dsmith@redhat.com>
913
914 * event-loop.c: Change inclusion of string.h to gdb_string.h and
915 updated the copyright notice.
916 * ser-pipe.c: Ditto.
917 * mi/mi-cmds.c: Ditto.
918 * mi/mi-console.c: Ditto.
919 * mi/mi-getopt.c: Ditto.
920 * mi/mi-parse.c: Ditto.
921
922 2001-01-31 David Smith <dsmith@redhat.com>
923
924 * MAINTAINERS: Add David Smith to Write After Approval list.
925
926 Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
927
928 * cli/cli-utils.c (putchar_filtered): Move function from here.
929 * utils.c (putchar_filtered): To here.
930 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
931 * defs.h (putchar_filtered): To here.
932
933 Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
934
935 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
936 AC_FUNC_VFORK macro.
937 * config.in, configure: Re-generate.
938
939 * gdb_vfork.h: New file.
940 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
941 * fork-child.c (fork_inferior): Ditto.
942
943 Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
944
945 * defs.h (strsave): Delete declaration.
946 * utils.c (strsave): Delete definition.
947 * TODO (strsave): Update
948
949 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
950 * sparcl-tdep.c (sparclite_open): Ditto.
951 * mips-tdep.c (mips_set_processor_type_command): Ditto.
952 (_initialize_mips_tdep): Ditto.
953 * solib.c (solib_open): Ditto.
954 * symfile.c (add_filename_language): Ditto.
955 (set_ext_lang_command): Ditto.
956 * source.c (init_source_path): Ditto.
957 (mod_path): Ditto.
958 * sh3-rom.c (sh3_open): Ditto.
959 (sh3e_open): Ditto.
960 * serial.c (serial_open): Ditto.
961 * remote-mips.c (common_open): Ditto.
962 * monitor.c (monitor_open): Ditto.
963 * m32r-rom.c (m32r_upload_command): Ditto.
964 * infcmd.c (path_command): Ditto.
965 * f-exp.y (parse_number): Ditto.
966 * breakpoint.c (create_longjmp_breakpoint): Ditto.
967 (create_thread_event_breakpoint): Ditto.
968 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
969 (_initialize_arc_tdep): Ditto.
970
971 Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
972
973 * cli/cli-script.c (define_command): Check for a bad hook value in
974 switch statement.
975
976 2001-01-30 J.T. Conklin <jtc@redback.com>
977
978 * configure/sh/embed.mt: New file.
979 * configure/sh/linux.mt: New file.
980 * configure/sh/sh.mt: Removed.
981 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
982 (sh-*-*): Removed.
983
984 2001-01-29 Michael Chastain <chastain@redhat.com>
985
986 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
987 symbol comparisons in binary search.
988
989 2001-01-27 Christopher Faylor <cgf@cygnus.com>
990
991 * win32-nat.c (child_xfer_memory): Add missing argument required by
992 2001-01-23 change.
993
994 2001-01-27 Mark Kettenis <kettenis@gnu.org>
995
996 * ui-out.c (do_list_end): New function.
997 (make_cleanup_ui_out_list_end): New function.
998 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
999 * stack.c (print_frame) [UI_OUT]: Call
1000 make_cleanup_ui_out_list_end to make sure we mark the end of the
1001 list if we do a non-local exit. At the end of the function,
1002 instead of calling ui_out_list_end directly, let do_cleanups
1003 handle it.
1004
1005 2001-01-26 Fernando Nasser <fnasser@redhat.com>
1006
1007 Fix double parsing of filenames passed as command line arguments
1008 to GDB (causes weird handling of escape characters).
1009 Also, remove dependencies on the CLI from libgdb.
1010 * call-cmds.h: Remove declaration of exec_file_command().
1011 * gdbcore.h: Remove declaration of exec_file_command().
1012 Add declarations for exec_open() and exec_file_clear().
1013 * symfile.h: Add declarations for symbol_file_add_main() and
1014 symbol_file_clear().
1015 * exec.c (exec_open): New function. Implements to_open for exec
1016 targets.
1017 (exec_file_clear): New function. Makes GDB forget about a previously
1018 specified executable file.
1019 (exec_file_attach): Move parsing of arguments from here ...
1020 (exec_file_command): ... to here.
1021 (init_exec_ops): Use exec_open(), not exec_file_command() to
1022 implement to_open for exec targets.
1023 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
1024 with default values. Used when the file name has already been parsed.
1025 (symbol_file_clear): New function. Makes GDB forget about previously
1026 read symbols.
1027 (symbol_file_command): Call the above function instead of inline code.
1028 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
1029 "call-cmds.h".
1030 (captured_main): Call exec_file_attach() and symbol_file_add_main()
1031 instead of exec_file_command() and symbol_file_command().
1032 (captured_main): Add comment.
1033 * corefile.c: Include "symfile.h".
1034 (core_file_command): Call symbol_file_add_main() instead of
1035 symbol_file_command().
1036 (reopen_exec_file): Call exec_open() instead of exec_file_command().
1037 * infcmd.c: Include "symfile.h".
1038 (attach_command): Call symbol_file_add_main() instead of
1039 symbol_file_command().
1040 * infrun.c: Remove comment about the inclusion of "symfile.h",
1041 not any longer appropriate.
1042 (follow_exec): Call symbol_file_add_main() instead of
1043 symbol_file_command().
1044 * remote-es.c: Include "symfile.h".
1045 (es1800_load): Call symbol_file_add_main() instead of
1046 symbol_file_command().
1047 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
1048 not any longer appropriate.
1049 (vx-wait): Call symbol_file_add_main() instead of
1050 symbol_file_command().
1051 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
1052 instead of symbol_file_command().
1053 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
1054 symbol_file_add_main() instead of exec_file_command() and
1055 symbol_file_command().
1056 * Makefile.in: Update dependencies.
1057
1058 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
1059
1060 * remote-udi.c (udi_open): Change strdup to xstrdup.
1061 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
1062 Update copyright message.
1063 * varobj.c (delete_variable_1): Likewise.
1064
1065 * gdb_string.h: Remove declaration of strdup. Update copyright
1066 message.
1067 * config/xm-mpw.h: Likewise.
1068 * config/i386/xm-i386mach.h: Likewise.
1069 * config/m68k/xm-apollo68b.h: Likewise.
1070 * config/m68k/xm-hp300bsd.h: Likewise.
1071 * config/rs6000/xm-rs6000.h: Likewise.
1072 * config/vax/xm-vaxult.h: Remove declaration of strdup.
1073 * config/vax/xm-vaxult2.h: Likewise.
1074
1075 2001-01-26 Jeff Holcomb <jeffh@redhat.com>
1076
1077 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
1078
1079 2001-01-25 J.T. Conklin <jtc@redback.com>
1080
1081 * target.c (target_xfer_memory_partial): Return -1 on failure due
1082 to invalid access mode attribute.
1083
1084 2001-01-25 Christopher Faylor <cgf@cygnus.com>
1085
1086 * win32-nat.c (_initialize_core_win32): Prototype correctly.
1087
1088 2001-01-25 Mark Kettenis <kettenis@gnu.org>
1089
1090 * config/alpha/tm-fbsd.h: Update copyright.
1091 (USE_STRUCT_CONVENTION): Define in terms of
1092 alphabsd_use_struct_convention.
1093 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
1094 * alphafbsd-tdep.c: New file.
1095
1096 2001-01-24 Fernando Nasser <fnasser@redhat.com>
1097
1098 * top.c (print_gdb_version): Update Copyright year.
1099
1100 2001-01-24 J.T. Conklin <jtc@redback.com>
1101
1102 * dcache.c (dcache_write_line): Fix typo.
1103
1104 * memattr.c (delete_mem_region): Replace free() with xfree().
1105 (mem_number): Add explicit type.
1106
1107 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
1108 (rw_common): Likewise.
1109
1110 2001-01-24 Fernando Nasser <fnasser@redhat.com>
1111
1112 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
1113 for the inferior program arguments.
1114 (run_command, run_no_args_command, init_infcmd)): Use accessor
1115 functions to set the inferior program arguments.
1116 * inferior.h: Add definitions to the accessor functions above.
1117
1118 2001-01-23 Jim Blandy <jimb@redhat.com>
1119
1120 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
1121 Implement these correctly, using make_cv_type.
1122
1123 2001-01-23 J.T. Conklin <jtc@redback.com>
1124
1125 * exec.c (xfer_memory): Add attrib argument.
1126 * infptrace.c (child_xfer_memory): Likewise.
1127 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
1128 * monitor.c (monitor_xfer_memory): Likewise.
1129 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
1130 * remote-array.c (array_xfer_memory): Likewise.
1131 * remote-bug.c (bug_xfer_memory): Likewise.
1132 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
1133 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
1134 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
1135 * remote-mips.c (mips_xfer_memory): Likewise.
1136 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
1137 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
1138 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
1139 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
1140 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
1141 * remote-sds.c (sds_xfer_memory): Likewise.
1142 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
1143 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
1144 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
1145 * remote-vx.c (vx_xfer_memory): Likewise.
1146 * remote.c (remote_xfer_memory): Likewise.
1147 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
1148 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
1149 * thread-db.c (thread_db_xfer_memory): Likewise.
1150
1151 * target.h (#include "memattr.h"): Added.
1152 (target_ops.to_xfer_memory): Add attrib argument.
1153
1154 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
1155 * dcache.h (set_dcache_state): Removed declaration.
1156 * dcache.c (set_dcache_state): Removed definition
1157
1158 * dcache.c: Update module comment, as dcache is now enabled and
1159 disabled with memory region attributes instead of by the global
1160 variable "remotecache". Add comment describing the interaction
1161 between dcache and memory region attributes.
1162 (dcache_xfer_memory): Add comment describing benefits of moving
1163 cache writeback to a higher level.
1164 (dcache_struct): Removed cache_has_stuff field. This was used to
1165 record whether the cache had been accessed in order to invalidate
1166 it when it was disabled. However, this is not needed because the
1167 cache is write through and the code that enables, disables, and
1168 deletes memory regions invalidate the cache. Add comment which
1169 suggests that we could be more selective and only invalidate those
1170 cache lines containing data from those memory regions.
1171 (dcache_invalidate): Updated.
1172 (dcache_xfer_memory): Updated.
1173
1174 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
1175 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
1176 perform a uncached transfer if dcache_enabled_p was clear. This
1177 function is now only called if caching is enabled for the memory
1178 region.
1179 (dcache_info): Always print cache info.
1180
1181 * target.c (do_xfer_memory): Add attrib argument.
1182 (target_xfer_memory, target_xfer_memory_partial): Break transfer
1183 into chunks defined by memory regions, pass region attributes to
1184 do_xfer_memory().
1185 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
1186
1187 * Makefile.in (SFILES): Add memattr.c.
1188 (COMMON_OBS): Add memattr.o.
1189 (dcache.o): Add target.h to dependencies.
1190 * memattr.c: New file.
1191 * memattr.h: Likewise.
1192
1193 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
1194 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
1195 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
1196 * gdbserver/low-sim.c (#include "defs.h"): Removed.
1197 (mygeneric_load): Rename from generic_load.
1198
1199 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
1200 (#include "defs.h"): Removed.
1201 (inferior_pid, perror_with_name): Remove declarations.
1202 * gdbserver/low-linux.c: Likewise.
1203 * gdbserver/low-nbsd.c: Likewise.
1204 * gdbserver/low-sparc.c: Likewise.
1205 * gdbserver/low-sun3.c: Likewise.
1206
1207 * i386-stub.c: Re-indent.
1208 * m68k-stub.c: Re-indent.
1209
1210 2001-01-22 Nicholas Duffek <nsd@redhat.com>
1211
1212 * gdbarch.sh (PARM_BOUNDARY): Define.
1213 * gdbarch.c: Regenerate.
1214 * gdbarch.h: Regenerate.
1215
1216 2001-01-22 J.T. Conklin <jtc@redback.com>
1217
1218 * ns32k-tdep.c: #include "frame.h"
1219 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
1220 appears to have been inadvertantly removed sometime in May 1999.
1221
1222 * Revert 2000-11-09 changes where shared library objects were
1223 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
1224 we'd like to be able to debug dynamically linked executables,
1225 this makes it impossible to build a cross debugger on a many
1226 hosts.
1227
1228 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
1229 * config/i386/nbsdelf.mt: Likewise.
1230 * config/m68k/nbsd.mt: Likewise.
1231 * config/ns32k/nbsd.mt: Likewise.
1232 * config/powerpc/nbsd.mt: Likewise.
1233 * config/sparc/nbsd.mt: Likewise.
1234 * config/sparc/nbsdelf.mt: Likewise.
1235 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
1236 * config/i386/nbsdelf.mh: Likewise.
1237 * config/m68k/nbsd.mh: Likewise.
1238 * config/ns32k/nbsd.mh: Likewise.
1239 * config/powerpc/nbsd.mh: Likewise.
1240 * config/sparc/nbsd.mh: Likewise.
1241
1242 2001-01-19 Jason Merrill <jason@redhat.com>
1243
1244 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
1245 (process_one_symbol): Likewise.
1246 * dwarfread.c (handle_producer): Likewise.
1247
1248 Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
1249
1250 * configure.in (build_warnings): Disable -Wuninitialized until GDB
1251 compiles with -Wuninitialized,-Werror.
1252 * configure: Regenerate.
1253
1254 * MAINTAINERS: Add list of buildable targets.
1255
1256 Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
1257
1258 * defs.h (STRCMP): Delete macro.
1259
1260 * objfiles.c (objfile_relocate): Replace STRCMP with call to
1261 strcmp.
1262 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
1263 * symfile.c (compare_symbols): Ditto.
1264 * standalone.c (open): Ditto.
1265 * remote-es.c (verify_break): Ditto.
1266 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
1267
1268 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
1269
1270 Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
1271
1272 * varobj.c (FREEIF): Delete macro.
1273 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
1274 call.
1275
1276 2001-01-18 Nick Clifton <nickc@redhat.com>
1277
1278 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
1279 (arc_print_insn): No bfd available, so pass NULL to
1280 arc_get_disassembler.
1281
1282 2001-01-09 James Ingham <jingham@inghji.apple.com>
1283
1284 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
1285 a mangled symbol rather than recursing into lookup_symbol, since
1286 this will just re-unmangle the name & call lookup_symbol_aux -
1287 leading to an infinite recursion.
1288
1289 2001-01-18 Mark Kettenis <kettenis@gnu.org>
1290
1291 * infcmd.c (print_return_value): Restore another space lost by
1292 switch to UIOUT. ``$NN='' should be ``$NN =''.
1293
1294 Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
1295
1296 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
1297 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
1298 definition in parenthesis.
1299
1300 Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
1301
1302 From 2000-10-27 Mark Salter <msalter@redhat.com>:
1303 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
1304 packet.
1305 (remote_insert_hw_breakpoint): Ditto.
1306
1307 2001-01-17 J.T. Conklin <jtc@redback.com>
1308
1309 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
1310 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
1311 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
1312 * m68knbsd-tdep.c: New file.
1313
1314 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
1315
1316 * m68knbsd-nat.c: #include gdbcore.h.
1317
1318 Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
1319
1320 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
1321
1322 2001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
1323
1324 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
1325 goes away -- just return false (ie. not stopped by watchpoint).
1326 * source.c (openp): Fix typo in comment.
1327
1328 2001-01-12 Nicholas Duffek <nsd@redhat.com>
1329
1330 * blockframe.c (generic_get_saved_register): Spelling fix.
1331 * frame.h (FRAME_FP): Spelling fix.
1332
1333 Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
1334
1335 * infcmd.c (print_return_value): Restore space lost by switch to
1336 UIOUT. ``$NN='' should be ``$NN =''.
1337
1338 2001-01-08 Nicholas Duffek <nsd@redhat.com>
1339
1340 * regcache.c (set_register_cached, register_buffer,
1341 real_register, pseudo_register fetch_register, store_register):
1342 New functions.
1343 (register_changed, read_relative_register_raw_bytes_for_frame,
1344 registers_changed, registers_fetched, read_register_bytes,
1345 read_register_gen, write_register_gen, read_register,
1346 read_signed_register, write_register, supply_register): Replace
1347 register_valid[] with register_cached() and
1348 set_register_cached().
1349 (read_register_bytes, read_register_gen, write_register_gen,
1350 read_register, read_signed_register, write_register,
1351 supply_register): Replace registers[] with register_buffer().
1352 (read_register_bytes, read_register_gen, read_register,
1353 read_signed_register): Call fetch_register().
1354 (write_register_gen, write_register): Call real_register() and
1355 store_register().
1356 (write_register_bytes): Call store_register().
1357 * value.h (set_register_cached, register_buffer): Prototype.
1358 * remote.c (remote_fetch_registers): Allocate regs[] with a
1359 run-time size. Replace register_valid[] with
1360 set_register_cached().
1361 (store_register_using_P, remote_store_registers): Replace
1362 registers[] with register_buffer().
1363
1364 2001-01-08 Nicholas Duffek <nsd@redhat.com>
1365
1366 * regcache.c: Change "write-back" comment to "write-through".
1367 Change "regno" to "regnum".
1368 (read_register, read_signed_register): Remove "raw" from return
1369 value description.
1370 (supply_register): Spelling fix.
1371 * value.h: Change "regno" to "regnum".
1372
1373 2001-01-08 Fernando Nasser <fnasser@redhat.com>
1374
1375 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
1376 to be installed.
1377
1378 2001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
1379
1380 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
1381
1382 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1383
1384 * valops.c (VALUE_SUBSTRING_START): Delete.
1385
1386 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1387
1388 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
1389 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
1390 (cli_utils_h): New variable.
1391 (cli/cli-utils.o): New rule.
1392 * cli/cli-utils.c: New file.
1393 * cli/cli-utils.h: New file.
1394
1395 2001-01-04 Nicholas Duffek <nsd@redhat.com>
1396
1397 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
1398 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
1399
1400 2001-01-03 J.T. Conklin <jtc@redback.com>
1401
1402 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
1403 comment.
1404
1405 2001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
1406
1407 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
1408 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
1409 non-float types.
1410 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
1411 Update copyright notice.
1412
1413 For older changes see ChangeLog-2000
1414 \f
1415 Local Variables:
1416 mode: change-log
1417 left-margin: 8
1418 fill-column: 74
1419 version-control: never
1420 End: