2001-01-24 Fernando Nasser <fnasser@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
07091751
FN
12001-01-24 Fernando Nasser <fnasser@redhat.com>
2
3 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
4 for the inferior program arguments.
5 (run_command, run_no_args_command, init_infcmd)): Use accessor
6 functions to set the inferior program arguments.
7 * inferior.h: Add definitions to the accessor functions above.
8
090c42a4
JB
92001-01-23 Jim Blandy <jimb@redhat.com>
10
11 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
12 Implement these correctly, using make_cv_type.
13
f29d9b6d 142001-01-23 J.T. Conklin <jtc@redback.com>
29e57380
C
15
16 * exec.c (xfer_memory): Add attrib argument.
17 * infptrace.c (child_xfer_memory): Likewise.
e5da8f38 18 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
29e57380
C
19 * monitor.c (monitor_xfer_memory): Likewise.
20 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
21 * remote-array.c (array_xfer_memory): Likewise.
22 * remote-bug.c (bug_xfer_memory): Likewise.
23 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
24 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
25 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
26 * remote-mips.c (mips_xfer_memory): Likewise.
27 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
28 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
29 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
30 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
31 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
32 * remote-sds.c (sds_xfer_memory): Likewise.
33 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
34 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
35 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
36 * remote-vx.c (vx_xfer_memory): Likewise.
37 * remote.c (remote_xfer_memory): Likewise.
38 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
39 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
e5da8f38 40 * thread-db.c (thread_db_xfer_memory): Likewise.
29e57380
C
41
42 * target.h (#include "memattr.h"): Added.
43 (target_ops.to_xfer_memory): Add attrib argument.
44
45 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
46 * dcache.h (set_dcache_state): Removed declaration.
47 * dcache.c (set_dcache_state): Removed definition
48
49 * dcache.c: Update module comment, as dcache is now enabled and
50 disabled with memory region attributes instead of by the global
51 variable "remotecache". Add comment describing the interaction
52 between dcache and memory region attributes.
53 (dcache_xfer_memory): Add comment describing benefits of moving
54 cache writeback to a higher level.
55 (dcache_struct): Removed cache_has_stuff field. This was used to
56 record whether the cache had been accessed in order to invalidate
57 it when it was disabled. However, this is not needed because the
58 cache is write through and the code that enables, disables, and
59 deletes memory regions invalidate the cache. Add comment which
60 suggests that we could be more selective and only invalidate those
61 cache lines containing data from those memory regions.
62 (dcache_invalidate): Updated.
63 (dcache_xfer_memory): Updated.
f29d9b6d 64
29e57380
C
65 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
66 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
67 perform a uncached transfer if dcache_enabled_p was clear. This
68 function is now only called if caching is enabled for the memory
69 region.
70 (dcache_info): Always print cache info.
71
72 * target.c (do_xfer_memory): Add attrib argument.
73 (target_xfer_memory, target_xfer_memory_partial): Break transfer
74 into chunks defined by memory regions, pass region attributes to
75 do_xfer_memory().
76 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
77
78 * Makefile.in (SFILES): Add memattr.c.
79 (COMMON_OBS): Add memattr.o.
80 (dcache.o): Add target.h to dependencies.
81 * memattr.c: New file.
82 * memattr.h: Likewise.
83
f29d9b6d
C
84 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
85 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
86 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
87 * gdbserver/low-sim.c (#include "defs.h"): Removed.
88 (mygeneric_load): Rename from generic_load.
89
90 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
91 (#include "defs.h"): Removed.
92 (inferior_pid, perror_with_name): Remove declarations.
93 * gdbserver/low-linux.c: Likewise.
94 * gdbserver/low-nbsd.c: Likewise.
95 * gdbserver/low-sparc.c: Likewise.
96 * gdbserver/low-sun3.c: Likewise.
97
98 * i386-stub.c: Re-indent.
99 * m68k-stub.c: Re-indent.
100
58d5518e
ND
1012001-01-22 Nicholas Duffek <nsd@redhat.com>
102
103 * gdbarch.sh (PARM_BOUNDARY): Define.
104 * gdbarch.c: Regenerate.
105 * gdbarch.h: Regenerate.
106
f6427ade
C
1072001-01-22 J.T. Conklin <jtc@redback.com>
108
109 * ns32k-tdep.c: #include "frame.h"
110 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
111 appears to have been inadvertantly removed sometime in May 1999.
112
113 * Revert 2000-11-09 changes where shared library objects were
114 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
115 we'd like to be able to debug dynamically linked executables,
116 this makes it impossible to build a cross debugger on a many
117 hosts.
118
119 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
120 * config/i386/nbsdelf.mt: Likewise.
121 * config/m68k/nbsd.mt: Likewise.
122 * config/ns32k/nbsd.mt: Likewise.
123 * config/powerpc/nbsd.mt: Likewise.
124 * config/sparc/nbsd.mt: Likewise.
125 * config/sparc/nbsdelf.mt: Likewise.
126 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
127 * config/i386/nbsdelf.mh: Likewise.
128 * config/m68k/nbsd.mh: Likewise.
129 * config/ns32k/nbsd.mh: Likewise.
130 * config/powerpc/nbsd.mh: Likewise.
131 * config/sparc/nbsd.mh: Likewise.
132
8052a17a
JM
1332001-01-19 Jason Merrill <jason@redhat.com>
134
135 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
136 (process_one_symbol): Likewise.
137 * dwarfread.c (handle_producer): Likewise.
138
21a6f6bb
AC
139Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
140
141 * configure.in (build_warnings): Disable -Wuninitialized until GDB
142 compiles with -Wuninitialized,-Werror.
143 * configure: Regenerate.
144
145 * MAINTAINERS: Add list of buildable targets.
146
494b7ec9
AC
147Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
148
149 * defs.h (STRCMP): Delete macro.
150
151 * objfiles.c (objfile_relocate): Replace STRCMP with call to
152 strcmp.
153 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
154 * symfile.c (compare_symbols): Ditto.
155 * standalone.c (open): Ditto.
156 * remote-es.c (verify_break): Ditto.
157 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
158
159 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
160
8038e1e2
AC
161Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
162
163 * varobj.c (FREEIF): Delete macro.
164 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
165 call.
166
ea8d0b28
NC
1672001-01-18 Nick Clifton <nickc@redhat.com>
168
169 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
170 (arc_print_insn): No bfd available, so pass NULL to
171 arc_get_disassembler.
172
5dbd9048
JB
1732001-01-09 James Ingham <jingham@inghji.apple.com>
174
175 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
176 a mangled symbol rather than recursing into lookup_symbol, since
177 this will just re-unmangle the name & call lookup_symbol_aux -
178 leading to an infinite recursion.
179
28ae27b1
MK
1802001-01-18 Mark Kettenis <kettenis@gnu.org>
181
182 * infcmd.c (print_return_value): Restore another space lost by
183 switch to UIOUT. ``$NN='' should be ``$NN =''.
184
6ab3a9c9
AC
185Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
186
187 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
188 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
189 definition in parenthesis.
190
ad6525fc
AC
191Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
192
193 From 2000-10-27 Mark Salter <msalter@redhat.com>:
194 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
195 packet.
196 (remote_insert_hw_breakpoint): Ditto.
197
6259c7e2
C
1982001-01-17 J.T. Conklin <jtc@redback.com>
199
200 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
9c95b27f 201 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
6259c7e2
C
202 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
203 * m68knbsd-tdep.c: New file.
204
205 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
206
207 * m68knbsd-nat.c: #include gdbcore.h.
208
abdcb2a5
AC
209Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
210
211 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
212
e7a8479f
MS
2132001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
214
aaeb7efa
MS
215 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
216 goes away -- just return false (ie. not stopped by watchpoint).
e7a8479f
MS
217 * source.c (openp): Fix typo in comment.
218
7036d6ce
ND
2192001-01-12 Nicholas Duffek <nsd@redhat.com>
220
221 * blockframe.c (generic_get_saved_register): Spelling fix.
222 * frame.h (FRAME_FP): Spelling fix.
223
9549d9c1
AC
224Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
225
226 * infcmd.c (print_return_value): Restore space lost by switch to
227 UIOUT. ``$NN='' should be ``$NN =''.
228
7302a204
ND
2292001-01-08 Nicholas Duffek <nsd@redhat.com>
230
231 * regcache.c (set_register_cached, register_buffer,
232 real_register, pseudo_register fetch_register, store_register):
233 New functions.
234 (register_changed, read_relative_register_raw_bytes_for_frame,
235 registers_changed, registers_fetched, read_register_bytes,
236 read_register_gen, write_register_gen, read_register,
237 read_signed_register, write_register, supply_register): Replace
238 register_valid[] with register_cached() and
239 set_register_cached().
240 (read_register_bytes, read_register_gen, write_register_gen,
241 read_register, read_signed_register, write_register,
242 supply_register): Replace registers[] with register_buffer().
243 (read_register_bytes, read_register_gen, read_register,
244 read_signed_register): Call fetch_register().
245 (write_register_gen, write_register): Call real_register() and
246 store_register().
247 (write_register_bytes): Call store_register().
248 * value.h (set_register_cached, register_buffer): Prototype.
249 * remote.c (remote_fetch_registers): Allocate regs[] with a
250 run-time size. Replace register_valid[] with
251 set_register_cached().
252 (store_register_using_P, remote_store_registers): Replace
253 registers[] with register_buffer().
254
5ebd2499
ND
2552001-01-08 Nicholas Duffek <nsd@redhat.com>
256
257 * regcache.c: Change "write-back" comment to "write-through".
258 Change "regno" to "regnum".
259 (read_register, read_signed_register): Remove "raw" from return
260 value description.
261 (supply_register): Spelling fix.
262 * value.h: Change "regno" to "regnum".
263
1302fd5e
FN
2642001-01-08 Fernando Nasser <fnasser@redhat.com>
265
266 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
267 to be installed.
268
9dcb560c
MS
2692001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
270
271 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
272
0e2fb98e
ND
2732001-01-04 Nicholas Duffek <nsd@redhat.com>
274
275 * valops.c (VALUE_SUBSTRING_START): Delete.
276
12cf3f1b
ND
2772001-01-04 Nicholas Duffek <nsd@redhat.com>
278
279 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
280 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
281 (cli_utils_h): New variable.
282 (cli/cli-utils.o): New rule.
283 * cli/cli-utils.c: New file.
284 * cli/cli-utils.h: New file.
285
cc533b9d
ND
2862001-01-04 Nicholas Duffek <nsd@redhat.com>
287
288 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
289 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
290
ad2a4d09
C
2912001-01-03 J.T. Conklin <jtc@redback.com>
292
293 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
294 comment.
295
8140e7ac
MS
2962001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
297
d19b71be
MS
298 * sh-tdep.c (sh_extract_return_value): Allow for small return type.
299 (sh_sh4_extract_return_value): Call sh_extract_return_value for
300 non-float types.
779e876b 301 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
72e22353
MS
302 Update copyright notice.
303
15f33b66 304For older changes see ChangeLog-2000
c906108c
SS
305\f
306Local Variables:
307mode: change-log
308left-margin: 8
309fill-column: 74
310version-control: never
311End:
This page took 0.17208 seconds and 4 git commands to generate.