]> Git Repo - binutils.git/blame - gdb/ChangeLog
* elf32-sparc.c (elf32_sparc_finish_dynamic_symbol): Don't make PLT
[binutils.git] / gdb / ChangeLog
CommitLineData
911413e6
JL
12001-02-19 Jonathan Larmour <[email protected]>
2
3 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
4 (save_prologue_cache): Ditto.
5
8d1de4b7
EZ
62001-02-19 Elena Zannoni <[email protected]>
7
8 From: [email protected]:
9 * partial-stab.h (switch): Check that pst is not null
10 before dereferencing it.
11
3017564a
EZ
122001-02-19 Elena Zannoni <[email protected]>
13
14 From Andrew Cagney <[email protected]>:
15 * symfile.c (add_symbol_file_command): Always initialize
16 my_cleanup using a NULL cleanup.
17
fa58ee11
EZ
182001-02-19 Eli Zaretskii <[email protected]>
19
20 * demangle.c (demangling_style_names): New variable.
21 (_initialize_demangler): Fill demangling_style_names with the
22 names of known demangling styles from libiberty_demanglers[]. Use
23 add_set_enum_cmd instead of add_set_cmd, to get completion on
24 demangling style names.
25
26 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
27 file-name completion.
28
29 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
30
31 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
32 `solib-absolute-prefix'.
33
34 * tracepoint.c (_initialize_tracepoint): Ditto for
35 `save-tracepoints'.
36
37 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
38
39 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
40 file-name completion.
41
42 * infcmd.c (_initialize_infcmd): Make the following commands use
43 the file-name completer: `tty', `args', `path', `paths', and
44 `run'.
45
7830cf6f
EZ
462001-02-18 Eli Zaretskii <[email protected]>
47
89dea5aa
EZ
48 * go32-nat.c: Include i387-nat.h.
49 (fetch_register): New function, uses some of the guts of
50 go32_fetch_registers and calls i387_supply_register.
51 (go32_fetch_registers): Most of the code moved into
52 fetch_register. Use i387_supply_fsave.
53 (store_register): Use i387_fill_fsave instead of custom code.
54 (go32_store_registers): Use i387_fill_fsave.
55
56 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
57
58 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
59
7830cf6f
EZ
60 * completer.c (gdb_completer_file_name_break_characters): Remove
61 slash from file-name break characters.
62 [__MSDOS__]: Special definition for DOS/Windows file names.
63 (line_completion_function): When completing on file names, bump
64 `p' to the first file-name constituent character of `word', before
65 invoking the completer.
66
f31e928c
MK
672001-02-17 Mark Kettenis <[email protected]>
68
69 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
70 consistently for parameter names. Fix comments accordingly.
71 (i387_supply_register): New function.
72 (i387_supply_fsave): Implement using i387_supply_register.
73 * i387-nat.h: Use regnum instead of regno consistently for
74 parameter names. Fix comments accordingly.
75 (i387_supply_register): New prototype.
76
d696208f
MS
772001-02-16 Michael Snyder <[email protected]>
78
79 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
80 instead of TARGET_PTR_BIT (to support Harvard architectures).
81
971429b4
AC
822001-02-16 Andrew Cagney <[email protected]>
83
84 From 2001-02-11 Paul Hilfinger <[email protected]>
85 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
86 argument to parameter list and to call in order to conform to
87 to_xfer_memory field of struct target_ops.
88
9ca0e47c
MC
892001-02-12 Michael Chastain <[email protected]>
90
da7dd56f 91 * somsolib.c (som_solib_add_solib_objfile): Do not use
9ca0e47c
MC
92 section relocation feature of syms_from_objfile. Do my own
93 section relocation, offsetting each section of the som by
94 either text_addr - text_link_addr or data_start.
95
7d65bd2d
AC
962001-02-16 Andrew Cagney <[email protected]>
97
98 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
99
e33e9692
AC
1002001-02-16 Andrew Cagney <[email protected]>
101
102 * MAINTAINERS (paper trail): Update.
103
17dee195
MK
1042001-02-16 Mark Kettenis <[email protected]>
105
106 * target.h (target_fetch_registers): Fix comment.
107
0f6e1ba6
AC
1082001-02-15 Andrew Cagney <[email protected]>
109
110 * f-exp.y: Include <ctype.h>.
111 (parse_number): Ensure that ``i'' is always initialized.
112
d696208f 113>>>>>>> 1.966
9a069618
JK
1142001-02-14 Jim Kingdon <[email protected]>
115
116 * MAINTAINERS: Add myself to paper trail section.
117
fc24370e
MS
1182001-02-14 Michael Sokolov <[email protected]>
119
120 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
121 * configure, config.in: Regenerate.
122 * corelow.c: Include <sys/file.h> if present.
123
4b69c284
AC
1242001-02-14 Andrew Cagney <[email protected]>
125
126 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
127 declare when have SIGTTOU.
128
7904f322
EZ
1292001-02-14 Eli Zaretskii <[email protected]>
130
131 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
132
9e798668
JK
1332001-02-12 Jim Kingdon <[email protected]>
134
135 * MAINTAINERS: Update my email address.
136
65d5a54a
EZ
1372001-02-11 Eli Zaretskii <[email protected]>
138
139 * NEWS: Document that "info symbol" works with COFF debug info and
140 its variants.
141
142 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
143 symbols whose SYMBOL_BFD_SECTION is NULL.
144
a8079a9b
PS
1452000-02-10 Peter Schauer <[email protected]>
146
147 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
148 * xcoffsolib.c (xcoff_solib_address): Renamed from
149 pc_load_segment_name. Return NULL if address is not in a shared
150 library. Cleanup shared library name construction, using xasprintf.
151 Format shared library member names consistent with format in exec.c.
152 (solib_info): Format shared library member names consistent with
153 format in exec.c.
154 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
155 using xcoff_solib_address for PC_SOLIB definition.
156 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
157 needed.
158
4b2e4867
PS
1592000-02-10 Peter Schauer <[email protected]>
160
161 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
162 with xmalloc calls and cleanups.
163
d737ece6
PS
1642000-02-10 Peter Schauer <[email protected]>
165
166 * rs6000-nat.c (child_xfer_memory): Add missing parameter
167 'struct mem_attrib *' required by 2001-01-23 change.
168
c5bb1243
JK
1692001-02-08 Jim Kingdon <[email protected]>
170
171 Updates to "make TAGS":
172 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
173 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
174 tahoe-tdep.c.
175 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
176
c799ae7b
EZ
1772001-02-08 Eli Zaretskii <[email protected]>
178
179 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
180
12685e01
AC
181Wed Feb 7 22:39:26 2001 Andrew Cagney <[email protected]>
182
183 From Dean Luick <[email protected]>:
184 * defs.h (continuation): Remove unused global variable.
185
7fcca85b
AC
186Wed Feb 7 22:28:31 2001 Andrew Cagney <[email protected]>
187
188 * configure.tgt: Remove references to convex, pyramid, altos and
189 tahoe.
190 * configure.host: Ditto.
191 * MAINTAINERS: Ditto.
192 * NEWS: Update.
193
194 * tahoe-tdep.c: Delete obsolete file.
195 * pyr-xdep.c: Ditto.
196 * pyr-tdep.c: Ditto.
197 * convex-tdep.c: Ditto.
198 * convex-xdep.c: Ditto.
199 * config/tahoe/xm-tahoe.h: Ditto.
200 * config/tahoe/tm-tahoe.h: Ditto.
201 * config/tahoe/tahoe.mt: Ditto.
202 * config/tahoe/tahoe.mh: Ditto.
203 * config/pyr/xm-pyr.h: Ditto.
204 * config/pyr/tm-pyr.h: Ditto.
205 * config/pyr/pyramid.mt: Ditto.
206 * config/pyr/pyramid.mh: Ditto.
207 * config/m68k/xm-altos.h: Ditto.
208 * config/m68k/tm-altos.h: Ditto.
209 * config/m68k/altos.mt: Ditto.
210 * config/m68k/altos.mh: Ditto.
211 * config/convex/xm-convex.h: Ditto.
212 * config/convex/tm-convex.h: Ditto.
213 * config/convex/convex.mt: Ditto.
214 * config/convex/convex.mh: Ditto.
215 * config/convex/Convex.notes: Ditto.
216 * config/arm/xm-arm.h: Ditto.
217 * config/arm/nm-arm.h: Ditto.
218 * config/arm/arm.mt: Ditto.
219 * config/arm/arm.mh: Ditto.
220 * arm-convert.s: Ditto.
221 * arm-xdep.c: Ditto.
222 * altos-xdep.c: Ditto.
223
8e65ff28
AC
224Wed Feb 7 19:41:21 2001 Andrew Cagney <[email protected]>
225
226 * defs.h (internal_error, internal_verror): Add __FILE__ and
227 __LINE__ parameter.
228 * utils.c (internal_error, internal_verror): Update.
229
230 * v850-tdep.c: Update calls to internal_error.
231 * utils.c: Ditto.
232 * ui-out.c: Ditto.
233 * ui-file.c: Ditto.
234 * target.h: Ditto.
235 * symtab.h: Ditto.
236 * symm-nat.c: Ditto.
237 * sparc-tdep.c: Ditto.
238 * source.c: Ditto.
239 * serial.c: Ditto.
240 * rs6000-tdep.c: Ditto.
241 * rs6000-nat.c: Ditto.
242 * remote.c: Ditto.
243 * remote-vx.c: Ditto.
244 * remote-sim.c: Ditto.
245 * remote-mips.c: Ditto.
246 * regcache.c: Ditto.
247 * objfiles.h: Ditto.
248 * objfiles.c: Ditto.
249 * mn10300-tdep.c: Ditto.
250 * mips-tdep.c: Ditto.
251 * maint.c: Ditto.
252 * m68k-tdep.c: Ditto.
253 * m3-nat.c: Ditto.
254 * language.c: Ditto.
255 * infptrace.c: Ditto.
256 * inferior.h: Ditto.
257 * infcmd.c: Ditto.
258 * ia64-tdep.c: Ditto.
259 * i386-tdep.c: Ditto.
260 * i386-linux-nat.c: Ditto.
261 * hppah-nat.c: Ditto.
262 * go32-nat.c: Ditto.
263 * findvar.c: Ditto.
264 * f-lang.c: Ditto.
265 * elfread.c: Ditto.
266 * event-loop.c: Ditto.
267 * dwarf2read.c: Ditto.
268 * dsrec.c: Ditto.
269 * d30v-tdep.c: Ditto.
270 * d10v-tdep.c: Ditto.
271 * cli/cli-setshow.c: Ditto.
272 * cli/cli-script.c: Ditto.
273 * ch-exp.c: Ditto.
274 * breakpoint.c: Ditto.
275 * ax-gdb.c: Ditto.
276 * arch-utils.c: Ditto.
277 * a29k-tdep.c: Ditto.
278 * gdb_assert.h: Ditto.
279 * gdbarch.sh: Ditto.
280 * gdbarch.h, gdbarch.c: Re-generate.
281
72290732
AC
2822001-02-07 Andrew Cagney <[email protected]>
283
284 From Mark Kettenis <[email protected]>:
285 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
286
a6da1910
AC
2872001-02-07 Andrew Cagney <[email protected]>
288
289 * remote-sim.c (dump_mem): Cleanup printf format argument.
290 * MAINTAINERS: Update, mn10300-elf now builds.
291
153f9905
MK
2922001-02-07 Mark Kettenis <[email protected]>
293
294 * event-top.c: Remove duplicate #include <signal.h>.
295
f042532c
AC
2962001-02-06 Andrew Cagney <[email protected]>
297
298 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
299 allocated buffer.
300 (save_inferior_pid): Restore the PID from that tempoary
301 buffer. Delete the buffer.
302 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
303
58cfabe6
AC
3042001-02-06 Andrew Cagney <[email protected]>
305
306 * MAINTAINERS: Add ``The Obvious Fix Rule''.
307
ea8a41b8
AC
3082001-02-06 Andrew Cagney <[email protected]>
309
310 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
311
95160752
AC
3122001-02-06 Andrew Cagney <[email protected]>
313
314 * gdbarch.sh: Include "gdb_assert.h".
315 (struct gdbarch): Change ``nr_data'' to unsigned.
316 (alloc_gdbarch_data, free_gdbarch_data): New functions.
317 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
318 architecture vector.
319 (struct gdbarch_data, struct gdbarch_data_registration): Move init
320 method to gdbarch_data. Add free method, make index unsigned.
321 (struct gdbarch_data_registry): Make nr unsigned.
322 (register_gdbarch_data): Add free parameter. Store in
323 gdbarch_data.
324 (init_gdbarch_data): Use set_gdbarch_data.
325 (set_gdbarch_data): New function.
326
327 * gdbarch.h, gdbarch.c: Re-generate.
328
64122a8b
MS
3292001-02-06 Michael Sokolov <[email protected]>
330
331 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
332 fprintf_filtered with correct arguments.
333
e6cbd02a
MS
3342001-02-06 Michael Snyder <[email protected]>
335 Submitted by Paul Hilfinger ([email protected])
336 and Andrei Petrov ([email protected]).
337 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
338 must be allocated dynamically, since these are no longer constants.
339 * infcmd.c: Ditto.
340 * regcache.c: Ditto.
341 * remote.c: Ditto.
342 * sol-thread.c: Ditto.
343 * valops.c: Ditto.
344 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
345 work-around for a missing Sun header file in solaris for sparc64.
346
713f0374
PB
3472001-02-04 Philip Blundell <[email protected]>
348
349 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
350 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
351 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
352 GET_THREAD_SIGNALS): Define.
353 * arm-linux-nat.c (fill_gregset): Correct type of argument.
354 (supply_gregset): Likewise.
355 (fill_fpregset): Likewise.
356 (supply_fpregset): Likewise.
357
4603e466
DT
358Tue Feb 6 11:58:57 2001 David Taylor <[email protected]>
359
360 * valops.c (value_cast): If casting a scalar to a pointer, do not
361 issue a message about truncation unless it exceeds the length of
362 an address, not the length of a pointer. This is because what the
363 user gives us is an address, not a pointer, and we will ultimately
364 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
365 to a pointer. This allows things like "print *(int *)0x01000234"
366 to work without generating a misleading message on a target having
367 two byte pointers and four byte addresses.
368
554cb486
CF
3692001-02-05 Christopher Faylor <[email protected]>
370
371 * win32-nat.c: Change PTR to void * throughout.
372
042be3a9
C
3732001-02-05 J.T. Conklin <[email protected]>
374
375 * signals.h: Removed.
376 * event-top.c (#include <signal.h>): Changed from signals.h.
377 * inflow.c: Likewise.
378 * mac-xdep.c: Likewise.
379 * ser-pipe.c: Likewise.
380 * ser-tcp.c: Likewise.
381 * standalone.c: Likewise.
382 * top.c: Likewise.
383 * utils.c: Likewise.
384 * Makefile.in: Removed signals.h from dependencies.
385
a4acd088
CF
3862001-02-05 Christopher Faylor <[email protected]>
387
388 Change suggested by Dean Luick <[email protected]>
389 * inferior.h (step_over_calls_kind): Remove trailing comma from
390 last enum element.
391 (step_over_calls): Declare as extern rather than global.
392
3116c80a
EZ
3932001-02-05 Elena Zannoni <[email protected]>
394
395 * sh-tdep.c: Update copyright.
396 (sh_extract_return_value): Rewrite.
397 (sh3e_sh4_extract_return_value): New function.
398 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
399 version of the function for sh3e and sh4 CPUs.
400
240be855
MC
4012001-02-05 Michael Chastain <[email protected]>
402
403 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
404 to conform with interface change.
405
a17b5c4e
EZ
4062001-02-04 Eli Zaretskii <[email protected]>
407
32fe0950
EZ
408 * config/djgpp/fnchange.lst: Tweak to make consistent with the
409 new files.
410
619cbaf7
EZ
411 * config/djgpp/djconfig.sh: Use explicit absolute file name when
412 invoking `find'.
413
cd42d3a8
EZ
414 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
415 UART_FIFO_WORKS is defined. Otherwise use outportb.
416 From Francisco Pastor <[email protected]>
417
a17b5c4e
EZ
418 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
419 with target.h's `to_xfer_memory' member.
420
86ddecc5
C
4212001-02-02 J.T. Conklin <[email protected]>
422
423 * ppc-bdm.c (#include <signal.h>): Removed.
424 * remote-array.c: Likewise.
425 * remote-bug.c: Likewise.
426 * remote-e7000.c: Likewise.
427 * remote-mips.c: Likewise.
428 * remote-os9k.c: Likewise.
429 * remote-st.c: Likewise.
430 * remote-udi.c: Likewise.
431 * remote-vx29k.c: Likewise.
432 * remote-vx68.c: Likewise.
433 * remote-vx960.c: Likewise.
434 * remote-vxmips.c: Likewise.
435 * remote-vxsparc.c: Likewise.
436
338d7c5c
JM
4372001-02-02 John Moore <[email protected]>
438
439 * remote-utils.h (sr_set_device): Changed free() to xfree() where
440 appropriate. Also changed Copyright to include 2001.
441 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
442 * value.h (value_free): Likewise.
443 * gdbarch.sh (gdbarch_free): Likewise.
444 * gdbarch.c, gdbarch.h: Regenerated.
445
2b5436af
JM
4462001-02-02 John Moore <[email protected]>
447
448 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
338d7c5c 449 xfree(). Also changed Copyright to include 2001.
2b5436af 450
82467003
C
4512001-02-02 J.T. Conklin <[email protected]>
452
453 * monitor.c (#include "gdb_wait.h"): Removed.
454 * ocd.c: Likewise.
455 * ppc-bdm.c: Likewise.
456 * remote-adapt.c: Likewise.
457 * remote-array.c: Likewise.
458 * remote-bug.c: Likewise.
459 * remote-e7000.c: Likewise.
460 * remote-eb.c: Likewise.
461 * remote-es.c: Likewise.
462 * remote-mips.c: Likewise.
463 * remote-mm.c: Likewise.
464 * remote-nindy.c: Likewise.
465 * remote-os9k.c: Likewise.
466 * remote-rdi.c: Likewise.
467 * remote-rdp.c: Likewise.
468 * remote-sds.c: Likewise.
469 * remote-sim.c: Likewise.
470 * remote-st.c: Likewise.
471 * remote-udi.c: Likewise.
472 * remote-vx.c: Likewise.
473 * remote-vx29k.c: Likewise.
474 * remote-vx68.c: Likewise.
475 * remote-vx960.c: Likewise.
476 * remote-vxmips.c: Likewise.
477 * remote-vxsparc.c: Likewise.
478 * remote.c: Likewise.
479 * ser-pipe.c: Likewise.
480 * ser-unix.c: Likewise.
481 * Makefile.in: Updated dependencies.
482
27b82ed2
DS
4832001-01-31 David Smith <[email protected]>
484
485 * event-loop.c: Change inclusion of string.h to gdb_string.h and
486 updated the copyright notice.
487 * ser-pipe.c: Ditto.
488 * mi/mi-cmds.c: Ditto.
489 * mi/mi-console.c: Ditto.
490 * mi/mi-getopt.c: Ditto.
491 * mi/mi-parse.c: Ditto.
492
ab9cc815
DS
4932001-01-31 David Smith <[email protected]>
494
495 * MAINTAINERS: Add David Smith to Write After Approval list.
496
d1f4cff8
AC
497Tue Jan 30 15:43:08 2001 Andrew Cagney <[email protected]>
498
499 * cli/cli-utils.c (putchar_filtered): Move function from here.
500 * utils.c (putchar_filtered): To here.
501 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
502 * defs.h (putchar_filtered): To here.
503
74c1b268
AC
504Tue Jan 30 17:27:11 2001 Andrew Cagney <[email protected]>
505
506 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
507 AC_FUNC_VFORK macro.
508 * config.in, configure: Re-generate.
509
510 * gdb_vfork.h: New file.
511 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
512 * fork-child.c (fork_inferior): Ditto.
513
4fcf66da
AC
514Tue Jan 30 17:09:07 2001 Andrew Cagney <[email protected]>
515
516 * defs.h (strsave): Delete declaration.
517 * utils.c (strsave): Delete definition.
518 * TODO (strsave): Update
519
520 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
521 * sparcl-tdep.c (sparclite_open): Ditto.
522 * mips-tdep.c (mips_set_processor_type_command): Ditto.
523 (_initialize_mips_tdep): Ditto.
524 * solib.c (solib_open): Ditto.
525 * symfile.c (add_filename_language): Ditto.
526 (set_ext_lang_command): Ditto.
527 * source.c (init_source_path): Ditto.
528 (mod_path): Ditto.
529 * sh3-rom.c (sh3_open): Ditto.
530 (sh3e_open): Ditto.
531 * serial.c (serial_open): Ditto.
532 * remote-mips.c (common_open): Ditto.
533 * monitor.c (monitor_open): Ditto.
534 * m32r-rom.c (m32r_upload_command): Ditto.
535 * infcmd.c (path_command): Ditto.
536 * f-exp.y (parse_number): Ditto.
537 * breakpoint.c (create_longjmp_breakpoint): Ditto.
538 (create_thread_event_breakpoint): Ditto.
539 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
540 (_initialize_arc_tdep): Ditto.
541
e191e0ab
AC
542Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
543
544 * cli/cli-script.c (define_command): Check for a bad hook value in
545 switch statement.
546
10214f55
C
5472001-01-30 J.T. Conklin <[email protected]>
548
549 * configure/sh/embed.mt: New file.
550 * configure/sh/linux.mt: New file.
551 * configure/sh/sh.mt: Removed.
552 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
553 (sh-*-*): Removed.
554
c9049fc9
MC
5552001-01-29 Michael Chastain <[email protected]>
556
557 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
558 symbol comparisons in binary search.
559
aea02b6b
CF
5602000-01-27 Christopher Faylor <[email protected]>
561
562 * win32-nat.c (child_xfer_memory): Add missing argument required by
563 2001-01-23 change.
564
e6e0bfab
MK
5652001-01-27 Mark Kettenis <[email protected]>
566
567 * ui-out.c (do_list_end): New function.
568 (make_cleanup_ui_out_list_end): New function.
569 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
570 * stack.c (print_frame) [UI_OUT]: Call
571 make_cleanup_ui_out_list_end to make sure we mark the end of the
572 list if we do a non-local exit. At the end of the function,
573 instead of calling ui_out_list_end directly, let do_cleanups
574 handle it.
575
1adeb98a
FN
5762001-01-26 Fernando Nasser <[email protected]>
577
578 Fix double parsing of filenames passed as command line arguments
579 to GDB (causes weird handling of escape characters).
580 Also, remove dependencies on the CLI from libgdb.
581 * call-cmds.h: Remove declaration of exec_file_command().
582 * gdbcore.h: Remove declaration of exec_file_command().
583 Add declarations for exec_open() and exec_file_clear().
584 * symfile.h: Add declarations for symbol_file_add_main() and
585 symbol_file_clear().
586 * exec.c (exec_open): New function. Implements to_open for exec
587 targets.
588 (exec_file_clear): New function. Makes GDB forget about a previously
589 specified executable file.
590 (exec_file_attach): Move parsing of arguments from here ...
591 (exec_file_command): ... to here.
592 (init_exec_ops): Use exec_open(), not exec_file_command() to
593 implement to_open for exec targets.
594 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
595 with default values. Used when the file name has already been parsed.
596 (symbol_file_clear): New function. Makes GDB forget about previously
597 read symbols.
598 (symbol_file_command): Call the above function instead of inline code.
599 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
600 "call-cmds.h".
601 (captured_main): Call exec_file_attach() and symbol_file_add_main()
602 instead of exec_file_command() and symbol_file_command().
603 (captured_main): Add comment.
604 * corefile.c: Include "symfile.h".
605 (core_file_command): Call symbol_file_add_main() instead of
606 symbol_file_command().
607 (reopen_exec_file): Call exec_open() instead of exec_file_command().
608 * infcmd.c: Include "symfile.h".
609 (attach_command): Call symbol_file_add_main() instead of
610 symbol_file_command().
611 * infrun.c: Remove comment about the inclusion of "symfile.h",
612 not any longer appropriate.
613 (follow_exec): Call symbol_file_add_main() instead of
614 symbol_file_command().
615 * remote-es.c: Include "symfile.h".
616 (es1800_load): Call symbol_file_add_main() instead of
617 symbol_file_command().
618 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
619 not any longer appropriate.
620 (vx-wait): Call symbol_file_add_main() instead of
621 symbol_file_command().
622 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
623 instead of symbol_file_command().
624 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
625 symbol_file_add_main() instead of exec_file_command() and
626 symbol_file_command().
627 * Makefile.in: Update dependencies.
628
5b616ba1
JH
6292001-01-26 Jeff Holcomb <[email protected]>
630
631 * remote-udi.c (udi_open): Change strdup to xstrdup.
632 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
633 Update copyright message.
634 * varobj.c (delete_variable_1): Likewise.
635
636 * gdb_string.h: Remove declaration of strdup. Update copyright
637 message.
638 * config/xm-mpw.h: Likewise.
639 * config/i386/xm-i386mach.h: Likewise.
640 * config/m68k/xm-apollo68b.h: Likewise.
641 * config/m68k/xm-hp300bsd.h: Likewise.
642 * config/rs6000/xm-rs6000.h: Likewise.
643 * config/vax/xm-vaxult.h: Remove declaration of strdup.
644 * config/vax/xm-vaxult2.h: Likewise.
645
b91d87cf
JH
6462001-01-26 Jeff Holcomb <[email protected]>
647
648 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
649
873406a6
C
6502001-01-25 J.T. Conklin <[email protected]>
651
652 * target.c (target_xfer_memory_partial): Return -1 on failure due
653 to invalid access mode attribute.
654
0613c401
CF
6552001-01-25 Christopher Faylor <[email protected]>
656
657 * win32-nat.c (_initialize_core_win32): Prototype correctly.
658
efd59e3f
MK
6592001-01-25 Mark Kettenis <[email protected]>
660
661 * config/alpha/tm-fbsd.h: Update copyright.
662 (USE_STRUCT_CONVENTION): Define in terms of
663 alphabsd_use_struct_convention.
664 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
665 * alphafbsd-tdep.c: New file.
666
388e1ff2
FN
6672001-01-24 Fernando Nasser <[email protected]>
668
669 * top.c (print_gdb_version): Update Copyright year.
670
f4d650ec
C
6712001-01-24 J.T. Conklin <[email protected]>
672
673 * dcache.c (dcache_write_line): Fix typo.
674
675 * memattr.c (delete_mem_region): Replace free() with xfree().
676 (mem_number): Add explicit type.
677
678 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
679 (rw_common): Likewise.
680
07091751
FN
6812001-01-24 Fernando Nasser <[email protected]>
682
683 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
684 for the inferior program arguments.
685 (run_command, run_no_args_command, init_infcmd)): Use accessor
686 functions to set the inferior program arguments.
687 * inferior.h: Add definitions to the accessor functions above.
688
090c42a4
JB
6892001-01-23 Jim Blandy <[email protected]>
690
691 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
692 Implement these correctly, using make_cv_type.
693
f29d9b6d 6942001-01-23 J.T. Conklin <[email protected]>
29e57380
C
695
696 * exec.c (xfer_memory): Add attrib argument.
697 * infptrace.c (child_xfer_memory): Likewise.
e5da8f38 698 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
29e57380
C
699 * monitor.c (monitor_xfer_memory): Likewise.
700 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
701 * remote-array.c (array_xfer_memory): Likewise.
702 * remote-bug.c (bug_xfer_memory): Likewise.
703 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
704 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
705 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
706 * remote-mips.c (mips_xfer_memory): Likewise.
707 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
708 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
709 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
710 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
711 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
712 * remote-sds.c (sds_xfer_memory): Likewise.
713 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
714 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
715 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
716 * remote-vx.c (vx_xfer_memory): Likewise.
717 * remote.c (remote_xfer_memory): Likewise.
718 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
719 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
e5da8f38 720 * thread-db.c (thread_db_xfer_memory): Likewise.
29e57380
C
721
722 * target.h (#include "memattr.h"): Added.
723 (target_ops.to_xfer_memory): Add attrib argument.
724
725 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
726 * dcache.h (set_dcache_state): Removed declaration.
727 * dcache.c (set_dcache_state): Removed definition
728
729 * dcache.c: Update module comment, as dcache is now enabled and
730 disabled with memory region attributes instead of by the global
731 variable "remotecache". Add comment describing the interaction
732 between dcache and memory region attributes.
733 (dcache_xfer_memory): Add comment describing benefits of moving
734 cache writeback to a higher level.
735 (dcache_struct): Removed cache_has_stuff field. This was used to
736 record whether the cache had been accessed in order to invalidate
737 it when it was disabled. However, this is not needed because the
738 cache is write through and the code that enables, disables, and
739 deletes memory regions invalidate the cache. Add comment which
740 suggests that we could be more selective and only invalidate those
741 cache lines containing data from those memory regions.
742 (dcache_invalidate): Updated.
743 (dcache_xfer_memory): Updated.
f29d9b6d 744
29e57380
C
745 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
746 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
747 perform a uncached transfer if dcache_enabled_p was clear. This
748 function is now only called if caching is enabled for the memory
749 region.
750 (dcache_info): Always print cache info.
751
752 * target.c (do_xfer_memory): Add attrib argument.
753 (target_xfer_memory, target_xfer_memory_partial): Break transfer
754 into chunks defined by memory regions, pass region attributes to
755 do_xfer_memory().
756 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
757
758 * Makefile.in (SFILES): Add memattr.c.
759 (COMMON_OBS): Add memattr.o.
760 (dcache.o): Add target.h to dependencies.
761 * memattr.c: New file.
762 * memattr.h: Likewise.
763
f29d9b6d
C
764 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
765 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
766 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
767 * gdbserver/low-sim.c (#include "defs.h"): Removed.
768 (mygeneric_load): Rename from generic_load.
769
770 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
771 (#include "defs.h"): Removed.
772 (inferior_pid, perror_with_name): Remove declarations.
773 * gdbserver/low-linux.c: Likewise.
774 * gdbserver/low-nbsd.c: Likewise.
775 * gdbserver/low-sparc.c: Likewise.
776 * gdbserver/low-sun3.c: Likewise.
777
778 * i386-stub.c: Re-indent.
779 * m68k-stub.c: Re-indent.
780
58d5518e
ND
7812001-01-22 Nicholas Duffek <[email protected]>
782
783 * gdbarch.sh (PARM_BOUNDARY): Define.
784 * gdbarch.c: Regenerate.
785 * gdbarch.h: Regenerate.
786
f6427ade
C
7872001-01-22 J.T. Conklin <[email protected]>
788
789 * ns32k-tdep.c: #include "frame.h"
790 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
791 appears to have been inadvertantly removed sometime in May 1999.
792
793 * Revert 2000-11-09 changes where shared library objects were
794 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
795 we'd like to be able to debug dynamically linked executables,
796 this makes it impossible to build a cross debugger on a many
797 hosts.
798
799 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
800 * config/i386/nbsdelf.mt: Likewise.
801 * config/m68k/nbsd.mt: Likewise.
802 * config/ns32k/nbsd.mt: Likewise.
803 * config/powerpc/nbsd.mt: Likewise.
804 * config/sparc/nbsd.mt: Likewise.
805 * config/sparc/nbsdelf.mt: Likewise.
806 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
807 * config/i386/nbsdelf.mh: Likewise.
808 * config/m68k/nbsd.mh: Likewise.
809 * config/ns32k/nbsd.mh: Likewise.
810 * config/powerpc/nbsd.mh: Likewise.
811 * config/sparc/nbsd.mh: Likewise.
812
8052a17a
JM
8132001-01-19 Jason Merrill <[email protected]>
814
815 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
816 (process_one_symbol): Likewise.
817 * dwarfread.c (handle_producer): Likewise.
818
21a6f6bb
AC
819Thu Jan 18 12:08:57 2001 Andrew Cagney <[email protected]>
820
821 * configure.in (build_warnings): Disable -Wuninitialized until GDB
822 compiles with -Wuninitialized,-Werror.
823 * configure: Regenerate.
824
825 * MAINTAINERS: Add list of buildable targets.
826
494b7ec9
AC
827Thu Jan 18 12:48:04 2001 Andrew Cagney <[email protected]>
828
829 * defs.h (STRCMP): Delete macro.
830
831 * objfiles.c (objfile_relocate): Replace STRCMP with call to
832 strcmp.
833 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
834 * symfile.c (compare_symbols): Ditto.
835 * standalone.c (open): Ditto.
836 * remote-es.c (verify_break): Ditto.
837 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
838
839 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
840
8038e1e2
AC
841Thu Jan 18 12:25:06 2001 Andrew Cagney <[email protected]>
842
843 * varobj.c (FREEIF): Delete macro.
844 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
845 call.
846
ea8d0b28
NC
8472001-01-18 Nick Clifton <[email protected]>
848
849 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
850 (arc_print_insn): No bfd available, so pass NULL to
851 arc_get_disassembler.
852
5dbd9048
JB
8532001-01-09 James Ingham <[email protected]>
854
855 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
856 a mangled symbol rather than recursing into lookup_symbol, since
857 this will just re-unmangle the name & call lookup_symbol_aux -
858 leading to an infinite recursion.
859
28ae27b1
MK
8602001-01-18 Mark Kettenis <[email protected]>
861
862 * infcmd.c (print_return_value): Restore another space lost by
863 switch to UIOUT. ``$NN='' should be ``$NN =''.
864
6ab3a9c9
AC
865Fri Jan 19 02:31:40 2001 Andrew Cagney <[email protected]>
866
867 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
868 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
869 definition in parenthesis.
870
ad6525fc
AC
871Fri Jan 19 02:13:40 2001 Andrew Cagney <[email protected]>
872
873 From 2000-10-27 Mark Salter <[email protected]>:
874 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
875 packet.
876 (remote_insert_hw_breakpoint): Ditto.
877
6259c7e2
C
8782001-01-17 J.T. Conklin <[email protected]>
879
880 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
9c95b27f 881 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
6259c7e2
C
882 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
883 * m68knbsd-tdep.c: New file.
884
885 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
886
887 * m68knbsd-nat.c: #include gdbcore.h.
888
abdcb2a5
AC
889Wed Jan 17 09:41:58 2001 Andrew Cagney <[email protected]>
890
891 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
892
e7a8479f
MS
8932001-01-16 Michael Snyder <[email protected]>
894
aaeb7efa
MS
895 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
896 goes away -- just return false (ie. not stopped by watchpoint).
e7a8479f
MS
897 * source.c (openp): Fix typo in comment.
898
7036d6ce
ND
8992001-01-12 Nicholas Duffek <[email protected]>
900
901 * blockframe.c (generic_get_saved_register): Spelling fix.
902 * frame.h (FRAME_FP): Spelling fix.
903
9549d9c1
AC
904Fri Jan 12 18:29:46 2001 Andrew Cagney <[email protected]>
905
906 * infcmd.c (print_return_value): Restore space lost by switch to
907 UIOUT. ``$NN='' should be ``$NN =''.
908
7302a204
ND
9092001-01-08 Nicholas Duffek <[email protected]>
910
911 * regcache.c (set_register_cached, register_buffer,
912 real_register, pseudo_register fetch_register, store_register):
913 New functions.
914 (register_changed, read_relative_register_raw_bytes_for_frame,
915 registers_changed, registers_fetched, read_register_bytes,
916 read_register_gen, write_register_gen, read_register,
917 read_signed_register, write_register, supply_register): Replace
918 register_valid[] with register_cached() and
919 set_register_cached().
920 (read_register_bytes, read_register_gen, write_register_gen,
921 read_register, read_signed_register, write_register,
922 supply_register): Replace registers[] with register_buffer().
923 (read_register_bytes, read_register_gen, read_register,
924 read_signed_register): Call fetch_register().
925 (write_register_gen, write_register): Call real_register() and
926 store_register().
927 (write_register_bytes): Call store_register().
928 * value.h (set_register_cached, register_buffer): Prototype.
929 * remote.c (remote_fetch_registers): Allocate regs[] with a
930 run-time size. Replace register_valid[] with
931 set_register_cached().
932 (store_register_using_P, remote_store_registers): Replace
933 registers[] with register_buffer().
934
5ebd2499
ND
9352001-01-08 Nicholas Duffek <[email protected]>
936
937 * regcache.c: Change "write-back" comment to "write-through".
938 Change "regno" to "regnum".
939 (read_register, read_signed_register): Remove "raw" from return
940 value description.
941 (supply_register): Spelling fix.
942 * value.h: Change "regno" to "regnum".
943
1302fd5e
FN
9442001-01-08 Fernando Nasser <[email protected]>
945
946 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
947 to be installed.
948
9dcb560c
MS
9492001-01-04 Michael Snyder <[email protected]>
950
951 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
952
0e2fb98e
ND
9532001-01-04 Nicholas Duffek <[email protected]>
954
955 * valops.c (VALUE_SUBSTRING_START): Delete.
956
12cf3f1b
ND
9572001-01-04 Nicholas Duffek <[email protected]>
958
959 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
960 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
961 (cli_utils_h): New variable.
962 (cli/cli-utils.o): New rule.
963 * cli/cli-utils.c: New file.
964 * cli/cli-utils.h: New file.
965
cc533b9d
ND
9662001-01-04 Nicholas Duffek <[email protected]>
967
968 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
969 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
970
ad2a4d09
C
9712001-01-03 J.T. Conklin <[email protected]>
972
973 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
974 comment.
975
8140e7ac
MS
9762001-01-02 Michael Snyder <[email protected]>
977
3116c80a
EZ
978 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
979 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
d19b71be 980 non-float types.
779e876b 981 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
72e22353
MS
982 Update copyright notice.
983
15f33b66 984For older changes see ChangeLog-2000
c906108c
SS
985\f
986Local Variables:
987mode: change-log
988left-margin: 8
989fill-column: 74
990version-control: never
991End:
This page took 0.439282 seconds and 4 git commands to generate.