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