Commit | Line | Data |
---|---|---|
228c6d41 DJ |
1 | 2002-07-04 Daniel Jacobowitz <drow@mvista.com> |
2 | ||
3 | * symtab.c (remove_params): New function. | |
4 | (make_symbol_overload_list): Use it instead of cplus_demangle. | |
5 | (overload_list_add_symbol): Likewise. Reorder. Fix memory leak. | |
6 | ||
2404952e MK |
7 | 2002-07-04 Mark Kettenis <kettenis@gnu.org> |
8 | ||
e5e4acad MK |
9 | * i386obsd-nat.c (_initialize_i386obsd_nat): Fix typo in prototype. |
10 | ||
baadce09 MK |
11 | * i386bsd-tdep.c (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): |
12 | New variables. | |
13 | (i386nbsd_init_abi): Use these to initialize tdep->sigtramp_start | |
14 | and tdep->sigtramp_end. | |
15 | * i386obsd-nat.c: New file. | |
16 | * config/i386/obsd.mh (NATDEPFILES): Add i386obsd-nat.o. | |
17 | ||
2404952e MK |
18 | * dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf. |
19 | Don't call get_current_frame(). | |
20 | ||
9b4f1ba7 PM |
21 | 2002-07-04 Pierre Muller <muller@ics.u-strasbg.fr> |
22 | ||
23 | * i386-nat.c (child_post_startup_inferior): New function | |
24 | calling i386_cleanup_dregs if | |
25 | I386_USE_GENERIC_WATCHPOINTS is defined. | |
26 | * config/i386/nm-i386.h: define CHILD_POST_STARTUP_INFERIOR | |
27 | conditional to acknowledge that i386-nat.c has its | |
28 | own child_post_startup_inferior function. | |
29 | ||
c0d1d883 MK |
30 | 2002-07-04 Mark Kettenis <kettenis@gnu.org> |
31 | ||
00f8375e MK |
32 | * i386-tdep.h (I386_MAX_REGISTER_SIZE): New define. |
33 | * i386-tdep.c (i386_do_pop_frame): Use I386_MAX_REGISTER_SIZE | |
34 | instead of MAX_REGISTER_RAW_SIZE. | |
35 | (i386_extract_return_value, i386_extract_struct_value_address): | |
36 | Convert to use regcache. | |
37 | (i386_gdbarch_init): Set max_register_raw_size and | |
38 | max_register_virtual_size to I386_MAX_REGISTER_SIZE. | |
39 | Set extract_return_value and extract_struct_value_address instead | |
40 | of their deprecated variants. | |
41 | ||
c0d1d883 MK |
42 | Convert i386 target to generic dummy frames. |
43 | * i386-tdep.c: Include "symfile.h". | |
44 | (i386_frameless_signal_p): Consider a function to be frameless if | |
45 | the pc points at the first instruction of the function. | |
46 | (i386_frame_chain): Handle (generic) call dummies. | |
47 | (i386_frame_saved_pc): Likewise. | |
48 | (i386_frame_init_saved_regs): Remove code dealing with call | |
49 | dummies on the stack. | |
50 | (i386_push_dummy_frame): Removed. | |
51 | (i386_call_dummy_words): Removed. | |
52 | (i386_fix_call_dummy): Removed. | |
53 | (i386_push_return_address): New function. | |
54 | (i386_do_pop_frame): Renamed from i386_pop_frame. Add FRAME | |
55 | parameter, and don't call get_current_frame. | |
56 | (i386_pop_frame): New function. | |
57 | (i386_gdbarch_init): Set use_generic_dummy_frames to 1, set | |
58 | call_dummy_location to AT_ENTRY_POINT, set call_dummy_address to | |
59 | entry_point_address, set call_dummy_breakpoint_offset to 0, set | |
60 | call_dummy_length to 0, set call_dummy_words to NULL, set | |
61 | sizeof_call_dummy_words to 0, set fix_call_dummy to | |
62 | generic_fix_call_dummy, set pc_in_call_dummy to | |
63 | pc_in_call_dummy_at_entry_point, set push_dummy_frame to | |
64 | generic_push_dummy_frame, set push_return_address to | |
65 | i386_push_return_address and set frame_chain_valid to | |
66 | generic_file_frame_chain_valid. | |
67 | ||
638c1580 ML |
68 | 2002-07-04 Michal Ludvig <mludvig@suse.cz> |
69 | ||
70 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Make it an array of | |
71 | byte offsets instead of an array of indexes. | |
72 | (x86_64_store_gregset, x86_64_store_fpregset): Parameter made const. | |
73 | ||
049ee0e4 AC |
74 | 2002-07-03 Andrew Cagney <ac131313@redhat.com> |
75 | ||
76 | * gdbarch.sh (struct regcache): Add opaque declaration. | |
77 | (EXTRACT_RETURN_VALUE): New architecture method. | |
78 | (EXTRACT_STRUCT_VALUE_ADDRESS): Ditto. | |
79 | * gdbarch.h, gdbarch.c: Regenerate. | |
80 | * arch-utils.c (legacy_extract_return_value): New function. | |
81 | * arch-utils.h (legacy_extract_return_value): Declare. | |
82 | * values.c (value_being_returned): Re-enable code handling | |
83 | EXTRACT_STRUCT_VALUE_ADDRESS. Move | |
84 | deprecated_grub_regcache_for_registers call to block handling | |
85 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
86 | (EXTRACT_RETURN_VALUE): Do not define. | |
87 | ||
4e0d9804 GS |
88 | 2002-07-03 Grace Sainsbury <graces@redhat.com> |
89 | ||
90 | * config/mcore/tm-mcore.h (REGISTER_BYTES, NUM_REGS, PC_REGNUM) | |
91 | (SP_REGNUM, FP_REGNUM, FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK) | |
92 | (BREAKPOINT_FROM_PC, INNER_THAN, SAVED_PC_AFTER_CALL) | |
93 | (INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS, INIT_FRAME_PC) | |
94 | (FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC) | |
95 | (STORE_RETURN_VALUE, DEPRECATED_EXTRACT_RETURN_VALUE) | |
96 | (STORE_STRUCT_RETURN, DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS) | |
97 | (SKIP_PROLOGUE, FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS) | |
98 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, POP_FRAME) | |
99 | (PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME, PUSH_ARGUMENTS): Remove. | |
100 | * mcore-tdep.c (mcore_init_extra_frame_info): Add fromleaf | |
101 | argument so the function fits the prototype in the architecture | |
102 | vector. | |
103 | (mcore_pop_frame): Remove argument so the function fits the | |
104 | prototype. Use get_current_frame instead of the argument. | |
105 | (mcore_push_arguments): Change type of struct_return so the | |
106 | function can be used in the architecture vector. | |
107 | (mcore_store_struct_return): Add. | |
108 | (mcore_frame_init_saved_regs): Add. | |
109 | (mcore_gdbarch_init): Add function calls to replace the macros | |
110 | removed from tm-mcore.h | |
111 | ||
36160dc4 AC |
112 | 2002-07-03 Andrew Cagney <ac131313@redhat.com> |
113 | ||
114 | * infcmd.c (print_return_value): Remove compatibility code calling | |
115 | deprecated_grub_regcache_for_registers. | |
116 | ||
117 | * values.c: Include "regcache.h". | |
118 | (value_being_returned): Update. Use | |
119 | deprecated_grub_regcache_for_registers to extract the register | |
120 | buffer address. | |
121 | * value.h (value_being_returned): Change ``retbuf'' parameter to a | |
122 | ``struct regcache''. | |
123 | * Makefile.in (values.o): Add dependency on $(regcache_h). | |
124 | ||
125 | * inferior.h (run_stack_dummy): Change type of second parameter to | |
126 | a ``struct regcache''. | |
127 | * valops.c (hand_function_call): Change type of retbuf to ``struct | |
128 | regcache''. Allocate using regcache_xmalloc, clean using | |
129 | make_cleanup_regcache_xfree. | |
130 | * infcmd.c (run_stack_dummy): Update. Use | |
131 | regcache_cpu_no_passthrough instead of memcpy to copy the buffer. | |
132 | ||
133 | * regcache.c (do_regcache_xfree): New function. | |
134 | (make_cleanup_regcache_xfree): New function. | |
135 | * regcache.h (make_cleanup_regcache_xfree): Declare. | |
136 | ||
e64d9b3d MH |
137 | 2002-07-03 Martin M. Hunt <hunt@redhat.com> |
138 | ||
4dd79c29 MH |
139 | * event-top.c (command_line_handler): Don't read past |
140 | beginning of buffer. | |
e64d9b3d | 141 | |
4dd79c29 MH |
142 | 2002-07-03 Martin M. Hunt <hunt@redhat.com> |
143 | ||
e64d9b3d MH |
144 | * varobj.c (struct varobj_root): Change frame from CORE_ADDR to |
145 | struct frame_id. | |
146 | (varobj_create): Store frame_id for root. | |
147 | (varobj_gen_name): Use xasprintf. | |
148 | (varobj_update): Save and restore frame using get_frame_id() and | |
149 | frame_find_by_id(). | |
150 | (create_child): Use xasprintf. | |
151 | (new_root_variable): Initialize frame_id. | |
152 | (c_name_of_child): Use xasprintf. Call find_frame_by_id(). | |
153 | (c_value_of_variable): Use xasprintf. Move mem_fileopen call | |
154 | to prevent memory leak. | |
155 | ||
26e6c56a AC |
156 | 2002-07-03 Andrew Cagney <ac131313@redhat.com> |
157 | ||
158 | * valops.c (hand_function_call): Move declaration of retbuf to | |
159 | start of function, allocate using malloc, add a cleanup but before | |
160 | the inf_status cleanup, cleanup the buffer. Rename local variable | |
161 | old_chain to inf_status_cleanup. | |
162 | ||
f436dd25 MH |
163 | 2002-07-03 Martin M. Hunt <hunt@redhat.com> |
164 | ||
165 | * top.c (execute_command): Use cmd_func() and cmd_func_p(). | |
166 | ||
167 | * cli/cli-decode.c (cmd_func_p): New function. | |
168 | (cmd_func): New function. | |
169 | ||
170 | * command.h: Add cmd_func() and cmd_func_p(). | |
171 | ||
4cfe2084 GS |
172 | 2002-07-03 Grace Sainsbury <graces@redhat.com> |
173 | ||
174 | * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Add macro. Set to 0. | |
175 | (REGISTER_SIZE): Remove. | |
176 | (MAX_REGISTER_RAW_SIZE): Remove. | |
177 | (REGISTER_VIRTUAL_TYPE): Remove. | |
178 | (MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
179 | (REGISTER_NAME): Remove. | |
180 | (USE_GENERIC_DUMMY_FRAMES): Remove. | |
181 | (CALL_DUMMY): Remove. | |
182 | (CALL_DUMMY_START_OFFSET): Remove. | |
183 | (CALL_DUMMY_BREAKPOINT_OFFSET): Remove. | |
184 | (CALL_DUMMY_LOCATION): Remove. | |
185 | (FIX_CALL_DUMMY): Remove. | |
186 | (CALL_DUMMY_ADDRESS): Remove. | |
187 | (SIZEOF_CALL_DUMMY_WORDS): Remove. | |
188 | (SAVE_DUMMY_FRAME_TOS): Remove. | |
189 | * mcore-tdep.c (MCORE_REG_SIZE, MCORE_NUM_REGS): Add macros. | |
190 | (mcore_register_virtual_type): New function. | |
191 | (mcore_register_byte): New function. | |
192 | (mcore_register_size): New function. | |
193 | (mcore_register_name): New function. | |
194 | (mcore_gdbarch_init): New function. Add set_gdbarch calls for | |
195 | macros removed from tm-mcore.h. | |
196 | (mcore_dump_tdep): Add. | |
197 | (_initialize_mcore_tdep): Add gdbarch_register call. | |
198 | ||
4fd667e9 MK |
199 | 2002-07-03 Mark Kettenis <kettenis@gnu.org> |
200 | ||
201 | * i386-tdep.c (i386_frameless_signal_p): Provide an argument in to | |
202 | frameless_look_for_prologue, such that we actually call this | |
203 | function. | |
204 | ||
42f99ac2 JB |
205 | 2002-07-02 Joel Brobecker <brobecker@gnat.com> |
206 | ||
207 | * frame.h (frame_address_in_block): New function. | |
208 | ||
209 | * blockframe.c (frame_address_in_block): New function extracted | |
210 | from get_frame_block(). | |
211 | (get_frame_block): Use frame_address_in_block(). | |
212 | (block_innermost_frame): Use frame_address_in_block() to match | |
213 | the frame pc address against the block boundaries rather than | |
214 | the frame pc directly. This prevents a failure when a frame pc | |
215 | is actually a return-address pointing immediately after the end | |
216 | of the given block. | |
217 | ||
103a1597 | 218 | 2002-07-02 Grace Sainsbury <graces@redhat.com> |
83b4a0fe GS |
219 | |
220 | * MAINTAINERS: Add self under write after approval. | |
221 | ||
222 | 2002-07-02 Grace Sainsbury <graces@redhat.com> | |
223 | ||
103a1597 GS |
224 | * m68k-tdep.c (m68k_remote_breakpoint_from_pc): Add. Currently not |
225 | used in architecture vector. The default is | |
226 | m68k_local_breakpoint_from_pc. | |
227 | (m68k_local_breakpoint_from_pc): Add. | |
228 | (enum): Add register numbers from tm-m68k.h. | |
229 | (m68k_gdbarch_init): Add breakpoint_from_pc to architecture | |
230 | vector. | |
231 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Set to | |
232 | GDB_MULTI_ARCH_PARTIAL. | |
233 | (BPT_VECTOR, REGISTER_BYTES_FP, REGISTER_BYTES_NOFP) | |
234 | (NUM_FREGS, SIG_PC_FP_OFFSET, SP_ARG0, REMOTE_BPT_VECTOR): Move to | |
235 | m68k-tdep.c. | |
236 | (BREAKPOINT, REMOTE_BREAKPOINT): Remove. | |
237 | (A1_REGNUM, FP0_REGNUM, FPC_REGNUM, FPS_REGNUM, FPI_REGNUM): Move | |
238 | to enum in m68k-tdep.c | |
239 | ||
7a5a0534 JB |
240 | 2002-07-02 Joel Brobecker <brobecker@gnat.com> |
241 | ||
242 | * solib-osf.c (open_map): Compute the list of shared libraries | |
243 | loaded by the inferior, rather than the list of libraries loaded | |
244 | by GDB itself. Otherwise, GDB ends up reading the symbols from | |
245 | the wrong shared libraries... | |
246 | ||
6f558d74 MK |
247 | 2002-07-02 Mark Kettenis <kettenis@gnu.org> |
248 | ||
b7d15bf7 MK |
249 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Make static. |
250 | (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONEXT_SP_OFFSET): Remove | |
251 | macros. | |
252 | (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp): | |
253 | Remove functions. | |
254 | (FRAMELESS_SIGNAL): Remove function. | |
255 | (i386_linux_frame_chain, i386_linux_frame_saved_pc, | |
256 | i386_linux_saved_pc_after_call): Removed. | |
257 | (i386_linux_init_abi): Initialize tdep->sigcontext_addr, | |
258 | tdep->sc_pc_offset and tdep->sc_sp_offset. Don't override | |
259 | frame_chain, frame_saved_pc and saved_pc_after_call any longer. | |
260 | ||
6bff26de MK |
261 | * i386-tdep.c (i386_frameless_signal_p): New function. |
262 | (i386_frame_chain): Deal with frameless signals. | |
263 | (i386_sigtramp_saved_sp): New function. | |
264 | (i386_frame_saved_pc): Deal with frameless signals. | |
265 | (i386_saved_pc_after_call): Make sure the correct value is | |
266 | returned just after entry into a sigtramp. | |
267 | * i386bsd-tdep.c (i386bsd_sc_sp_offset, i386nbsd_sc_sp_offset, | |
268 | i386fbsd4_sc_sp_offset): New variables. | |
269 | (i386bsd_init_abi, i386nbsd_init_abi, i386fbsd4_init_abi): Use | |
270 | these variables to initialize tdep->sc_sp_offset. * i386bsd-nat.c | |
271 | (_initialize_i386bsd_nat): Add sanity check for sc_sp_offset | |
272 | similiar to what we already did for sc_pc_offset. | |
273 | * i386-sol2-tdep.c (i386_sol2_init_abi): Initialize | |
274 | tdep->sc_sp_offset. | |
275 | ||
6f558d74 MK |
276 | * i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line. |
277 | ||
145564b7 ML |
278 | 2002-07-02 Michal Ludvig <mludvig@suse.cz> |
279 | ||
280 | * config/i386/tm-x86-64linux.h: New. | |
281 | * config/i386/x86-64linux.mt: Add GDB_MULTI_ARCH and TM_FILE | |
282 | definitions. | |
283 | * config/i386/nm-x86-64.h: Rename to ... | |
284 | * config/i386/nm-x86-64linux.h: ... this one. | |
285 | * config/i386/x86-64linux.mh: Reflect the above change. | |
286 | ||
3a1e71e3 MK |
287 | 2002-07-01 Mark Kettenis <kettenis@gnu.org> |
288 | ||
21d0e8a4 MK |
289 | * i386-tdep.h (struct gdbarch_tdep): Replace sigtramp_saved_pc |
290 | with sigcontext_addr. Add sc_sp_offset. | |
291 | (i386bsd_sigtramp_saved_pc): Remove prototype. | |
292 | (i386bsd_sicontext_addr): Add prototype. | |
293 | * i386-tdep.c (i386_sigtramp_saved_pc): New function. | |
294 | (i386_frame_saved_pc): Rewrite to call i386_sigtramp_saved_pc. | |
295 | (i386_svr4_sigtramp_saved_pc): Removed. | |
296 | (i386_svr4_sigcontext_addr): New function. | |
297 | (i386_svr4_init_abi): Don't initialize tdep->sigtramp_saved_pc. | |
298 | Initialize tdep->sigcontext_addr instead. Initialize | |
299 | tdep->sc_pc_offset and tdep->sc_sp_offset. | |
300 | (i386_gdbarch_init): Likewise. | |
301 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Don't make it static | |
302 | any more. | |
303 | (i386bsd_sigtramp_saved_pc): Remove function. | |
304 | (i386bsd_init_abi): Don't initialize tdep->sigtramp_saved_pc. | |
305 | Initialize tdep->sigcontext_addr instead. Initialize | |
306 | tdep->sc_pc_offset. | |
307 | * i386-linux-tdep.c (i386_linux_init_abi): Remove initialization | |
308 | of tdep->sigtramp_saved_pc. | |
309 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't initialize | |
310 | tdep->sigtramp_saved_pc. Initialize tdep->sigcontext_addr | |
311 | instead. | |
312 | ||
3a1e71e3 MK |
313 | * i386-tdep.c (i386_frameless_function_invocation, |
314 | i386_frame_num_args, i386_frame_init_saved_regs, | |
315 | i386_skip_prologue, i386_push_dummy_frame, i386_fix_call_dummy, | |
316 | i386_pop_frame, i386_push_arguments, i386_store_struct_return, | |
317 | i386_extract_return_value, i386_store_return_value, | |
318 | i386_extract_struct_value_address, i386_register_virtual_type, | |
319 | i386_register_convertible, i386_register_convert_to_virtual, | |
320 | i386_register_convert_to_raw, i386_svr4_sigtramp_saved_pc, | |
321 | i386_go32_init_abi, i386_nw_init_abi, i386_gdbarch_init): Make | |
322 | static. | |
323 | ||
52e9098c MK |
324 | 2002-07-01 Mark Kettenis <kettenis@gnu.org> |
325 | ||
77b13a25 MK |
326 | * i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed. |
327 | ||
52e9098c MK |
328 | * config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed. |
329 | * i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of | |
330 | this macro. Include "value.h". | |
331 | ||
1b372fff AS |
332 | 2002-06-30 Aidan Skinner <aidan@velvet.net> |
333 | ||
334 | * ada-exp.tab.c: remove as it's a generated file | |
335 | * ada-lex.c: remove as it's a generated file | |
336 | ||
9c5045b5 MK |
337 | 2002-06-30 Mark Kettenis <kettenis@gnu.org> |
338 | ||
4a93c5bb MK |
339 | * config/i386/tm-i386.h (struct frame_info, struct |
340 | frame_saved_regs, struct value, struct type): Remove forward | |
341 | declarations. | |
342 | ||
322d4fe0 MK |
343 | * config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS] |
344 | (FILL_FPXREGSET, HAVE_SSE_REGS): Remove define. | |
345 | * config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS] | |
346 | (FILL_FPXREGSET): Define. | |
347 | ||
fdd8263d MK |
348 | * config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define. |
349 | ||
482e577b MK |
350 | * configure.tgt (i[3456]86-*-openbsd*): Fold into |
351 | i[3456]86-*-netbsd* case. | |
352 | * config/i386/tm-obsd.h: Removed. | |
353 | * config/i386/obsd.mt: Removed. | |
354 | * config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and | |
355 | core-aout.o. | |
356 | (MH_CFLAGS): Add -DYYDEBUG=0. | |
357 | ||
6916549a MK |
358 | * i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to |
359 | i386nbsd_sc_pc_offset on OpenBSD too. | |
360 | ||
9c5045b5 MK |
361 | * config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS] |
362 | (IN_SOLIB_CALL_TRAMPOLINE): Remove define. | |
363 | * config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove | |
364 | define. | |
365 | * i386bsd-tdep.c: Include "arch-utils.h". | |
366 | (i386bsd_aout_in_solib_call_trampoline): New function. | |
367 | (i386bsd_init_abi): Set in_solib_call_trampoline to | |
368 | i386bsd_aout_in_solib_call_trampoline. | |
369 | (i386nbsdelf_init_abi, i386fbsd_init_abi): Set | |
370 | in_solib_call_trampoline to generic_in_solib_call_trampoline. | |
371 | ||
aa84d1bb AC |
372 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
373 | ||
374 | * macrotab.h: Do not include "obstack.h" or "bcache.h". | |
375 | (struct obstack, struct bcache): Add opaque declarations. | |
376 | * Makefile.in (macrotab_h): Update | |
377 | ||
b4d83933 AC |
378 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
379 | ||
380 | * blockframe.c (generic_find_dummy_frame): Change return type to | |
381 | ``struct regcache''. | |
382 | (struct dummy_frame): Replace field ``registers'' with regcache, a | |
383 | struct regcache object. | |
384 | (generic_find_dummy_frame): Update. | |
385 | (generic_push_dummy_frame): Update. Use regcache_xfree, | |
386 | regcache_xmalloc and regcache_cpy. | |
387 | (generic_pop_dummy_frame): Update. Use regcache_cpy and | |
388 | regcache_xfree. | |
389 | (deprecated_generic_find_dummy_frame): Update. | |
390 | (generic_read_register_dummy): Update. Use | |
391 | regcache_read_as_address. | |
392 | (generic_call_dummy_register_unwind): Update. Use regcache_read. | |
393 | (generic_get_saved_register): Update. Use regcache_read. | |
394 | ||
08c0b5bc AC |
395 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
396 | ||
397 | * Makefile.in (objfiles_h): Add $(bcache_h). | |
398 | * objfiles.h: Include "bcache.h". | |
399 | ||
400 | * Makefile.in (symtab_h): Remove $(bcache_h). | |
401 | * symtab.h: Do not include "bcache.h". | |
402 | ||
1f89801a AC |
403 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
404 | ||
405 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to | |
406 | generic_func_frame_chain_valid. | |
407 | ||
b9644b58 DB |
408 | 2002-06-28 David O'Brien <obrien@FreeBSD.org> |
409 | ||
410 | * config/i386/nm-fbsd.h: Include <sys/param.h>. | |
411 | * config/i386/tm-fbsd.h: Likewise. | |
412 | ||
dd486634 AC |
413 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
414 | ||
415 | * rs6000-tdep.c (rs6000_gdbarch_init): Use | |
416 | generic_unwind_get_saved_register. | |
417 | ||
0b434a00 AC |
418 | 2002-06-27 Andrew Cagney <ac131313@redhat.com> |
419 | ||
420 | From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>: | |
421 | * regcache.c (supply_register): Add missing argument to | |
422 | register_buffer call. | |
423 | ||
f30e5a77 AC |
424 | 2002-06-27 Andrew Cagney <ac131313@redhat.com> |
425 | ||
426 | * Makefile.in (init.c): Drop -e option to grep. Not necessary and | |
427 | Solaris /bin/grep does not not like it. From Peter Schauer. | |
428 | ||
9f064c95 TT |
429 | 2002-06-26 Tom Tromey <tromey@redhat.com> |
430 | ||
431 | * command.h (add_setshow_cmd): Declare. | |
432 | (add_setshow_cmd_full): Declare. | |
433 | * cli/cli-decode.c (add_setshow_cmd): No longer static. Now | |
434 | returns void. Use add_setshow_cmd_full. | |
435 | (add_setshow_cmd_full): New function. | |
436 | (add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full. | |
437 | (add_setshow_boolean_cmd): Likewise. | |
438 | ||
099c7589 JT |
439 | 2002-06-26 Jason Thorpe <thorpej@wasabisystems.com> |
440 | ||
441 | * config/vax/tm-vax.h: Protect from multiple inclusion. | |
442 | (TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR) | |
443 | (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to... | |
444 | * config/vax/tm-vaxbsd.h: ...here. New file. | |
445 | * config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h. | |
446 | ||
1d049c5e JT |
447 | 2002-06-26 Jason Thorpe <thorpej@wasabisystems.com> |
448 | ||
449 | * config/vax/tm-vax.h (BREAKPOINT): Remove. | |
450 | (BELIEVE_PCC_PROMOTION): Remove. | |
451 | (AP_REGNUM): Move to... | |
452 | * config/vax/nm-vax.h: ...here. | |
453 | * vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM. | |
454 | (vax_breakpoint_from_pc): New function. | |
455 | (vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc | |
456 | and gdbarch_believe_pcc_promotion. | |
457 | ||
4791e091 JT |
458 | 2002-06-26 Jason Thorpe <thorpej@wasabisystems.com> |
459 | ||
460 | * Makefile.in (vax_tdep_h): Define. | |
461 | (vax-tdep.o): Use $(vax_tdep_h). | |
462 | * vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework. | |
463 | (vax_dump_tdep): New function. | |
464 | (_initialize_vax_tdep): Register vax_dump_tdep. | |
465 | * vax-tdep.h: Include osabi.h. | |
466 | (struct gdbarch_tdep): New. | |
467 | ||
da130f98 AC |
468 | 2002-06-26 Andrew Cagney <cagney@redhat.com> |
469 | ||
470 | * frame.h (deprecated_generic_find_dummy_frame): Rename | |
471 | generic_find_dummy_frame. | |
472 | * blockframe.c (generic_find_dummy_frame): Make static. | |
473 | (deprecated_generic_find_dummy_frame): New function. | |
474 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace | |
475 | generic_find_dummy_frame with deprecated_find_dummy_frame. | |
476 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
477 | (sh_fp_frame_init_saved_regs): Ditto. | |
478 | * s390-tdep.c (s390_frame_saved_pc_nofix): Ditto. | |
479 | (s390_frame_chain): Ditto. | |
480 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
481 | ||
6300c360 GS |
482 | 2002-06-26 Grace Sainsbury <graces@redhat.com> |
483 | ||
484 | * config/m68k/tm-m68k.h: Rearrange code so macros not in the | |
485 | gdbarch vector are at the top. | |
486 | (NUM_REGS): Remove. | |
487 | (FP_REGNUM, SP_REGNUM, PS_REGNUM, PC_REGNUM, FP0_REGNUM): Remove. | |
488 | (FRAME_ARGS_ADDRESS): Remove. | |
489 | (FRAME_LOCALS_ADDRESS): Remove. | |
490 | (FRAME_NUM_ARGS): Remove. | |
491 | (FRAME_ARGS_SKIP): Remove. | |
492 | * m68k-tdep.c (enum): Add eumeration of special register numbers. | |
493 | (m68k_gdbarch_init): Add gdbarch initializations for macros | |
494 | undefined in tm-m68k.h | |
495 | ||
1c617db8 GS |
496 | 2002-06-26 Grace Sainsbury <graces@redhat.com> |
497 | ||
498 | * monitor.h: Add the function regname to monitor_ops | |
499 | structure. This way NUM_REGS does not have to be a constant. | |
500 | * monitor.c (monitor_fetch_register): Added support for regname | |
501 | function. The function is called if the array regnames is NULL. | |
502 | (monitor_store_register): Same. | |
da130f98 AC |
503 | * cpu32bug-rom.c (cpu32bug_regname): Add function. Replaces |
504 | regnames array. | |
1c617db8 GS |
505 | (init_cpu32bug_cmds): set cpu32bug_cmds.regnames to NULL, |
506 | cpu32bug_cmds.regname to point to new function. | |
507 | * abug-rom.c (abug_regname): Same as above. | |
508 | (init_abug_cmds): Same. | |
509 | * dbug-rom.c (dbug_regname): Same as above. | |
510 | (init_dbug_cmds): Same. | |
511 | * remote-est.c (est_regname): Same. | |
512 | (init_est_cmds): Same. | |
513 | * rom68k-rom.c (rom68k_regname): Same. | |
514 | (init_rom68k_cmds): Same. | |
515 | ||
ea9365bb TT |
516 | 2002-06-25 Tom Tromey <tromey@redhat.com> |
517 | ||
518 | * breakpoint.c (delete_command): Don't repeat `delete' commands. | |
519 | ||
72cec141 AC |
520 | 2002-06-25 Andrew Cagney <cagney@redhat.com> |
521 | ||
522 | * infrun.c (stop_registers): Change variable's type to ``struct | |
523 | regcache'''. | |
524 | (xmalloc_inferior_status): Delete function. | |
525 | (free_inferior_status): Delete function. | |
526 | (normal_stop): Use regcache_cpy. | |
527 | (struct inferior_status): Change type of fields ``stop_registers'' | |
528 | and ``registers'' to ``struct regcache''. | |
529 | (write_inferior_status_register): Use regcache_write. | |
530 | (save_inferior_status): Instead of calling | |
531 | xmalloc_inferior_status, allocate the inf_status buffer directly. | |
532 | Use regcache_dup_no_passthrough and regcache_dup to save the | |
533 | buffers. | |
534 | (restore_inferior_status): Use regcache_xfree and regcache_cpy. | |
535 | Replace the stop_registers regcache instead of overriding it. Use | |
536 | regcache_xfree. Instead of calling free_inferior_status, xfree | |
537 | the buffer directly. | |
538 | (discard_inferior_status): Use regcache_xfree. Instead of calling | |
539 | free_inferior_status, xfree the buffer directly. | |
540 | (build_infrun): Use regcache_xmalloc. | |
541 | (_initialize_infrun): Delete redundant call to build_infrun. | |
542 | ||
543 | * Makefile.in (infcmd.o): Add $(regcache_h). | |
544 | ||
545 | * infcmd.c: Include "regcache.h". | |
546 | (run_stack_dummy): Use deprecated_grub_regcache_for_registers to | |
547 | obtain the address of `stop_registers' register buffer. | |
548 | (print_return_value): Ditto. | |
549 | ||
550 | * inferior.h (struct regcache): Add opaque declaration. | |
551 | (stop_registers): Change variable's declared type to ``struct | |
552 | regcache''. | |
553 | ||
defc6f8c TT |
554 | 2002-06-24 Tom Tromey <tromey@redhat.com> |
555 | ||
c0e624e7 TT |
556 | * cli/cli-decode.c (add_show_from_set): Fixed typo in comment. |
557 | * target.c (initialize_targets): Fixed typo in | |
558 | trust-readonly-sections `show' documentation. | |
559 | ||
defc6f8c TT |
560 | * main.c: Marked all strings with _(). |
561 | ||
2b236d82 DH |
562 | 2002-06-24 Don Howard <dhoward@redhat.com> |
563 | ||
564 | * memattr.c (create_mem_region): Treat hi == 0 as a special case | |
565 | that means max CORE_ADDR+1. | |
566 | (lookup_mem_region): Ditto. | |
567 | (mem_info_command): Ditto. | |
568 | ||
942dc0e9 GS |
569 | 2002-06-24 Grace Sainsbury <graces@redhat.com> |
570 | ||
571 | * config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove. | |
572 | (REGISTER_BYTES_OK): Remove. | |
573 | (REGISTER_BYTES): Remove. | |
574 | (STORE_STRUCT_RETURN): Remove. | |
575 | (DEPRECATED_EXTRACT_RETURN_VALUE): Remove. | |
576 | (STORE_RETURN_VALUE): Remove. | |
577 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
578 | (FRAME_CHAIN): Remove. | |
579 | (FRAMELESS_FUNCTION_INVOCATION): Remove. | |
580 | (FRAME_SAVED_PC): Remove. | |
581 | * m68k-tdep.c (m68k_register_bytes_ok):Add. | |
582 | (m68k_store_struct_return): Add. | |
583 | (m68k_deprecated_extract_return_value): Add. | |
584 | (m68k_deprecated_extract_struct_value_address): Add. | |
585 | (m68k_store_return_value): Add. | |
586 | (m68k_frame_chain): Add. | |
587 | (m68k_frameless_function_invocation): Add. | |
588 | (m68k_frame_saved_pc): Add. | |
589 | (m68k_gdbarch_init): added set_gdbarch calls for new | |
590 | functions and deleted macros. | |
591 | ||
03c30d4d TT |
592 | 2002-06-23 Tom Tromey <tromey@redhat.com> |
593 | ||
594 | * Makefile.in (HFILES_NO_SRCDIR): Remove old files. | |
595 | (ALLDEPFILES): Likewise. | |
596 | (udiheaders): Removed. | |
597 | (udip2soc.o): Likewise. | |
598 | (udi2go32.o): Likewise. | |
599 | (udr.o): Likewise. | |
600 | (HFILES_WITH_SRCDIR): Don't mention udiheaders. | |
601 | ||
37e71372 AC |
602 | 2002-06-22 Andrew Cagney <ac131313@redhat.com> |
603 | ||
06a6ac57 AC |
604 | * infrun.c (_initialize_infrun): Delete unnecessary call to |
605 | build_infrun. | |
606 | ||
37e71372 AC |
607 | * regcache.h: Update comments describing the regcache_cpy family |
608 | of functions. | |
609 | (regcache_save, regcache_restore): Delete declaration. | |
610 | (regcache_save_no_passthrough): Delete declaration. | |
611 | (regcache_restore_no_passthrough): Delete declaration. | |
612 | * regcache.c (regcache_save): Delete function. | |
613 | (regcache_save_no_passthrough): Delete function. | |
614 | (regcache_restore): Delete function. | |
615 | (regcache_restore_no_passthrough): Delete function. | |
616 | ||
78f6d055 AC |
617 | 2002-06-21 Andrew Cagney <ac131313@redhat.com> |
618 | ||
619 | * config/m68k/tm-m68k.h: Fix typo. | |
620 | (FRAME_INIT_SAVED_REGS): Define when non-multi-arch. | |
621 | (m68k_frame_init_saved_regs): Declare. | |
622 | ||
78b119cb JB |
623 | 2002-06-21 Jim Blandy <jimb@redhat.com> |
624 | ||
625 | Remove some vestiges of Harris 88k support. | |
626 | * dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k | |
627 | register numbering quirk. | |
628 | * elfread.c (elf_symtab_read): Remove `#if' block for skipping | |
629 | odd symbols occurring in Harris 88k ELF targets. | |
630 | ||
0fbb3da7 TT |
631 | 2002-06-21 Tom Tromey <tromey@redhat.com> |
632 | ||
633 | * gdb_locale.h: New file. | |
634 | * Makefile.in (GDB_CFLAGS): Define LOCALEDIR. | |
635 | (defs_h): Added gdb_locale.h. | |
636 | * configure, config.in: Rebuilt. | |
637 | * configure.in (PACKAGE): Define. | |
638 | * defs.h: Include gdb_locale.h. | |
639 | * main.c (captured_main): Call setlocale, bindtextdomain, | |
640 | textdomain. | |
641 | ||
456f8b9d DB |
642 | 2002-06-21 Dave Brolley <brolley@redhat.com> |
643 | ||
644 | From Stan Shebs, Jim Blandy, Mark Salter, Kevin Buettner: | |
645 | * config/frv/frv.mt: New file. | |
646 | * config/frv/tm-frv.h: New file. | |
647 | * configure.tgt: Support frv-*-*. | |
648 | * Makefile.in (frv-tdep.o): New target. | |
649 | * frv-tdep.c: New file. | |
650 | * NEWS: Mention frv. | |
651 | ||
cdd463f9 DB |
652 | 2002-06-21 Dave Brolley <brolley@redhat.com> |
653 | ||
654 | * MAINTAINERS: Add self to "Write After Approval" list. | |
655 | ||
5d3ed2e3 GS |
656 | 2002-06-21 Grace Sainsbury <graces@redhat.com> |
657 | ||
658 | * config/m68k/tm-m68k.h (REGISTER_BYTE, REGISTER_RAW_SIZE) | |
659 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
660 | (REGISTER_VIRTUAL_TYPE, REGISTER_NAMES, TARGET_LONG_DOUBLE_FORMAT) | |
661 | (FUNCTION_START_OFFSET, SKIP_PROLOGUE, SAVED_PC_AFTER_CALL) | |
662 | (INNER_THAN, STACK_ALIGN, REGISTER_SIZE): Remove macros. | |
663 | ||
664 | * m68k-tdep.c: Include arch-utils.h | |
665 | (m68k_register_raw_size): Add. | |
666 | (m68k_register_virtual_size): Add. | |
667 | (m68k_register_virtual_type): Add. | |
668 | (m68k_register_name): Add. | |
669 | (m68k_stack_align): Add. | |
670 | (m68k_register_byte): Add. | |
671 | (m68k_gdbarch_init): Add set_gdbarch calls for macros removed in | |
672 | tm-m68k.h. | |
673 | ||
7f8e7424 GS |
674 | 2002-06-21 Grace Sainsbury <graces@redhat.com> |
675 | ||
a2c6a6d5 | 676 | * m68k-tdep.c (m68k_frame_init_saved_regs): Replace |
7f8e7424 GS |
677 | m68k_find_saved_regs. |
678 | (m68k_pop_frame): Removed saved_regs structure, and replaced | |
5d3ed2e3 | 679 | references to it with frame->saved_regs. |
7f8e7424 GS |
680 | (m68k_gdbarch_init): Added function calls to initialize the |
681 | gdbarch structure. | |
a2c6a6d5 GS |
682 | (m68k_fix_call_dummy): Add. |
683 | * config/m68k/tm-m68k.h: (FRAME_FIND_SAVED_REGS): Remove. | |
684 | (CALL_DUMMY): Remove. | |
685 | (CALL_DUMMY_LENGTH): Remove. | |
686 | (CALL_DUMMY_START_OFFSET): Remove. | |
687 | (CALL_DUMMY_BREAKPOINT_OFFSET): Remove. | |
688 | (FIX_CALL_DUMMY): Remove. | |
689 | (PUSH_DUMMY_FRAME): Remove. | |
690 | (POP_FRAME): Remove. | |
7f8e7424 | 691 | |
f461f5cf PM |
692 | 2002-06-19 Pierre Muller <muller@ics.u-strasbg.fr> |
693 | ||
694 | * parse.c (parse_fprintf): New function used to avoid calls to | |
695 | fprintf in bison parser generated debug code. | |
696 | * parser-defs.h: Declaration of new parse_fprintf function. | |
697 | * ada-exp.y, c-exp.y, f-exp.y, jv-exp.y, m2-exp.y, p-exp.y: | |
698 | Set YYDEBUG to 1 by default. | |
699 | Set YYFPRINTF as parse_fprintf. | |
700 | ||
7f0c12ed ML |
701 | 2002-06-21 Michal Ludvig <mludvig@suse.cz> |
702 | ||
703 | * dwarf2cfi.c (read_encoded_pointer): Don't handle pointer | |
704 | encoding anymore. | |
705 | (pointer_encoding, enum ptr_encoding): New. | |
706 | (execute_cfa_program): Take care about pointer encoding. | |
707 | (dwarf2_build_frame_info): Only call parse_frame_info for | |
708 | .debug_frame and .eh_frame. | |
709 | (parse_frame_info): New, derived from former dwarf2_build_frame_info. | |
710 | fixed augmentation handling, added relative addressing, | |
711 | ignore duplicate FDEs. Added comments. | |
19d833a2 | 712 | * dwarf2cfi.c: Reindented. |
7f0c12ed | 713 | |
87c4a039 EZ |
714 | 2002-06-20 Elena Zannoni <ezannoni@redhat.com> |
715 | ||
716 | * event-top.c (command_handler): Don't use space_at_cmd_start | |
717 | unless there is sbrk() on the host. Assign time and space data | |
718 | to union fields of the appropriate length. | |
719 | ||
1cf877ad ML |
720 | 2002-06-20 Michal Ludvig <mludvig@suse.cz> |
721 | ||
722 | * x86-64-tdep.c (x86_64_register_nr2name): Rename to | |
723 | x86_64_register_name. Return type changed to 'const char *'. | |
724 | (x86_64_register_name2nr): Rename to x86_64_register_number. | |
725 | (x86_64_gdbarch_init): Update to reflect the change. | |
726 | * x86-64-tdep.h: Ditto. | |
727 | * x86-64-linux-nat.c (x86_64_fxsave_offset) | |
728 | (supply_fpregset): Ditto. | |
729 | ||
3fadccb3 AC |
730 | 2002-06-19 Andrew Cagney <cagney@redhat.com> |
731 | ||
732 | * regcache.h: Update copyright. | |
733 | (struct regcache, struct gdbarch): Add opaque declarations. | |
734 | (current_regcache): Declare global variable. | |
735 | (regcache_read, regcache_write): Add gdbarch parameter. | |
736 | (regcache_save, regcache_save_no_passthrough) | |
737 | (regcache_restore, regcache_restore_no_passthrough) | |
738 | (regcache_dup, regcache_dup_no_passthrough) | |
739 | (regcache_cpy, regcache_cpy_no_passthrough) | |
740 | (deprecated_grub_regcache_for_registers) | |
741 | (deprecated_grub_regcache_for_register_valid) | |
742 | (regcache_valid_p): Add function declarations. | |
743 | ||
744 | * regcache.c: Update copyright. | |
745 | (regcache_descr_handle): New global variable. | |
746 | (struct regcache_descr): Define. | |
747 | (init_legacy_regcache_descr, init_regcache_descr): New functions. | |
748 | (regcache_descr, xfree_regcache_descr): New functions. | |
749 | (struct regcache): Define. | |
750 | (regcache_xmalloc, regcache_xfree): New functions. | |
751 | (regcache_cpy, regcache_cpy_no_passthrough): New functions. | |
752 | (regcache_dup, regcache_dup_no_passthrough): New functions. | |
753 | (regcache_valid_p, regcache_read_as_address): New functions. | |
754 | (deprecated_grub_regcache_for_registers): New function. | |
755 | (deprecated_grub_regcache_for_register_valid): New function. | |
756 | (current_regcache): New global variable. | |
757 | (register_buffer): Add regcache parameter. Update calls. | |
758 | (regcache_read, regcache_write): Add regcache parameter. Rewrite. | |
759 | (read_register_gen, write_register_gen): Update register_buffer | |
760 | call. Test for legacy_p instead of gdbarch_register_read_p or | |
761 | gdbarch_register_write_p. | |
762 | (regcache_collect): Update register_buffer call. | |
763 | (build_regcache): Rewrite. Use deprecated grub functions. | |
764 | (regcache_save, regcache_save_no_passthrough): New functions. | |
765 | (regcache_restore, regcache_restore_no_passthrough): New | |
766 | functions. | |
767 | (_initialize_regcache): Create the regcache_data_handle. Swap | |
768 | current_regcache global variable. | |
769 | ||
770 | * sh-tdep.c (sh_pseudo_register_read): Add current_regcache | |
771 | parameter to regcache_read and regcache_write calls. | |
772 | (sh4_register_read): Ditto. | |
773 | (sh64_pseudo_register_read): Ditto. | |
774 | (sh64_register_read): Ditto. | |
775 | (sh_pseudo_register_write): Ditto. | |
776 | (sh4_register_write): Ditto. | |
777 | (sh64_pseudo_register_write): Ditto. | |
778 | (sh64_register_write): Ditto. | |
779 | ||
780 | * defs.h (XCALLOC): Define. | |
781 | ||
152d9db6 GS |
782 | 2002-06-19 Grace Sainsbury <graces@redhat.com> |
783 | ||
784 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Added (set to 0). | |
785 | * m68k-tdep.c (m68k_gdbarch_init): Added. | |
786 | (m68k_dump_tdep): Added. | |
787 | ||
170911c7 DJ |
788 | 2002-06-19 Daniel Jacobowitz <drow@mvista.com> |
789 | ||
790 | * ada-lang.c (fill_in_ada_prototype): Update comment. | |
791 | ||
2e4ebe70 DJ |
792 | 2002-06-19 Daniel Jacobowitz <drow@mvista.com> |
793 | ||
794 | * mips-tdep.c (enum mips_abi): Explicitly start at 0. Add | |
795 | MIPS_ABI_LAST. | |
796 | (mips_abi_string, mips_abi_strings): New. | |
797 | (struct gdbarch_tdep): Remove mips_abi_string, add found_abi. | |
798 | (mips_gdbarch_init): Set tdep->found_abi. Don't set | |
799 | tdep->mips_abi_string. Honor mips_abi_string. Default to | |
800 | O32 if no ABI is found. | |
801 | (mips_dump_tdep): Use mips_abi_strings. | |
802 | (mips_abi_update): New function. | |
803 | (_initialize_mips_tdep): Initialize mips_abi_string. Add | |
804 | ``set mips abi'' and ``show mips abi''. Check the size of | |
805 | mips_abi_strings. | |
806 | ||
16775908 AC |
807 | 2002-06-19 Andrew Cagney <cagney@redhat.com> |
808 | ||
809 | * i386-linux-tdep.c (i386_linux_register_name): Make return type | |
810 | constant. | |
811 | ||
5051bfa4 | 812 | 2002-06-18 Joel Brobecker <brobecker@gnat.com> |
16775908 | 813 | |
5051bfa4 JB |
814 | * alpha-tdep.c (heuristic_proc_desc): Compute the size of the |
815 | current frame using only the first stack size adjustment. All | |
816 | subsequent size adjustments are not considered to be part of | |
817 | the "static" part of the current frame. | |
818 | Compute the address of the saved registers relative to the | |
819 | Frame Pointer ($fp) instead of the Stack Pointer if $fp is | |
820 | in use in this frame. | |
821 | ||
56468235 DH |
822 | 2002-06-18 Don Howard <dhoward@redhat.com> |
823 | ||
824 | * valops.c (value_ind): Use value_at_lazy() when dereferencing | |
825 | type int expressions. Thanks to Jim Blandy <jimb@redhat.com> for | |
826 | suggesting this solution. | |
827 | ||
0b624158 AC |
828 | 2002-06-18 Andrew Cagney <ac131313@redhat.com> |
829 | ||
830 | * config/romp/xm-rtbsd.h: Delete file. | |
831 | * config/romp/rtbsd.mh: Delete file. | |
832 | ||
221ea385 KS |
833 | 2002-06-18 Keith Seitz <keiths@redhat.com> |
834 | ||
835 | * breakpoint.c (condition_command): Post breakpoint_modify | |
836 | when a condition is added to an existing breakpoint. | |
837 | (commands_command): Likewise for commands. | |
838 | (set_ignore_count): Likewise for ignore counts. | |
839 | If no tty, do not simply return, still need to send event | |
840 | notification. | |
841 | (ignore_command): Only print a newline if the command came | |
842 | from a tty. | |
843 | Don't call breakpoints_changed, since this is now properly | |
844 | handled by set_ignore_count. | |
845 | ||
5402eed1 AC |
846 | 2002-06-18 Andrew Cagney <cagney@redhat.com> |
847 | ||
848 | * MAINTAINERS: Note that cris-elf target can be compiled with | |
849 | -Werror. | |
850 | * cris-tdep.c (cris_register_name): Make return type constant. | |
851 | (cris_breakpoint_from_pc): Ditto. | |
852 | ||
cc22880b ML |
853 | 2002-06-18 Michal Ludvig <mludvig@suse.cz> |
854 | ||
855 | * frame.h (struct frame_info): Change type of context to | |
856 | 'struct context'. | |
857 | ||
fa88f677 AC |
858 | 2002-06-17 Andrew Cagney <cagney@redhat.com> |
859 | ||
860 | * gdbarch.sh (REGISTER_NAME): Change return type a constant string | |
861 | pointer. | |
862 | * gdbarch.h, gdbarch.c: Regenerate. | |
863 | * config/mips/tm-mips.h (mips_register_name): Update. | |
864 | * i386-tdep.h (i386_register_name): Update. | |
865 | * mips-tdep.c (mips_register_name): Update | |
866 | * alpha-tdep.c (alpha_register_name): Update. | |
867 | * arch-utils.c (legacy_register_name): Update. | |
868 | * arch-utils.h (legacy_register_name): Update. | |
869 | * avr-tdep.c (avr_register_name): Update. | |
870 | * ia64-tdep.c (ia64_register_name): Update. | |
871 | * i386-tdep.c (i386_register_name): Update. | |
872 | * sparc-tdep.c (sparc32_register_name): Update. | |
873 | (sparc64_register_name): Update. | |
874 | (sparclite_register_name): Update. | |
875 | (sparclet_register_name): Update. | |
876 | * sh-tdep.c (sh_generic_register_name): Update. | |
877 | (sh_sh_register_name): Update. | |
878 | (sh_sh3_register_name): Update. | |
879 | (sh_sh3e_register_name): Update. | |
880 | (sh_sh_dsp_register_name): Update. | |
881 | (sh_sh3_dsp_register_name): Update. | |
882 | (sh_sh4_register_name): Update. | |
883 | (sh_sh64_register_name): Update. | |
884 | * s390-tdep.c (s390_register_name): Update. | |
885 | * rs6000-tdep.c (rs6000_register_name): Update. | |
886 | * ns32k-tdep.c (ns32k_register_name_32082): Update. | |
887 | (ns32k_register_name_32382): Update. | |
888 | * d10v-tdep.c (d10v_ts2_register_name): Update. | |
889 | (d10v_ts3_register_name): Update. | |
890 | * xstormy16-tdep.c (xstormy16_register_name): Update. | |
891 | * vax-tdep.c (vax_register_name): Update. | |
892 | * v850-tdep.c (v850_register_name): Update. | |
893 | * m68hc11-tdep.c (m68hc11_register_name): Update. | |
894 | * mn10300-tdep.c (mn10300_generic_register_name): Update. | |
895 | (am33_register_name): Update. | |
896 | ||
ea1e7ef6 GS |
897 | 2002-06-17 Grace Sainsbury <graces@redhat.com> |
898 | ||
899 | * m68k-tdep.c: Reindented. | |
900 | ||
9b02dd1b AC |
901 | 2002-06-17 Andrew Cagney <ac131313@redhat.com> |
902 | ||
903 | * gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to the | |
904 | list of predefined types. | |
905 | ||
8758dec1 MK |
906 | 2002-06-16 Mark Kettenis <kettenis@gnu.org> |
907 | ||
b6197528 MK |
908 | * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE, |
909 | REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, | |
910 | REGISTER_CONVERT_TO_RAW): Remove defines. | |
911 | (i386_register_virtual_type, i386_register_convertible, | |
912 | i386_register_convert_to_virtual, i386_register_convert_to_raw): | |
913 | Remove prototypes. | |
914 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
915 | macros mentioned above. | |
916 | ||
82b47e62 MK |
917 | * config/i386/tm-i386lynx.h (SAVED_PC_AFTER_CALL): Remove define. |
918 | (i386lynx_saved_pc_after_call): Remove prototype. | |
919 | * i386ly-tdep.c: Include "i386-tdep.h". | |
920 | (i386lynx_saved_pc_after_call): Make static. Use | |
921 | read_memory_nobpt instead of read_memory. Use | |
922 | read_memory_unsigned_integer instead of read_memory_integer. | |
923 | (i386lynx_init_abi): New function. | |
924 | (i386lynx_coff_osabi_sniffer): New function. | |
925 | (_initialize_i386bsd_tdep): New function. | |
926 | ||
8758dec1 MK |
927 | * config/i386/tm-i386.h (PARM_BOUNDARY, CALL_DUMMY, |
928 | CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET, | |
929 | CALL_DUMMY_BREAKPOINT_OFFSET, FIX_CALL_DUMMY): Remove defines. | |
930 | (i386_fix_call_dummy): Remove prototype. | |
931 | * i386-tdep.c (i386_call_dummy_words): New variable. | |
932 | (i386_gdbarch_init): Adjust for removal of the | |
933 | macros mentioned above. | |
934 | ||
e9e68a56 AC |
935 | 2002-06-15 Andrew Cagney <ac131313@redhat.com> |
936 | ||
937 | * command.h (add_setshow_auto_boolean_cmd): Replace | |
938 | add_set_auto_boolean_cmd. | |
939 | * cli/cli-decode.c (add_setshow_auto_boolean_cmd): Replace | |
940 | add_set_auto_boolean_cmd. | |
941 | * cli/cli-decode.h (add_set_auto_boolean_cmd): Delete declaration. | |
942 | * mips-tdep.c (_initialize_mips_tdep): Update ``set mips | |
943 | mask-address'' command. | |
944 | (show_mask_address): Add cmd parameter. | |
945 | * remote.c (add_packet_config_cmd): Update. Change type of | |
946 | set_func and show_func to cmd_sfunc_ftype. | |
947 | (_initialize_remote): Update `set remote Z-packet' | |
948 | (show_remote_protocol_qSymbol_packet_cmd): Add cmd parameter. | |
949 | (show_remote_protocol_e_packet_cmd): Ditto. | |
950 | (show_remote_protocol_E_packet_cmd): Ditto. | |
951 | (show_remote_protocol_P_packet_cmd): Ditto. | |
952 | (show_remote_protocol_Z_software_bp_packet_cmd): Ditto. | |
953 | (show_remote_protocol_Z_hardware_bp_packet_cmd): Ditto. | |
954 | (show_remote_protocol_Z_write_wp_packet_cmd): Ditto. | |
955 | (show_remote_protocol_Z_read_wp_packet_cmd): Ditto. | |
956 | (show_remote_protocol_Z_access_wp_packet_cmd): Ditto. | |
957 | (show_remote_protocol_Z_packet_cmd): Ditto. | |
958 | (show_remote_protocol_binary_download_cmd): Ditto. | |
959 | (show_remote_cmd): Pass NULL to all of above. | |
960 | ||
fc08ec52 MK |
961 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
962 | ||
963 | * config/i386/tm-i386.h (PUSH_ARGUMENTS, STORE_STRUCT_RETURN, | |
964 | DEPRECATED_EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, | |
965 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS, PUSH_DUMMY_FRAME, | |
966 | POP_FRAME): Remove defines. | |
967 | (i386_push_arguments, i386_store_struct_return, | |
968 | i386_extract_return_value, i386_store_return_value, | |
969 | i386_extract_struct_value_address, i386_push_dummy_frame, | |
970 | i386_pop_frame): Renove prototypes. | |
971 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
972 | macros mentioned above. | |
973 | ||
e707bbc2 AC |
974 | 2002-06-15 Andrew Cagney <ac131313@redhat.com> |
975 | ||
976 | * cli/cli-decode.c (add_setshow_boolean_cmd): Replace | |
977 | add_set_boolean_cmd. | |
978 | (add_setshow_cmd): New function. | |
979 | * command.h (add_setshow_boolean_cmd): Replace | |
980 | add_set_boolean_cmd. | |
981 | * remote-rdi.c (_initialize_remote_rdi): Update ``set rdiheartbeat'' | |
982 | and ``set rdiromatzero''. | |
983 | * maint.c (_initialize_maint_cmds): Update commented out code. | |
984 | * cli/cli-decode.h (add_set_boolean_cmd): Delete declaration. | |
985 | * target.c (initialize_targets): Update `set | |
986 | trust-readonly-sections'. | |
987 | * remote.c (_initialize_remote): Update `set remotebreak'. | |
988 | ||
42fdc8df MK |
989 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
990 | ||
93924b6b MK |
991 | * config/i386/tm-i386.h (FUNCTION_START_OFFSET, INNER_THAN, |
992 | BREAKPOINT, DECR_PC_AFTER_BREAK): Removed. | |
993 | * i386-tdep.c (i386_skip_prologue): Adjust function signature to | |
994 | fit into multi-arch framework. | |
995 | (i386_breakpoint_from_pc): New function. | |
996 | (i386_gdbarch_init): Adjust for removal of the macros mentioned | |
997 | above. | |
998 | ||
42fdc8df MK |
999 | * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION, |
1000 | FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, | |
1001 | FRAME_ARGS_SKIP, FRAME_INIT_SAVED_REGS): Remove defines. | |
1002 | (i386_frameless_function_invocation, i386_frame_num_args, | |
1003 | i386_frame_init_saved_regs): Remove prototypes. | |
1004 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
1005 | macros mentioned above. | |
1006 | ||
9773a94b AC |
1007 | 2002-06-15 Andrew Cagney <ac131313@redhat.com> |
1008 | ||
1009 | * cli/cli-decode.c (set_cmd_cfunc): Update. | |
1010 | (set_cmd_sfunc): Update. | |
1011 | * command.h (cmd_cfunc_ftype, cmd_sfunc_ftype): Declare. | |
1012 | (set_cmd_sfunc, set_cmd_cfunc): Update. | |
1013 | * cli/cli-decode.h: Update. | |
1014 | ||
6e157172 MK |
1015 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
1016 | ||
1017 | * i386-sol2-tdep.c (i386_sol2_osabi_sniffer): New function. | |
1018 | (_initialize_i386_sol2_tdep): Register i386_sol2_osabi_sniffer. | |
1019 | ||
7f19b9a2 AC |
1020 | 2002-06-15 Andrew Cagney <ac131313@redhat.com> |
1021 | ||
1022 | * defs.h (auto_boolean): Declare enum. | |
1023 | * command.h (cmd_auto_boolean): Delete enum. | |
1024 | * mips-tdep.c (mask_address_var): Update. | |
1025 | (mips_mask_address_p): Update. | |
1026 | (show_mask_address): Update. | |
1027 | * remote.c (struct packet_config): Update. | |
1028 | (update_packet_config): Update. | |
1029 | (show_packet_config_cmd): Update. | |
1030 | (packet_ok): Update. | |
1031 | (add_packet_config_cmd): Update. | |
1032 | (_initialize_remote): | |
1033 | * command.h: Update. | |
1034 | * cli/cli-setshow.c (parse_auto_binary_operation): Update. | |
1035 | (do_setshow_command): Update. | |
1036 | * cli/cli-decode.c (add_set_auto_boolean_cmd): Update. | |
1037 | * cli/cli-decode.h: Update. | |
1038 | ||
1cf88de5 MK |
1039 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
1040 | ||
22ba8cf2 MK |
1041 | * config/i386/tm-cygwin.h, config/i386/tm-fbsd.h, |
1042 | config/i386/tm-go32.h, config/i386/tm-i386gnu.h, | |
1043 | config/i386/tm-i386sol2.h, config/i386/tm-i386v4.h, | |
1044 | config/i386/tm-linux.h, config/i386/tm-nbsd.h, | |
1045 | config/i386/tm-obsd.h (HAVE_I387_REGS): Remove define. | |
1046 | * config/i386/tm-i386.h: Unconditionally define FLOAT_INFO. | |
1047 | ||
762c5349 MK |
1048 | * i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the |
1049 | list of DJGPP COFF targets. | |
1050 | ||
091198bb MK |
1051 | * config/i386/tm-i386.h (REGISTER_SIZE): Remove define. |
1052 | (NUM_GREGS, NUM_FREGS, NUM_SSE_REGS): Remove defines. | |
1053 | (FP_REGNUM, SP_REGNUM, PC_REGNUM, PS_REGNUM): Remove defines. | |
1054 | (FP0_REGNUM): Remove define. | |
1055 | (MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE, | |
1056 | MAX_REGISTER_VIRTUAL_SIZE): Remove define. | |
1057 | (i386_register_virtual_size): Remove protoype. | |
1058 | * i386-tdep.c (i386_register_virtual_size): Removed. | |
1059 | (i386_extract_return_value, i386_store_return_value): Use | |
1060 | FP0_REGNUM instead of NUM_FREGS to determine whether the | |
1061 | floating-point registers are available. | |
1062 | (i386_gdbarch_init): Tweak FIXME about FPU registers. | |
1063 | Adjust for removal of macros mentioned above. | |
1064 | ||
1065 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> | |
1066 | ||
fcc9bf01 MK |
1067 | * i386v4-nat.c: Include "i386-tdep.h". Reformat and tweak various |
1068 | comments. | |
1069 | (fill_gregset, supply_gregset, supply_fpregset, fill_fpregset): | |
1070 | Remove prototypes. | |
1071 | (supply_gregset, fill_gregset): Remove use of register keyword and | |
1072 | remove declaration for regmap. Use I386_NUM_GREGS instead of | |
1073 | NUM_REGS and NUM_FREGS. | |
1074 | (FPREGSET_FSAVE_OFFSET): Remove. | |
1075 | (supply_fpregset, fill_fpregset): Use FPO_REGNUM instead of | |
1076 | NUM_FREGS to determine whether the floating-point registers are | |
1077 | available. | |
1078 | ||
65e78234 MK |
1079 | * i386gnu-nat.c (supply_gregset, gnu_fetch_registers, |
1080 | gnu_store_registers): Replace usage of NUM_GREGS with | |
1081 | I386_NUM_GREGS. | |
1082 | ||
98df6387 MK |
1083 | * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER, |
1084 | OLD_CANNOT_STORE_REGISTER, supply_gregset, fill_gregset): Replace | |
1085 | usage of NUM_GREGS with I386_NUM_GREGS. | |
1086 | ||
099a9414 MK |
1087 | * i386-linux-nat.c (fill_gregset): Remove redundant parentheses. |
1088 | ||
57976e88 MK |
1089 | * i386bsd-nat.c: Include "i386-tdep.h". |
1090 | (supply_gregset, fill_gregset): Replace usage of NUM_GREGS with | |
1091 | I386_NUM_GREGS. | |
1092 | ||
b335f4a6 MK |
1093 | * i386v-nat.c: Remove copnditional inclusion of <asm/debugreg.h>, |
1094 | and associated comment. They no longer make any sense, since we | |
1095 | don't use this file anymore on Linux. | |
1096 | ||
1cf88de5 MK |
1097 | * config/i386/tm-i386.h (MAX_NUM_REGS): Removed. |
1098 | * i386-tdep.c (i386_register_offset, i386_register_size): Use | |
1099 | I386_SSE_NUM_REGS instead of MAX_NUM_REGS for the number of | |
1100 | elements in these arrays. | |
1101 | (_initialize_i386_tdep): Use I386_SSE_NUM_REGS instead of | |
1102 | MAX_NUM_REGS. | |
1103 | ||
daa66587 MK |
1104 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
1105 | ||
1106 | * osabi.h (gdb_osabi): Add GDB_OSABI_LYNXOS. | |
1107 | * osabi.c (gdb_osabi_names): Add entry for "LynxOS". | |
1108 | ||
26e9b323 AC |
1109 | 2002-06-14 Andrew Cagney <cagney@redhat.com> |
1110 | ||
1111 | * gdbarch.sh (DEPRECATED_EXTRACT_RETURN_VALUE): Rename | |
1112 | EXTRACT_RETURN_VALUE. | |
1113 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Rename | |
1114 | EXTRACT_STRUCT_VALUE_ADDRESS. | |
1115 | * gdbarch.h, gdbarch.c: Regenerate. | |
1116 | ||
1117 | * values.c (value_being_returned): Handle | |
1118 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
1119 | (EXTRACT_RETURN_VALUE): Define as DEPRECATED_EXTRACT_RETURN_VALUE. | |
1120 | ||
1121 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
1122 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1123 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1124 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1125 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
1126 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1127 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1128 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1129 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1130 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1131 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1132 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1133 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
1134 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1135 | * vax-tdep.c (vax_gdbarch_init): Update. | |
1136 | * x86-64-tdep.c (x86_64_gdbarch_init): Update. | |
1137 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1138 | ||
1139 | * config/arc/tm-arc.h: Update. | |
1140 | * config/d30v/tm-d30v.h: Update. | |
1141 | * config/fr30/tm-fr30.h: Update. | |
1142 | * config/h8300/tm-h8300.h: Update. | |
1143 | * config/h8500/tm-h8500.h: Update. | |
1144 | * config/i386/tm-i386.h: Update. | |
1145 | * config/i386/tm-ptx.h: Update. | |
1146 | * config/i386/tm-symmetry.h: Update. | |
1147 | * config/i960/tm-i960.h: Update. | |
1148 | * config/m32r/tm-m32r.h: Update. | |
1149 | * config/m68k/tm-delta68.h: Update. | |
1150 | * config/m68k/tm-linux.h: Update. | |
1151 | * config/m68k/tm-m68k.h: Update. | |
1152 | * config/m88k/tm-m88k.h: Update. | |
1153 | * config/mcore/tm-mcore.h: Update. | |
1154 | * config/mips/tm-mips.h: Update. | |
1155 | * config/mn10200/tm-mn10200.h: Update. | |
1156 | * config/pa/tm-hppa.h: Update. | |
1157 | * config/pa/tm-hppa64.h: Update. | |
1158 | * config/sparc/tm-sp64.h: Update. | |
1159 | * config/sparc/tm-sparc.h: Update. | |
1160 | * config/sparc/tm-sparclet.h: Update. | |
1161 | * config/z8k/tm-z8k.h: Update. | |
1162 | ||
5179e78f AC |
1163 | 2002-06-14 Andrew Cagney <cagney@redhat.com> |
1164 | ||
1165 | * Makefile.in (i386_linux_tdep_h): Define. | |
1166 | (i386_tdep_h, i387_tdep_h): Define. | |
1167 | (i386-linux-nat.o): Add $(i386_linux_tdep_h), | |
1168 | $(i386_tdep_h) and $(i387_tdep_h). | |
1169 | * i386-linux-nat.c: Include "i386-linux-tdep.h". | |
1170 | ||
8201327c MK |
1171 | 2002-06-14 Mark Kettenis <kettenis@gnu.org> |
1172 | ||
edf393ac MK |
1173 | * config/i386/tm-i386.h (START_INFERIOR_TRAPS_EXPECTED): Removed. |
1174 | Already covered by the default. | |
1175 | ||
896fb97d MK |
1176 | * config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT, |
1177 | TARGET_LONG_DOUBLE_BIT): Remove. * i386-tdep.c | |
1178 | (i386_gdbarch_init): Initialize long_double_format and long_double | |
1179 | bit. | |
1180 | ||
8201327c MK |
1181 | * config/i386/i386sol2.mt (TDEPFILES): Add i386-sol2-tdep.o and |
1182 | i386bsd-tdep.o. Remove solib.o, solib-svr4.o and solib-legacy.o. | |
1183 | Move these to ... | |
1184 | * config/i386/i386sol2.mh: ... here. | |
1185 | * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Remove define. | |
1186 | (sigtramp_saved_pc, I386V4_SIGTRAMP_SAVED_PC): Don't #undef. | |
1187 | (SIGCONTEXT_PC_OFFSET): Remove define. | |
1188 | (IN_SIGTRAMP): Remove define. | |
1189 | * i386-sol2-tdep.c: New file. | |
1190 | ||
1191 | * config/i386/i386nw.mt (TM_FILE): Change to tm-i386.h. | |
1192 | * config/i386/tm-i386nw.h: Removed. | |
1193 | ||
1194 | * config/i386/tm-fbsd.h (STAB_REG_TO_REGNUM, | |
1195 | USE_STRUCT_CONVENTION): Remove defines. | |
1196 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
1197 | (get_longjmp_target): Remove prototype. | |
1198 | (IN_SIGTRAMP): Remove define. | |
1199 | (i386bsd_in_sigtramp): Remove prototype. | |
1200 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a | |
1201 | function. Update comment accordingly | |
1202 | (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly. | |
1203 | (FRAME_SAVED_PC): Remove define. | |
1204 | (i386bsd_frame_saved_pc): Remove prototype. | |
1205 | * config/i386/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC, | |
1206 | GET_LONGJMP_TARGET): Remove defines. | |
1207 | (get_longjmp_target): Remove prototype. | |
1208 | (IN_SIGTRAMP): Remove define. | |
1209 | (i386bsd_in_sigtramp): Remove prototype. | |
1210 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a | |
1211 | function. Update comment accordingly | |
1212 | (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly. | |
1213 | (FRAME_SAVED_PC): Remove define. | |
1214 | (i386bsd_frame_saved_pc): Remove prototype. | |
1215 | * config/i386/tm-nbsdaout.h (i386nbsd_aout_use_struct_convention): | |
1216 | Remove prototype. | |
1217 | (USE_STRUCT_CONVENTION): Remove prototype. | |
1218 | * i386bsd-nat.c (i386bsd_sigcontext_pc_offset): Remove | |
1219 | declaration. | |
1220 | (_initialize_i386bsd_nat): Revise logic to determine some | |
1221 | constants at compile time when compiling a native GDB. Warn if | |
1222 | things don't match up with what we expect. | |
1223 | * i386bsd-tdep.c (i386bsd_sigtramp_start, i386bsd_sigtramp_end): | |
1224 | Remove variables. | |
1225 | (i386bsd_in_sigtramp): Rename tp i386bsd_pc_in_sigtramp. Rewrite | |
1226 | to use date stored in `struct gdbarch_tdep'. | |
1227 | (i386bsd_sigcontext_offset): Remove varaible. | |
1228 | (i386bsd_sigtramp_saved_pc): Make public. Rewrite to use data | |
1229 | stored in `struct gdbarch_tdep'. | |
1230 | (i386bsd_frame_saved_pc): Make static. | |
1231 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): New functions. | |
1232 | (i386bsd_sc_pc_offset, i386nbsd_sc_pc_offset, | |
1233 | i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, | |
1234 | i386fbsd4_sc_pc_offset): New variables. | |
1235 | (i386bsd_init_abi, i386nbsd_init_abi, i386nbsdelf_init_abi, | |
1236 | i386fbsdaout_init_abi, i386fbsd_init_abi, i386fbsd4_init_abi): New | |
1237 | functions. | |
1238 | (i386bsd_aout_osabi_sniffer, _initialize_i386bsd_tdep): New | |
1239 | functions. | |
1240 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Fix type in comment. | |
1241 | Modify the value of i386fbsd_sigtramp_start and | |
1242 | i386fbsd_sigtramp_end instead of i386bsd_sigtramp_start and | |
1243 | i386fbsd_sigtramp_end. | |
1244 | * i386nbsd-tdep.c: (i386nbsd_aout_use_struct_convention): Remove | |
1245 | function. | |
1246 | ||
1247 | * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Move | |
1248 | define to i386-linux-tdep.h. | |
1249 | (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME, | |
1250 | REGISTER_BYTE, REGISTER_RAW_SIZE, STAB_REG_TO_REGNUM): Remove | |
1251 | defines. | |
1252 | (i386_linux_register_name, i386_linux_register_byte, | |
1253 | i386_linux_register_raw_size): Remove prototypes. | |
1254 | (i386_linux_svr4_fetch_link_map_offsets): Remove prototype. | |
1255 | (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define. | |
1256 | (IN_SIGTRAMP, FRAME_CHAIN, FRAME_SAVED_PC, SAVED_PC_AFTER_CALL, | |
1257 | TARGET_WRITE_PC): Remove defines. | |
1258 | (i386_linux_in_sigtramp, i386_linux_frame_chain, | |
1259 | i386_linux_frame_saved_pc, i386_linux_saved_pc_after_call, | |
1260 | i386_linux_write_pc): Remove prototypes. | |
1261 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
1262 | (get_longjmp_target): Remove prototype. | |
1263 | * i386-linux-tdep.h: New file. | |
1264 | * i386-linux-nat.c: Include "i386-linux-tdep.h". | |
1265 | * i386-linux-tdep.c: Include "i386-tdep.h" and | |
1266 | "i386-linux-tdep.h". | |
1267 | (i386_linux_register_name, i386_linux_register_byte, | |
1268 | i386_linux_register_raw_size, i386_linux_in_sigtramp, | |
1269 | i386_linux_write_pc, i386_linux_svr4_fetch_link_map_offsets): | |
1270 | Make static. | |
1271 | (i386_linux_init_abi): New function. | |
1272 | (_initialize_i386_linux_tdep): New function. | |
1273 | ||
1274 | * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Remove define. | |
1275 | (i386_saved_pc_after_call): Remove prototype. | |
1276 | (MAX_NUM_REGS): Increase to deal with Linux's orig_eax "register". | |
1277 | (REGISTER_NAME, STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM, | |
1278 | DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): Remove defines. | |
1279 | (i386_register_name, i386_stab_reg_to_regnum, | |
1280 | i386_dwarf_reg_to_regnum): Remove prototypes. | |
1281 | (SIZEOF_GREGS, SIZEOF_FPU_REGS, SIZEOF_FPU_CTL_REGS, | |
1282 | SIZEOF_SSE_REGS): Remove defines. | |
1283 | (REGISTER_BYTES): Remove define. | |
1284 | (REGISTER_BYTE, REGISTER_RAW_SIZE): Remove defines. | |
1285 | (i386_register_byte, i386_register_raw_size): Remove prototypes. | |
1286 | (FRAME_CHAIN, FRAME_SAVED_PC): Remove defines. | |
1287 | (i386_frame_chain, i386_frame_saved_pc): Remove prototypes. | |
1288 | * config/i386/tm-i386v4.h (FRAME_CHAIN_VALID): Remove define. | |
1289 | (JB_ELEMENT_SIZE, JB_PC, JB_EBX, JB_ESI, JB_EDI, JB_EBP, JB_ESP, | |
1290 | JB_EDX, GET_LONGJMP_TARGET): Remove defines. | |
1291 | (get_longjmp_target): Remove prototype. | |
1292 | (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP): Remove defines. | |
1293 | (sigtramp_saved_pc): Remove define. | |
1294 | (i386v4_sigtramp_saved_pc): Remove prototype. | |
1295 | * config/i386/tm-go32.h (FRAME_CHAIN, | |
1296 | FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): Remove defines. | |
1297 | (i386go32_frame_saved_pc): Remove prototype. | |
1298 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
1299 | (get_longjmp_target): Remove prototype. | |
1300 | * i386-tdep.h: Include "osabi.h". | |
1301 | (enum i386_abi): Removed. | |
1302 | (enum struct_return): New enum. | |
1303 | (struct gdbarch_tdep): Remove abi member, add osabi, jb_pc_offset, | |
1304 | struct_return, sigtramp_saved_pc, sigtramp_start, sigtramp_end and | |
1305 | sc_pc_offset members. | |
1306 | (i386_gdbarch_register_os_abi): Remove prototype. | |
1307 | (I386_NUM_GREGS, I386_NUM_FREGS, I386_NUM_XREGS, | |
1308 | I386_SSE_NUM_REGS): New defines. | |
1309 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS, | |
1310 | I386_SSE_SIZEOF_REGS): New defines. | |
1311 | (i386_register_name, i386_register_byte, i386_register_raw_size): | |
1312 | New prototypes. | |
1313 | (i386_elf_init_abi, i386_svr4_init_abi): New prototypes. | |
1314 | (i386bsd_sigtramp_saved_pc): New prototype. | |
1315 | * i386-tdep.c: Don't include "elf-bfd.h". | |
1316 | (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum, | |
1317 | i386_frame_chain, i386_saved_pc_after_call): Make static. | |
1318 | (i386_frame_saved_pc): Rewrite to call architecture dependent | |
1319 | function to deal with signal handlers. Make static. | |
1320 | (i386go32_frame_saved_pc): Removed. | |
1321 | [GET_LONGJMP_TARGET] (JB_PC, JB_ELEMENT_SIZE, get_longjmp_target): | |
1322 | Removed. | |
1323 | (i386_get_longjmp_target): New function. | |
1324 | (default_struct_convention, pcc_struct_convention, | |
1325 | reg_struct_convention, valid_conventions, struct_convention): New | |
1326 | variables. | |
1327 | (i386_use_struct_convention): New function. | |
1328 | (i386v4_sigtramp_saved_pc): Renamed to | |
1329 | i386_svr4_sigtramp_saved_pc. Made static. Moved. | |
1330 | (i386_pc_in_sigtramp): New function. | |
1331 | (i386_abi_names): Removed. | |
1332 | (ABI_TAG_OS_GNU_LINUX, ABI_TAG_OS_GNU_HURD, | |
1333 | ABI_TAG_OS_GNU_SOLARIS, ABI_TAG_OS_FREEBSD, ABI_TAG_OS_NETBSD): | |
1334 | Removed. | |
1335 | (process_note_sections, i386_elf_abi_from_note, i386_elf_abi, | |
1336 | i386_gdbarch_register_os_abi): Removed. | |
1337 | (struct i386_abi_handler): Removed. | |
1338 | (i386_abi_handler_list): Removed. | |
1339 | (i386_svr4_pc_in_sigtramp, i386_go32_pc_in_sigtramp): New | |
1340 | functions. | |
1341 | (i386_elf_init_abi, i386_svr4_init_abi, i386_go32_init_abi, | |
1342 | i386_nw_init_abi): New functions. | |
1343 | (i386_gdbarch_init): Rewritten to use generic OS ABI framework. | |
1344 | Use set_gdbarch_xxx() calls instead of relying on macros for a | |
1345 | number of calls. | |
1346 | (i386_coff_osabi_sniffer, i386_nlm_osabi_sniffer): New functions. | |
1347 | (_initialize_i386_tdep): Add new 'struct-convcention' command. | |
1348 | Register the various architecture variants defined in this file. | |
1349 | ||
ad2f7632 DJ |
1350 | 2002-06-14 Daniel Jacobowitz <drow@mvista.com> |
1351 | ||
1352 | * gdbtypes.h (TYPE_FLAG_VARARGS): Update comment. | |
1353 | (struct main_type): Remove arg_types member. Update comments for | |
1354 | struct field. | |
1355 | (TYPE_ARG_TYPES): Remove. | |
1356 | (TYPE_FN_FIELD_ARGS): Update. | |
1357 | (smash_to_method_type): Update prototype. | |
1358 | ||
1359 | * c-typeprint.c (cp_type_print_method_args): Take method type | |
1360 | instead of argument list. Use new argument layout. Simplify. | |
1361 | (c_type_print_args): Use new argument layout. Simplify. | |
1362 | (c_type_print_base): Update call to cp_type_print_method_args. | |
1363 | * dwarf2read.c (dwarf2_add_member_fn): Remove unneeded type | |
1364 | argument; use die->type instead. Update call to | |
1365 | smash_to_method_type. | |
1366 | (read_structure_scope): Update call to dwarf2_add_member_fn. | |
1367 | * gdbtypes.c (allocate_stub_method): Update comment. | |
1368 | (smash_to_method_type): Take new NARGS and VARARGS arguments. | |
1369 | Use new argument layout. | |
1370 | (check_stub_method): Use new argument layout. Don't count | |
1371 | void as an argument. | |
1372 | (print_arg_types): Update comments. Use new argument layout. | |
1373 | (recursive_dump_type): Don't print arg_types member. | |
1374 | * hpread.c (hpread_read_struct_type): Use new argument layout. | |
1375 | (fixup_class_method_type): Likewise. | |
1376 | (hpread_type_lookup): Likewise. | |
1377 | * stabsread.c (read_type): Update calls to read_args and | |
1378 | smash_to_method_type. | |
1379 | (read_args): Use new argument layout. Simplify. | |
1380 | * valops.c (typecmp): Use new argument layout. Update parameters | |
1381 | and comments. Simplify. | |
1382 | (hand_function_call): Use new argument layout. | |
1383 | (search_struct_method): Update call to typecmp. | |
1384 | (find_overload_match): Use new argument layout. | |
1385 | ||
6da02953 DJ |
1386 | 2002-06-13 Daniel Jacobowitz <drow@mvista.com> |
1387 | ||
1388 | * NEWS: Mention multithreaded debug support for gdbserver. | |
1389 | ||
519b2366 DJ |
1390 | 2002-06-13 Daniel Jacobowitz <drow@mvista.com> |
1391 | ||
1392 | * MAINTAINERS: Mention NEWS. | |
1393 | ||
a7f48742 DJ |
1394 | 2002-06-13 Daniel Jacobowitz <drow@mvista.com> |
1395 | ||
1396 | * gdbserver/regcache.c: Add comment. | |
1397 | ||
6c0d6680 DJ |
1398 | 2002-06-13 Daniel Jacobowitz <drow@mvista.com> |
1399 | ||
1400 | * mips-tdep.c (PROC_SYMBOL): Add warning comment. | |
1401 | (struct mips_objfile_private, compare_pdr_entries): New. | |
1402 | (non_heuristic_proc_desc): Read the ".pdr" section if it | |
1403 | is present. | |
1404 | ||
6529d2dd AC |
1405 | 2002-06-12 Andrew Cagney <ac131313@redhat.com> |
1406 | ||
1407 | * arm-tdep.c (arm_push_arguments): Rewrite using a two-pass loop. | |
1408 | (arm_debug): New static variable. | |
1409 | (_initialize_arm_tdep): Add ``set debug arm'' command. | |
1410 | ||
26216b98 AC |
1411 | 2002-06-12 Andrew Cagney <ac131313@redhat.com> |
1412 | ||
1413 | * Makefile.in (sim_arm_h): Define. | |
1414 | (arm-tdep.o): Add $(sim_arm_h) and $(gdb_assert_h). | |
1415 | * arm-tdep.c: Include "gdb/sim-arm.h" and "gdb_assert.h". | |
1416 | (arm_register_sim_regno): New function, map an internal REGNUM | |
1417 | onto a simulator register number. | |
1418 | (arm_gdbarch_init): Set register_sim_regno. | |
1419 | ||
814b3ba0 AH |
1420 | 2002-06-09 Aldy Hernandez <aldyh@redhat.com> |
1421 | ||
1422 | * MAINTAINERS: Add self. | |
1423 | ||
475b0867 JB |
1424 | 2002-06-11 Jim Blandy <jimb@redhat.com> |
1425 | ||
919d772c JB |
1426 | * source.c (source_info): Mention whether the symtab has |
1427 | information about preprocessor macros. | |
1428 | ||
475b0867 JB |
1429 | Call the command `info macro', not `show macro'. |
1430 | * macrocmd.c (info_macro_command): Renamed from `show_macro_command'. | |
1431 | Fix error message. | |
1432 | (_initialize_macrocmd): Register `info_macro_command' in | |
1433 | `infolist', not `showlist'. | |
1434 | ||
9e364162 DJ |
1435 | 2002-06-11 Daniel Jacobowitz <drow@mvista.com> |
1436 | ||
1437 | * mips-tdep.c (MIPS_FPU_TYPE, FP_REGISTER_DOUBLE, MIPS_EABI) | |
1438 | (MIPS_LAST_FP_ARG_REGNUM, MIPS_LAST_ARG_REGNUM) | |
1439 | (MIPS_DEFAULT_SAVED_REGSIZE, MIPS_REGS_HAVE_HOME_P) | |
1440 | (MIPS_DEFAULT_STACK_ARGSIZE, GDB_TARGET_IS_MIPS64) | |
1441 | (MIPS_DEFAULT_MASK_ADDRESS_P): Remove obsolete definitions. Define | |
1442 | unconditionally. | |
1443 | (set_mipsfpu_single_command, set_mipsfpu_double_command) | |
1444 | (set_mipsfpu_none_command): Remove if (GDB_MULTI_ARCH). | |
1445 | (_initialize_mips_tdep): Remove dead code. | |
1446 | * config/mips/tm-irix5.h (MIPS_LAST_ARG_REGNUM) | |
1447 | (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove. | |
1448 | * config/mips/tm-irix6.h (MIPS_LAST_ARG_REGNUM) | |
1449 | (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove. | |
1450 | * config/mips/tm-mips.h (MIPS_EABI, MIPS_LAST_ARG_REGNUM, | |
1451 | MIPS_LAST_FP_ARG_REGNUM): Remove. | |
1452 | ||
1453 | 2002-06-11 Daniel Jacobowitz <drow@mvista.com> | |
1454 | ||
1455 | * gdbserver/thread-db.c: New file. | |
1456 | * gdbserver/proc-service.c: New file. | |
1457 | * gdbserver/acinclude.m4: New file. | |
1458 | * gdbserver/Makefile.in: Add GDBSERVER_LIBS, gdb_proc_service_h, | |
1459 | proc-service.o, and thread-db.o. | |
1460 | (linux-low.o): Add USE_THREAD_DB. | |
1461 | * gdbserver/acconfig.h: Add HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, | |
1462 | HAVE_LWPID_T, HAVE_PSADDR_T, and PRFPREGSET_T_BROKEN. | |
1463 | * gdbserver/aclocal.m4: Regenerated. | |
1464 | * gdbserver/config.in: Regenerated. | |
1465 | * gdbserver/configure: Regenerated. | |
1466 | * gdbserver/configure.in: Check for proc_service.h, sys/procfs.h, | |
1467 | thread_db.h, and linux/elf.h headrs. | |
1468 | Check for lwpid_t, psaddr_t, prgregset_t, prfpregset_t, and | |
1469 | PRFPREGSET_T_BROKEN. Introduce srv_thread_depfiles and USE_THREAD_DB. | |
1470 | Check for -lthread_db and thread support. | |
1471 | * gdbserver/configure.srv: Enable thread_db support for ARM, i386, MIPS, | |
1472 | PowerPC, and SuperH. | |
1473 | * gdbserver/i387-fp.c: Constify arguments. | |
1474 | * gdbserver/i387-fp.h: Likewise. | |
1475 | * gdbserver/inferiors.c: (struct thread_info): Renamed from | |
1476 | `struct inferior_info'. Remove PID member. Use generic inferior | |
1477 | list header. All uses updated. | |
1478 | (inferiors, signal_pid): Removed. | |
1479 | (all_threads): New variable. | |
1480 | (get_thread): Define. | |
1481 | (add_inferior_to_list): New function. | |
1482 | (for_each_inferior): New function. | |
1483 | (change_inferior_id): New function. | |
1484 | (add_inferior): Removed. | |
1485 | (remove_inferior): New function. | |
1486 | (add_thread): New function. | |
1487 | (free_one_thread): New function. | |
1488 | (remove_thread): New function. | |
1489 | (clear_inferiors): Use for_each_inferior and free_one_thread. | |
1490 | (find_inferior): New function. | |
1491 | (find_inferior_id): New function. | |
1492 | (inferior_target_data): Update argument type. | |
1493 | (set_inferior_target_data): Likewise. | |
1494 | (inferior_regcache_data): Likewise. | |
1495 | (set_inferior_regcache_data): Likewise. | |
1496 | * gdbserver/linux-low.c (linux_bp_reinsert): Remove. | |
1497 | (all_processes, stopping_threads, using_thrads) | |
1498 | (struct pending_signals, debug_threads, pid_of): New. | |
1499 | (inferior_pid): Replace with macro. | |
1500 | (struct inferior_linux_data): Remove. | |
1501 | (get_stop_pc, add_process): New functions. | |
1502 | (linux_create_inferior): Restore SIGRTMIN+1 before calling exec. | |
1503 | Use add_process and add_thread. | |
1504 | (linux_attach_lwp): New function, based on old linux_attach. Use | |
1505 | add_process and add_thread. Set stop_expected for new threads. | |
1506 | (linux_attach): New function. | |
1507 | (linux_kill_one_process): New function. | |
1508 | (linux_kill): Kill all LWPs. | |
1509 | (linux_thread_alive): Use find_inferior_id. | |
1510 | (check_removed_breakpoints, status_pending_p): New functions. | |
1511 | (linux_wait_for_process): Renamed from linux_wait_for_one_inferior. | |
1512 | Update. Use WNOHANG. Wait for cloned processes also. Update process | |
1513 | struct for the found process. | |
1514 | (linux_wait_for_event): New function. | |
1515 | (linux_wait): Use it. Support LWPs. | |
1516 | (send_sigstop, wait_for_sigstop, stop_all_processes) | |
1517 | (linux_resume_one_process, linux_continue_one_process): New functions. | |
1518 | (linux_resume): Support LWPs. | |
1519 | (REGISTER_RAW_SIZE): Remove. | |
1520 | (fetch_register): Use register_size instead. Call supply_register. | |
1521 | (usr_store_inferior_registers): Likewise. Call collect_register. | |
1522 | Fix recursive case. | |
1523 | (regsets_fetch_inferior_registers): Improve error message. | |
1524 | (regsets_store_inferior_registers): Add debugging. | |
1525 | (linux_look_up_symbols): Call thread_db_init if USE_THREAD_DB. | |
1526 | (unstopped_p, linux_signal_pid): New functions. | |
1527 | (linux_target_ops): Add linux_signal_pid. | |
1528 | (linux_init_signals): New function. | |
1529 | (initialize_low): Call it. Initialize using_threads. | |
1530 | * gdbserver/regcache.c (inferior_regcache_data): Add valid | |
1531 | flag. | |
1532 | (get_regcache): Fetch registers lazily. Add fetch argument | |
1533 | and update all callers. | |
1534 | (regcache_invalidate_one, regcache_invalidate): New | |
1535 | functions. | |
1536 | (new_register_cache): Renamed from create_register_cache. | |
1537 | Return the new regcache. | |
1538 | (free_register_cache): Change argument to a void *. | |
1539 | (registers_to_string, registers_from_string): Call get_regcache | |
1540 | with fetch flag set. | |
1541 | (register_data): Make static. Pass fetch flag to get_regcache. | |
1542 | (supply_register): Call get_regcache with fetch flag clear. | |
1543 | (collect_register): Call get_regcache with fetch flag set. | |
1544 | (collect_register_as_string): New function. | |
1545 | * gdbserver/regcache.h: Update. | |
1546 | * gdbserver/remote-utils.c (putpkt): Flush after debug output and use | |
1547 | stderr. | |
1548 | Handle input interrupts while waiting for an ACK. | |
1549 | (input_interrupt): Use signal_pid method. | |
1550 | (getpkt): Flush after debug output and use stderr. | |
1551 | (outreg): Use collect_register_as_string. | |
1552 | (new_thread_notify, dead_thread_notify): New functions. | |
1553 | (prepare_resume_reply): Check using_threads. Set thread_from_wait | |
1554 | and general_thread. | |
1555 | (look_up_one_symbol): Flush after debug output. | |
1556 | * gdbserver/server.c (step_thread, server_waiting): New variables. | |
1557 | (start_inferior): Don't use signal_pid. Update call to mywait. | |
1558 | (attach_inferior): Update call to mywait. | |
1559 | (handle_query): Handle qfThreadInfo and qsThreadInfo. | |
1560 | (main): Don't fetch/store registers explicitly. Use | |
1561 | set_desired_inferior. Support proposed ``Hs'' packet. Update | |
1562 | calls to mywait. | |
1563 | * gdbserver/server.h: Update. | |
1564 | (struct inferior_list, struct_inferior_list_entry): New. | |
1565 | * gdbserver/target.c (set_desired_inferior): New. | |
1566 | (write_inferior_memory): Constify. | |
1567 | (mywait): New function. | |
1568 | * gdbserver/target.h: Update. | |
1569 | (struct target_ops): New signal_pid method. | |
1570 | (mywait): Removed macro, added prototype. | |
1571 | ||
1572 | * gdbserver/linux-low.h (regset_func): Removed. | |
1573 | (regset_fill_func, regset_store_func): New. | |
1574 | (enum regset_type): New. | |
1575 | (struct regset_info): Add type field. Use new operation types. | |
1576 | (struct linux_target_ops): stop_pc renamed to get_pc. | |
1577 | Add decr_pc_after_break and breakpoint_at. | |
1578 | (get_process, get_thread_proess, get_process_thread) | |
1579 | (strut process_info, all_processes, linux_attach_lwp) | |
1580 | (thread_db_init): New. | |
1581 | ||
1582 | * gdbserver/linux-arm-low.c (arm_get_pc, arm_set_pc, | |
1583 | arm_breakpoint, arm_breakpoint_len, arm_breakpoint_at): New. | |
1584 | (the_low_target): Add new members. | |
1585 | * gdbserver/linux-i386-low.c (i386_store_gregset, i386_store_fpregset) | |
1586 | (i386_store_fpxregset): Constify. | |
1587 | (target_regsets): Add new kind identifier. | |
1588 | (i386_get_pc): Renamed from i386_stop_pc. Simplify. | |
1589 | (i386_set_pc): Add debugging. | |
1590 | (i386_breakpoint_at): New function. | |
1591 | (the_low_target): Add new members. | |
1592 | * gdbserver/linux-mips-low.c (mips_get_pc, mips_set_pc) | |
1593 | (mips_breakpoint, mips_breakpoint_len, mips_reinsert_addr) | |
1594 | (mips_breakpoint_at): New. | |
1595 | (the_low_target): Add new members. | |
1596 | * gdbserver/linux-ppc-low.c (ppc_get_pc, ppc_set_pc) | |
1597 | (ppc_breakpoint, ppc_breakpoint_len, ppc_breakpoint_at): New. | |
1598 | (the_low_target): Add new members. | |
1599 | * gdbserver/linux-sh-low.c (sh_get_pc, sh_set_pc) | |
1600 | (sh_breakpoint, sh_breakpoint_len, sh_breakpoint_at): New. | |
1601 | (the_low_target): Add new members. | |
1602 | * gdbserver/linux-x86-64-low.c (target_regsets): Add new kind | |
1603 | identifier. | |
1604 | ||
23aa4c72 ML |
1605 | 2002-06-11 Michal Ludvig <mludvig@suse.cz> |
1606 | ||
1607 | * dwarf2cfi.c (unwind_tmp_obstack_init): New. | |
1608 | (unwind_tmp_obstack_free, parse_frame_info) | |
1609 | (update_context, cfi_read_fp, cfi_write_fp) | |
1610 | (cfi_frame_chain, cfi_init_extra_frame_info) | |
1611 | (cfi_virtual_frame_pointer): Use the above function. | |
264d1763 | 1612 | * dwarf2cfi.c: Reindented (using 'indent dwarf2cfi.c'). |
23aa4c72 | 1613 | |
70eb15a4 CV |
1614 | 2002-06-11 Corinna Vinschen <vinschen@redhat.com> |
1615 | ||
1616 | * v850-tdep.c (v850_type_is_scalar): New function. | |
1617 | (v850_use_struct_convention): Match current gcc implementation | |
1618 | as close as possible. | |
1619 | (v850_push_arguments): Fix stack_offset handling. Don't write | |
1620 | struct_addr into register. This is done by v850_store_struct_return. | |
1621 | (v850_extract_return_value): Care for structs. | |
1622 | (v850_store_return_value): Ditto. | |
1623 | (v850_store_struct_return): Actually write address. | |
1624 | ||
482a4d06 ML |
1625 | 2002-06-11 Michal Ludvig <mludvig@suse.cz> |
1626 | ||
1627 | * x86-64-tdep.c (x86_64_skip_prologue): Fix to work on functions | |
1628 | without debug information too. | |
1629 | ||
d855c300 AC |
1630 | 2002-06-10 Andrew Cagney <ac131313@redhat.com> |
1631 | ||
1632 | * gdbarch.sh (PRINT_FLOAT_INFO): Add frame and ui_file parameters. | |
1633 | Make multi-arch pure. | |
1634 | * gdbarch.h, gdbarch.c: Re-generate. | |
1635 | * arm-tdep.c (arm_print_float_info): Update. | |
1636 | * arch-utils.h (default_print_float_info): Update. | |
1637 | * arch-utils.c (default_print_float_info): Update. | |
1638 | * infcmd.c (float_info): Update call. | |
1639 | ||
dd12a101 AC |
1640 | 2002-06-10 Andrew Cagney <ac131313@redhat.com> |
1641 | ||
1642 | * Makefile.in (init.c): Move the call to _initialize_gdbtypes to | |
1643 | the front of the initialize list. | |
1644 | ||
101dcfbe AC |
1645 | 2002-06-10 Andrew Cagney <ac131313@redhat.com> |
1646 | ||
1647 | * infrun.c (struct inferior_status): Replace fields | |
1648 | selected_frame_address and selected_level with field | |
1649 | selected_frame_id. | |
1650 | (save_inferior_status): Update. Use get_frame_id. | |
1651 | (struct restore_selected_frame_args): Delete. | |
1652 | (restore_selected_frame): Update. Use frame_find_by_id. | |
1653 | (restore_inferior_status): Update. | |
1654 | ||
1655 | * breakpoint.h (struct breakpoint): Change type of | |
1656 | watchpoint_frame to frame_id. | |
1657 | * breakpoint.c (insert_breakpoints): Use frame_find_by_id. Remove | |
1658 | call to get_current_frame. | |
1659 | (do_enable_breakpoint): Use frame_find_by_id. Remove call to | |
1660 | get_current_frame. | |
1661 | (watchpoint_check): Use frame_find_by_id. | |
1662 | ||
1663 | * frame.h (record_selected_frame): Delete declaration. | |
1664 | * stack.c (record_selected_frame): Delete function. | |
1665 | ||
1666 | * frame.h (struct frame_id): Define. | |
1667 | (get_frame_id): Declare. | |
1668 | (frame_find_by_id): Declare. | |
1669 | * frame.c (frame_find_by_id): New function. | |
1670 | (get_frame_id): New function. | |
1671 | ||
304270b6 AV |
1672 | 2002-06-10 Andrey Volkov <avolkov@transas.com> |
1673 | ||
1674 | * ser-e7kpc.c: Fix duplicated define and call of | |
1675 | _initialize_ser_e7000pc | |
1676 | ||
2f2cf184 DJ |
1677 | 2002-06-09 Daniel Jacobowitz <drow@mvista.com> |
1678 | ||
1679 | * signals/signals.c (target_signal_from_host): Fix #ifdef | |
1680 | SIGRTMIN case. | |
1681 | (do_target_signal_to_host): Likewise. | |
1682 | ||
caaa3122 DJ |
1683 | 2002-06-09 Daniel Jacobowitz <drow@mvista.com> |
1684 | ||
1685 | * mips-tdep.c (mips_find_abi_section): New function. | |
1686 | (mips_gdbarch_init): Call it. | |
1687 | ||
6ac5df3a MK |
1688 | 2002-06-09 Mark Kettenis <kettenis@gnu.org> |
1689 | ||
1690 | * solib-svr4.c (init_fetch_link_map_offsets): Simply return | |
1691 | legacy_fetch_link_map_offsets. Adjust comment to reflect reality | |
1692 | after Andrew's 2002-06-08 gdbarch change. | |
1693 | ||
82ea117a MK |
1694 | 2002-06-09 Mark Kettenis <kettenis@gnu.org> |
1695 | ||
1696 | * i386-linux-nat.c (suppy_gregset): Don't supply | |
1697 | I386_LINUX_ORIG_EAX_REGNUM if there isn't room for it in GDB's | |
1698 | register cache. | |
1699 | (fill_gregset): Don't fetch it under the same circumstances. | |
1700 | ||
3c25f8c7 AC |
1701 | 2002-06-09 Andrew Cagney <cagney@redhat.com> |
1702 | ||
1703 | * Makefile.in (callback_h): Define. | |
1704 | (remote_sim_h): Update path to remote-sim.h. | |
1705 | (remote-rdp.o): Add $(callback_h). | |
1706 | (remote-sim.o): Use $(callback_h). | |
1707 | * remote-sim.c: Include "gdb/callback.h" and "gdb/remote-sim.h". | |
1708 | * remote-rdp.c: Include "gdb/callback.h". | |
1709 | ||
1029b7fa MK |
1710 | 2002-06-09 Mark Kettenis <kettenis@gnu.org> |
1711 | ||
1712 | * osabi.h (gdb_osabi): Add GDB_OSABI_GO32 and GDB_OSABI_NETWARE. | |
1713 | * osabi.c (gdb_osabi_names): Add "DJGPP" and "NetWare". | |
1714 | ||
616675d3 AC |
1715 | 2002-06-08 Andrew Cagney <ac131313@redhat.com> |
1716 | ||
a3efda28 AC |
1717 | * sparcl-tdep.c: Use __CYGWIN__ instead of __CYGWIN32__. |
1718 | * rdi-share/serpardr.c: Ditto. | |
1719 | * rdi-share/unixcomm.c: Ditto. | |
1720 | * rdi-share/serdrv.c: Ditto. | |
1721 | * rdi-share/hostchan.h: Ditto. | |
1722 | * rdi-share/hostchan.c: Ditto. | |
1723 | * rdi-share/host.h: Ditto. | |
1724 | * rdi-share/devsw.c: Ditto. | |
1725 | ||
c5f10366 AC |
1726 | * objfiles.h: Change type of obj_private to void pointer. |
1727 | * pa64solib.c: Update copyright. Don't include "assert.h", use | |
1728 | strcmp instead of STREQ, use LONGEST, do not use PTR | |
1729 | * somsolib.c: Ditto. | |
1730 | ||
616675d3 AC |
1731 | * config/djgpp/fnchange.lst: Fix problems with bfd/elf32-i386.c, |
1732 | bfd/elf32-i386qnx.c, bfd/elf32-sh.c, bfd/elf32-sh64-nbsd.c, | |
1733 | bfd/elf64-sh64-nbsd.c bfd/elf64-sh64.c. | |
1734 | ||
e4b415d9 AC |
1735 | 2002-06-08 Andrew Cagney <ac131313@redhat.com> |
1736 | ||
1737 | * frame.c (GET_SAVED_REGISTER): Delete macro definition. | |
1738 | (default_get_saved_register): Delete function. | |
1739 | * gdbarch.sh (GET_SAVED_REGISTER): Set default to | |
1740 | generic_unwind_get_saved_register. | |
1741 | * gdbarch.h, gdbarch.c: Re-generate. | |
1742 | ||
ca0d0b52 AC |
1743 | 2002-06-08 Andrew Cagney <ac131313@redhat.com> |
1744 | ||
1745 | * gdbarch.sh (FRAME_CHAIN_VALID): Set default to | |
1746 | generic_func_frame_chain_valid. | |
1747 | * gdbarch.h, gdbarch.c: Re-generate. | |
1748 | * blockframe.c (generic_func_frame_chain_valid): Only check | |
1749 | PC_IN_CALL_DUMMY when generic dummy frames. Don't worry about | |
1750 | passing FP to PC_IN_CALL_DUMMY. | |
1751 | Fix PR gdb/360. | |
1752 | ||
76860b5f AC |
1753 | 2002-06-08 Andrew Cagney <ac131313@redhat.com> |
1754 | ||
1755 | * gdbarch.sh (struct gdbarch_data): Add field init_p. | |
1756 | (register_gdbarch_data): Initialize init_p. | |
1757 | (gdbarch_data): Initialize data pointer using the init function. | |
1758 | (init_gdbarch_data): Delete function. | |
1759 | (gdbarch_update_p): Update. | |
1760 | (initialize_non_multiarch): Update. | |
1761 | (struct gdbarch): Add field initialized_p. | |
1762 | * gdbarch.h, gdbarch.c: Re-generate. | |
1763 | ||
8dda9770 ML |
1764 | 2002-06-07 Michal Ludvig <mludvig@suse.cz> |
1765 | ||
1766 | * x86-64-linux-nat.c (x86_64_fxsave_offset): New. | |
1767 | (supply_fpregset, fill_fpregset): Don't call i387_*_fxsave, | |
1768 | better do the things actually here. | |
1769 | * x86-64-tdep.c (x86_64_register_name2nr): New. | |
1770 | (x86_64_register_name): Renamed to x86_64_register_nr2name. | |
1771 | (x86_64_gdbarch_init): Respect the above change. | |
1772 | * x86-64-tdep.h (x86_64_register_name2nr) | |
1773 | (x86_64_register_nr2name): Add prototypes. | |
1774 | * config/i386/x86-64linux.mt (TDEPFILES): Remove i387-tdep.o. | |
1775 | ||
3d79a47c MS |
1776 | 2002-06-06 Michael Snyder <msnyder@redhat.com> |
1777 | ||
7bd91a28 MS |
1778 | * d10v-tdep.c (d10v_push_arguments): Handle struct_return. |
1779 | Delete extra braces and re-indent. | |
1780 | (d10v_store_return_value): Char return values | |
3d79a47c MS |
1781 | must be shifted over by one byte in R0. |
1782 | (d10v_extract_return_value): Delete extra braces, re-indent. | |
1783 | ||
095a4c96 EZ |
1784 | 2002-06-06 Elena Zannoni <ezannoni@redhat.com> |
1785 | ||
1786 | * d10v-tdep.c (d10v_read_sp, d10v_read_fp): Add prototype. | |
1787 | (d10v_register_virtual_type): Make $fp and $sp be pointer to data. | |
1788 | (d10v_integer_to_address): Rewrite. | |
1789 | (d10v_frame_init_saved_regs): When reading fp and sp registers use | |
1790 | the d10v specific functions which take care of converting to the | |
1791 | correct space. | |
1792 | ||
e8a77ca4 EZ |
1793 | 2002-06-06 Elena Zannoni <ezannoni@redhat.com> |
1794 | ||
1795 | * config/djgpp/fnchange.lst: Add testsuite files altivec-abi.c, | |
1796 | altivec-abi.exp, altivec-regs.c, altivec-regs.exp. | |
1797 | ||
4f2e4a4f AC |
1798 | 2002-06-02 Andrew Cagney <ac131313@redhat.com> |
1799 | ||
1800 | * config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xm | |
1801 | includes. | |
1802 | * config/tm-linux.h: Ditto. | |
1803 | * config/alpha/tm-alphalinux.h: Ditto. | |
1804 | * config/arm/nm-linux.h, config/arm/tm-linux.h: Ditto. | |
1805 | * config/arm/xm-nbsd.h, config/i386/nm-gnu.h: Ditto. | |
1806 | * config/i386/nm-i386lynx.h, config/i386/nm-i386sol2.h: Ditto. | |
1807 | * config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h: Ditto. | |
1808 | * config/i386/nm-linux.h, config/i386/nm-m3.h: Ditto. | |
1809 | * config/i386/nm-ptx4.h, config/i386/nm-x86-64.h: Ditto. | |
1810 | * config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h: Ditto. | |
1811 | * config/i386/tm-i386m3.h, config/i386/tm-i386sco5.h: Ditto. | |
1812 | * config/i386/tm-i386v4.h, config/i386/tm-linux.h: Ditto. | |
1813 | * config/i386/tm-ptx4.h, config/i386/tm-vxworks.h: Ditto. | |
1814 | * config/i386/xm-i386v4.h, config/i386/xm-nbsd.h: Ditto. | |
1815 | * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. | |
1816 | * config/i960/tm-vx960.h, config/ia64/nm-aix.h: Ditto. | |
1817 | * config/ia64/nm-linux.h, config/ia64/tm-aix.h: Ditto. | |
1818 | * config/ia64/tm-linux.h, config/ia64/xm-aix.h: Ditto. | |
1819 | * config/m68k/nm-linux.h, config/m68k/nm-m68klynx.h: Ditto. | |
1820 | * config/m68k/nm-sysv4.h, config/m68k/tm-linux.h: Ditto. | |
1821 | * config/m68k/tm-m68klynx.h, config/m68k/tm-m68kv4.h: Ditto. | |
1822 | * config/m68k/tm-sun2os4.h, config/m68k/tm-sun3os4.h: Ditto. | |
1823 | * config/m68k/tm-vx68.h, config/m68k/xm-m68kv4.h: Ditto. | |
1824 | * config/m68k/xm-nbsd.h, config/m88k/nm-delta88v4.h: Ditto. | |
1825 | * config/m88k/tm-delta88v4.h, config/m88k/xm-delta88v4.h: Ditto. | |
1826 | * config/mips/nm-irix5.h, config/mips/nm-linux.h: Ditto. | |
1827 | * config/mips/tm-linux.h, config/mips/tm-mips64.h: Ditto. | |
1828 | * config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h: Ditto. | |
1829 | * config/mips/tm-vxmips.h, config/mips/xm-irix5.h: Ditto. | |
1830 | * config/mips/xm-mipsv4.h, config/ns32k/xm-nbsd.h: Ditto. | |
1831 | * config/pa/nm-hppao.h, config/powerpc/nm-linux.h: Ditto. | |
1832 | * config/powerpc/tm-linux.h, config/powerpc/tm-vxworks.h: Ditto. | |
1833 | * config/powerpc/xm-aix.h, config/rs6000/nm-rs6000ly.h: Ditto. | |
1834 | * config/rs6000/tm-rs6000ly.h, config/rs6000/xm-aix4.h: Ditto. | |
1835 | * config/sh/tm-linux.h, config/sparc/nm-linux.h: Ditto. | |
1836 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4sol2.h: Ditto. | |
1837 | * config/sparc/tm-linux.h, config/sparc/tm-sp64linux.h: Ditto. | |
1838 | * config/sparc/tm-sp64sim.h, config/sparc/tm-sparclynx.h: Ditto. | |
1839 | * config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h: Ditto. | |
1840 | * config/sparc/tm-vxsparc.h, config/sparc/xm-sun4sol2.h: Ditto. | |
1841 | ||
ae2ab2ce AS |
1842 | 2002-05-04 Aidan Skinner <aidan@velvet.net> |
1843 | ||
1844 | * ada-exp.tab.c: New file | |
1845 | * ada-exp.y: New file | |
1846 | * ada-lang.c: New file | |
1847 | * ada-lang.h: New file | |
1848 | * ada-lex.c: New file | |
1849 | * ada-lex.l: New file | |
1850 | * ada-tasks.c: New file | |
1851 | * ada-typeprint.c: New file | |
1852 | * ada-valprint.c: New file | |
1853 | ||
0ddd0135 JT |
1854 | 2002-06-02 Jason Thorpe <thorpej@wasabisystems.com> |
1855 | ||
1856 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set | |
1857 | use_struct_convention to ppc_sysv_abi_broken_use_struct_convention. | |
1858 | ||
750fbacc JT |
1859 | 2002-06-02 Jason Thorpe <thorpej@wasabisystems.com> |
1860 | ||
1861 | * config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o | |
1862 | insetead of ppc-linux-tdep.o. | |
1863 | * config/rs6000/rs6000.mt (TDEPFILES): Likewise. | |
1864 | * config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise. | |
1865 | ||
df94e18a AC |
1866 | 2002-06-02 Andrew Cagney <ac131313@redhat.com> |
1867 | ||
1868 | 2002-05-07 Christian Groessler <chris@groessler.org> | |
1869 | * z8k-tdep.c (z8k_print_register_hook): Fix display of 32 and 64 | |
1870 | bit register contents for little endian hosts. | |
1871 | ||
1a38ab75 AC |
1872 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
1873 | ||
1874 | * MAINTAINERS: Mention that any `HP/UX reader' can be changed by | |
1875 | any maintainer. | |
1876 | ||
8b1632ac AC |
1877 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
1878 | ||
1879 | * gdbarch.h: Regenerate. | |
1880 | ||
627054c8 AC |
1881 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
1882 | ||
1883 | * MAINTAINERS: Add everyone to write-after-approval list. | |
1884 | ||
4f460812 AC |
1885 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
1886 | ||
1887 | * stack.c (frame_info): Use frame_register_unwind instead of | |
1888 | saved_regs. Mention when the SP is on the stack or in a register. | |
1889 | ||
1890 | * frame.h (frame_register_unwind_ftype): Define. Document. | |
1891 | (struct frame_info): Add field register_unwind and | |
1892 | register_unwind_cache. | |
1893 | (frame_register_unwind): Declare. | |
1894 | (generic_unwind_get_saved_register): Declare. | |
1895 | ||
1896 | * frame.c (frame_register_unwind): New function. | |
1897 | (generic_unwind_get_saved_register): New function. | |
1898 | ||
1899 | * blockframe.c (generic_call_dummy_register_unwind): New function. | |
1900 | (frame_saved_regs_register_unwind): New function. | |
1901 | (set_unwind_by_pc): New function. | |
1902 | (create_new_frame): New function. | |
1903 | (get_prev_frame): New function. | |
1904 | ||
de888f76 AC |
1905 | 2002-05-30 Andrew Cagney <ac131313@redhat.com> |
1906 | ||
1907 | * a29k-share/: Delete directory. | |
1908 | * remote-vx29k.c: Delete file. | |
1909 | ||
2f2c3626 JT |
1910 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
1911 | ||
1912 | * config/djgpp/fnchange.lst: Add ns32knbsd-nat.c, ns32knbsd-tdep.c, | |
1913 | ppcnbsd-nat.c, ppcnbsd-tdep.c, sparcnbsd-nat.c, and sparcnbsd-tdep.c. | |
1914 | ||
9ce5c36a JT |
1915 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
1916 | ||
1917 | * Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c, | |
1918 | sparcnbsd-nat.c, and sparcnbsd-tdep.c. | |
1919 | (sparc64nbsd-nat.o) | |
1920 | (sparcnbsd-nat.o) | |
1921 | (sparcnbsd-tdep.o): New dependency lists. | |
1922 | * NEWS: Note new UltraSPARC NetBSD native configuration. | |
1923 | * configure.host (sparc64-*-netbsd*): New host. | |
1924 | * configure.tgt (sparc-*-netbsdelf*) | |
1925 | (sparc-*-netbsd*): Set gdb_target to nbsd. | |
1926 | (sparc64-*-netbsd*): New target. | |
1927 | * sparc64nbsd-nat.c: New file. | |
1928 | * sparcnbsd-nat.c: New file. | |
1929 | * sparcnbsd-tdep.c: New file. | |
1930 | * sparcnbsd-tdep.h: New file. | |
1931 | * config/sparc/nbsd.mt: New file. | |
1932 | * config/sparc/nbsd64.mh: New file. | |
1933 | * config/sparc/nbsd64.mt: New file. | |
1934 | * config/sparc/nbsdaout.mh (NATDEPFILES): Remove corelow.o, | |
1935 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. | |
1936 | (HOST_IPC): Remove. | |
1937 | * config/sparc/nbsdaout.mt: Remove. | |
1938 | * config/sparc/nbsdelf.mh (NATDEPFILES): Remove corelow.o, | |
1939 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. | |
1940 | (HOST_IPC): Remove. | |
1941 | * config/sparc/nbsdelf.mt: Remove. | |
1942 | * config/sparc/nm-nbsd.h: Update copyright years. Remove all | |
1943 | sparc-nat.c compatiblity defines. | |
1944 | * config/sparc/tm-nbsd.h: Update copyright years. Include solib.h. | |
1945 | (GDB_MULTI_ARCH): Set to GDB_MULTI_ARCH_PARTIAL. | |
1946 | * config/sparc/tm-nbsd64.h: New file. | |
1947 | * config/sparc/tm-nbsdaout.h: Remove. | |
1948 | * config/sparc/xm-nbsd.h: Remove. | |
1949 | ||
ef3cf062 JT |
1950 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
1951 | ||
1952 | * Makefile.in (sparc-tdep.o): Add osabi.h to dependency list. | |
1953 | * sparc-tdep.c: Include osabi.h. | |
1954 | (gdbarch_tdep): Add osabi member. | |
1955 | (_initialize_sparc_tdep): Use gdbarch_register. | |
1956 | (sparc_gdbarch_init): Use generic OS ABI framework. | |
1957 | (sparc_dump_tdep): New function. | |
1958 | ||
ee8ff470 KB |
1959 | 2002-05-30 Kevin Buettner <kevinb@redhat.com> |
1960 | ||
1961 | * corefile.c (do_captured_read_memory_integer): Return non-zero | |
1962 | result. | |
1963 | (safe_read_memory_integer): Copy result of memory read when | |
1964 | status is non-zero. Also, add comments. | |
1965 | ||
7b112f9c JT |
1966 | 2002-05-20 Jason Thorpe <thorpej@wasabisystems.com> |
1967 | ||
1968 | * Makefile.in (ppc_tdep_h): Define. | |
1969 | (ppc-linux-nat.o) | |
1970 | (ppc-linux-tdep.o) | |
1971 | (rs6000-tdep.o): Use $(ppc_tdep_h). | |
1972 | (ppc-sysv-tdep.o) | |
1973 | (ppcnbsd-nat.o) | |
1974 | (ppcnbsd-tdep.o): New dependency lists. | |
1975 | * ppc-tdep.h: Use generic OS ABI framework. | |
357edbbc JT |
1976 | * ppc-linux-tdep.c (_initialize_ppc_linux_tdep) |
1977 | (ppc_linux_init_abi): New functions. | |
7b112f9c JT |
1978 | (ppc_sysv_abi_broken_use_struct_convention) |
1979 | (ppc_sysv_abi_use_struct_convention) | |
1980 | (ppc_sysv_abi_push_arguments): Move to... | |
1981 | * ppc-sysv-tdep.c: ...here. | |
1982 | * ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h. | |
1983 | * rs6000-tdep.c (process_note_abi_tag_sections) | |
1984 | (get_elfosabi): Remove. | |
1985 | (rs6000_gdbarch_init): Use generic OS ABI framework. | |
1986 | (rs6000_dump_tdep): New function. | |
1987 | (_initialize_rs6000_tdep): Use gdbarch_register. | |
1988 | * config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o. | |
1989 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
1990 | * config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead | |
1991 | of ppc-linux-tdep.o. | |
1992 | * config/powerpc/nbsd.mt (TDEPFILES): Likewise. | |
1993 | * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise. | |
1994 | * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise. | |
1995 | * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise. | |
1996 | * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise. | |
1997 | * config/powerpc/vxworks.mt (TDEPFILES): Likewise. | |
1998 | ||
480dd42a JB |
1999 | 2002-05-29 Jim Blandy <jimb@redhat.com> |
2000 | ||
2001 | * macroscope.c (default_macro_scope): Put `void' in empty argument | |
2002 | list. | |
2003 | ||
4182591f AC |
2004 | 2002-05-29 Andrew Cagney <ac131313@redhat.com> |
2005 | ||
2006 | * Makefile.in (arch-utils.o): Add $(sim_regno_h). | |
2007 | * arch-utils.c: Include "sim-regno.h". | |
2008 | * gdbarch.sh: Don't include "sim-regno.h". | |
2009 | * gdbarch.h, gdbarch.c: Regenerate. | |
2010 | * sim-regno.h (legacy_register_sim_regno): Move declaration from | |
2011 | here. | |
2012 | * arch-utils.h (legacy_register_sim_regno): To here. | |
2013 | * remote-sim.c (legacy_register_sim_regno): Move function from | |
2014 | here. | |
2015 | * arch-utils.c (legacy_register_sim_regno): To here. | |
2016 | ||
8238d0bf AC |
2017 | 2002-05-28 Andrew Cagney <ac131313@redhat.com> |
2018 | ||
2019 | * sim-regno.h: New file. | |
2020 | * Makefile.in (sim_regno_h): Define. | |
2021 | (d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h). | |
2022 | * remote-sim.c: Include "sim-regno.h" and "gdb_assert.h". | |
2023 | (legacy_register_sim_regno): New function. | |
2024 | (one2one_register_sim_regno): New function. | |
2025 | (gdbsim_fetch_register): Rewrite. | |
2026 | (gdbsim_store_register): Only store a register when | |
2027 | REGISTER_SIM_REGNO is valid. | |
2028 | * d10v-tdep.c: Include "sim-regno.h". | |
2029 | (d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check. | |
2030 | (d10v_ts3_register_sim_regno): Ditto. | |
2031 | * gdbarch.sh: Include "sim-regno.h". | |
2032 | (REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno. | |
2033 | * gdbarch.h, gdbarch.c: Regenerate. | |
2034 | * arch-utils.h (default_register_sim_regno): Delete declaration. | |
2035 | * arch-utils.c (default_register_sim_regno): Delete function. | |
2036 | ||
485721b1 JT |
2037 | 2002-05-28 Jason Thorpe <thorpej@wasabisystems.com> |
2038 | ||
2039 | * ppcnbsd-nat.c: Rewrite. | |
2040 | * ppcnbsd-tdep.c: New file. | |
2041 | * ppcnbsd-tdep.h: New file. | |
2042 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o, | |
2043 | solib.o, and solib-svr4.o. | |
2044 | * config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o, | |
2045 | nbsd-tdep.o, and corelow.o. | |
2046 | ||
697f244d AC |
2047 | 2002-05-28 Andrew Cagney <ac131313@redhat.com> |
2048 | ||
2049 | * MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use | |
2050 | `tr' and `sed'. Mention that `broken' targets are not expected to | |
2051 | build. | |
2052 | ||
f08caad1 | 2053 | 2002-05-27 Michal Ludvig <mludvig@suse.cz> |
b1ab997b ML |
2054 | |
2055 | * x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note. | |
2056 | Let PC point right after the prologue before looking up symbols. | |
2057 | ||
3139facc MH |
2058 | 2002-05-27 Martin M. Hunt <hunt@redhat.com> |
2059 | ||
2060 | * i386-tdep.c (i386_register_virtual_type): Return | |
2061 | builtin_type_vec128i for SSE registers. | |
2062 | ||
2063 | * gdbtypes.h (builtin_type_vec128i): Declare. | |
2064 | ||
2065 | * gdbtypes.c (build_builtin_type_vec128i): New function. | |
2066 | (builtin_type_v2_double, builtin_type_v4_int64): New types. | |
2067 | (builtin_type_vec128i): New type for SSE2 128-bit registers. | |
2068 | (build_gdbtypes): Initialize new builtin vector types. | |
2069 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
2070 | ||
6e3ba3b8 JT |
2071 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
2072 | ||
2073 | * MAINTAINERS: ns32k is not longer an obsolete candidate, | |
2074 | since it has been multi-arch'd. | |
2075 | * NEWS: Note that ns32k-*-* is now partial multi-arch. | |
2076 | Move Alpha and VAX multi-arch news entries to same section | |
2077 | as other multi-arch news. | |
2078 | ||
93d5585d JT |
2079 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
2080 | ||
2081 | * ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h, | |
2082 | target.s, arch-utils.h, ns32k-tdep.h. Make many functions | |
2083 | static. Rename some register numbers to put them in ns32k-tdep | |
2084 | private namespace. | |
2085 | (ns32k_get_saved_register, ns32k_gdbarch_init_32082, | |
2086 | ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New | |
2087 | functions. | |
2088 | (_initialize_ns32k_tdep): Use gdbarch_register. | |
2089 | * ns32k-tdep.h: New file. | |
2090 | * ns32knbsd-tdep.c: New file. | |
2091 | * config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o. | |
2092 | * config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h". | |
2093 | (IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS, | |
2094 | REGISTER_BYTES, REGISTER_BYTE): Remove. | |
2095 | * config/ns32k/tm-ns32k.h: New file. | |
2096 | * config/ns32k/tm-umax.h: Remove. | |
2097 | ||
efb2c70e JT |
2098 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
2099 | ||
2100 | * ns32k-tdep.c (ns32k_saved_pc_after_call, | |
2101 | ns32k_store_struct_return, ns32k_extract_return_value, | |
2102 | ns32k_store_return_value, ns32k_extract_struct_value_address): New | |
2103 | functions. | |
2104 | * config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as | |
2105 | ns32k_saved_pc_after_call. | |
2106 | (STORE_STRUCT_RETURN): Define as ns32k_store_struct_return. | |
2107 | (EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value. | |
2108 | (STORE_RETURN_VALUE): Define as ns32k_store_return_value. | |
2109 | (EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
2110 | ns32k_extract_struct_value_address. | |
2111 | ||
7bcc927b JT |
2112 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
2113 | ||
2114 | * ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words, | |
2115 | ns32k_fix_call_dummy): New. | |
2116 | * config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as | |
2117 | ns32k_call_dummy_words. | |
2118 | (SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words. | |
2119 | (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR, | |
2120 | CALL_DUMMY_NARGS): Remove. | |
2121 | (FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy. | |
2122 | ||
78f9d765 JT |
2123 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
2124 | ||
2125 | * ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain, | |
2126 | ns32k_frame_saved_pc, ns32k_frame_args_address, | |
2127 | ns32k_frame_locals_address, ns32k_frame_init_saved_regs, | |
2128 | ns32k_push_dummy_frame, ns32k_pop_frame): New functions. | |
2129 | * config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove. | |
2130 | * config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan. | |
2131 | (BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc. | |
2132 | (BREAKPOINT): Remove.. | |
2133 | (FRAME_CHAIN): Define as ns32k_frame_chain. | |
2134 | (FRAME_SAVED_PC): Define as ns32k_frame_saved_pc. | |
2135 | (FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address. | |
2136 | (FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address. | |
2137 | (FRAME_FIND_SAVED_REGS): Remove. | |
2138 | (FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs. | |
2139 | (PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame. | |
2140 | (POP_FRAME): Define as ns32k_pop_frame. | |
2141 | ||
f2c762e0 JT |
2142 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
2143 | ||
2144 | * ns32k-tdep.c (ns32k_register_byte_32082, | |
2145 | ns32k_register_byte_32382, ns32k_register_raw_size, | |
2146 | ns32k_register_virtual_size, ns32k_register_virtual_type): New | |
2147 | functions. | |
2148 | * config/ns32k/tm-nbsd.h (REGISTER_BYTE): Define as | |
2149 | ns32k_register_byte_32382. | |
2150 | * config/ns32k/tm-umax.h: Update copyright years. | |
2151 | (REGISTER_BYTE): Define as ns32k_register_byte_32082. | |
2152 | (REGISTER_RAW_SIZE): Define as ns32k_register_raw_size. | |
2153 | (REGISTER_VIRTUAL_SIZE): Define as ns32k_register_virtual_size. | |
2154 | (REGISTER_VIRTUAL_TYPE): Define as ns32k_register_virtual_type. | |
2155 | (ns32k_get_enter_addr): Fix prototype. | |
2156 | ||
af137673 JT |
2157 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
2158 | ||
2159 | * ns32k-tdep.c: Update copyright years. | |
2160 | (ns32k_register_name_32082): New function. | |
2161 | (ns32k_register_name_32382): Ditto. | |
2162 | * config/ns32k/tm-nbsd.h (REGISTER_NAMES): Remove. | |
2163 | (REGISTER_NAME): Define as ns32k_register_name_32382. | |
2164 | * config/ns32k/tm-umax.h (REGISTER_NAMES): Remove. | |
2165 | (REGISTER_NAME): Define as ns32k_register_name_32082. | |
2166 | ||
a8bc7b56 JB |
2167 | 2002-05-24 Jim Blandy <jimb@redhat.com> |
2168 | ||
2169 | * dwarf2read.c (free_line_header): Use xfree, not free. | |
2170 | ||
83a45910 JT |
2171 | 2002-05-24 Jason Thorpe <thorpej@wasabisystems.com> |
2172 | ||
2173 | * config/djgpp/fnchange.lst: Add alphabsd-nat.c, | |
2174 | alphabsd-tdep.c, mipsnbsd-nat.c, and mipsnbsd-tdep.c | |
2175 | ||
0db71247 AC |
2176 | 2002-05-23 Andrew Cagney <ac131313@redhat.com> |
2177 | ||
2178 | * PROBLEMS: Mention s390 and FreeBSD 4.4 build problems. | |
2179 | ||
b9e5e4dd AC |
2180 | 2002-05-23 Andrew Cagney <ac131313@redhat.com> |
2181 | ||
2182 | From Ross Alexander at NEC Europe: | |
2183 | * config/pa/hpux11w.mh (NATDEPFILES): Add solib.o. | |
2184 | ||
de530e84 MS |
2185 | 2002-05-23 Michael Snyder <msnyder@redhat.com> |
2186 | ||
2187 | * cli/cli-dump.c (restore_command): Use parse_and_eval_long | |
2188 | for input, rather than parse_and_eval_address. | |
2189 | ||
b91b96f4 AC |
2190 | 2002-05-23 Andrew Cagney <ac131313@redhat.com> |
2191 | ||
2192 | * d10v-tdep.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h". | |
2193 | * Makefile.in (sim_d10v_h): Update definition. | |
2194 | ||
8b279e7a AC |
2195 | 2002-05-24 Andrew Cagney <cagney@redhat.com> |
2196 | ||
2197 | * d10v-tdep.c (d10v_gdbarch_init): Revert old code included in | |
2198 | change `2002-05-22 Michael Snyder' below. | |
2199 | (d10v_push_arguments): Ditto. | |
2200 | (d10v_extract_return_value): Ditto. | |
2201 | ||
0a3d0425 JB |
2202 | 2002-05-23 Jim Blandy <jimb@redhat.com> |
2203 | ||
2204 | * macrotab.c (check_for_redefinition): Don't complain if the new | |
2205 | definition is the same as the previous one. Take more arguments | |
2206 | to allow the comparison. | |
2207 | (macro_define_object, macro_define_function): Pass more arguments | |
2208 | to check_for_redefinition. | |
2209 | ||
78eac43e MS |
2210 | 2002-05-22 Michael Snyder <msnyder@redhat.com> |
2211 | ||
2212 | * d10v-tdep.c: Change a few macros to enums for ease of debugging. | |
2213 | (d10v_frame_chain_valid): Add PC_IN_CALL_DUMMY clause. | |
2214 | (d10v_frame_saved_pc): Add PC_IN_CALL_DUMMY clause. | |
2215 | (d10v_frame_chain): Bail immediately if PC_IN_CALL_DUMMY. | |
2216 | Don't bail if return_pc is PC_IN_CALL_DUMMY. | |
2217 | Add a temp variable to save a call (and a memory read). | |
2218 | (d10v_init_extra_frame_info): Get fi->pc from callee's return_pc | |
2219 | if possible (so that PC_IN_CALL_DUMMY will work). | |
2220 | ||
9bc1edb8 CV |
2221 | 2002-05-22 Corinna Vinschen <vinschen@redhat.com> |
2222 | ||
2223 | * MAINTAINERS: Remove status `OBSOLETE' from v850. | |
2224 | ||
005ef3d2 ML |
2225 | 2002-05-22 Michal Ludvig <mludvig@suse.cz> |
2226 | ||
2227 | * dwarf2cfi.c (frame_state_for): Added safety check for a valid | |
2228 | fde->cie_ptr. | |
2229 | (dwarf2_build_frame_info): Corrected handling of eh_frame. | |
2230 | (dwarf2_build_frame_info): Add offset to fde->initial_location | |
2231 | so that frames of shared libraries are mapped correctly. | |
6c3eb890 ML |
2232 | (execute_stack_op): Change type of 'result' from ULONGEST to |
2233 | CORE_ADDR. | |
005ef3d2 | 2234 | |
fcf4f891 JT |
2235 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
2236 | ||
2237 | * config/alpha/tm-nbsd.h: Include solib.h. | |
2238 | ||
cfef91e4 JT |
2239 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
2240 | ||
2241 | * alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Don't make | |
2242 | assumptions about the host's byte order. | |
2243 | ||
9964235a JT |
2244 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
2245 | ||
2246 | * Makefile.in (alphanbsd-tdep.o, shnbsd-tdep.o): Add solib-svr4.h | |
2247 | to dependency list. | |
2248 | * alphanbsd-tdep.c: Include solib-svr4.h. | |
2249 | * shnbsd-tdep.c: Ditto. | |
2250 | ||
9eeef8ef JT |
2251 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
2252 | ||
2253 | * Makefile.in (armnbsd-tdep.o): Add solib-svr4.h and | |
2254 | nbsd-tdep.h to dependency list. | |
2255 | * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*, | |
2256 | i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*, | |
2257 | ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use | |
2258 | nbsdaout.mh and nbsdelf.mh consistently. | |
2259 | * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*, | |
2260 | ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use | |
2261 | nbsdaout.mt and nbsdelf.mh consistently. | |
2262 | * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h. | |
2263 | (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets | |
2264 | to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
2265 | * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move | |
2266 | a.out shared library stuff from here... | |
2267 | * config/nm-nbsdaout.h: ...to here. | |
2268 | * config/tm-nbsd.h: Remove. | |
2269 | * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove. | |
2270 | * config/arm/nbsd.mh: Remove. | |
2271 | * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add | |
2272 | nbsd-tdep.o. | |
2273 | * config/arm/nbsdaout.mh: New file. | |
2274 | * config/arm/nbsdelf.mh: New file. | |
2275 | * config/arm/nm-nbsdaout.h: New file. | |
2276 | * config/i386/nbsd.mh: Remove. | |
2277 | * config/i386/nbsd.mt: Remove. | |
2278 | * config/i386/nbsdaout.mh: New file. | |
2279 | * config/i386/nbsdaout.mt: New file. | |
2280 | * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. | |
2281 | * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h. | |
2282 | * config/i386/nm-nbsd.h (REGISTER_U_ADDR, | |
2283 | i386_register_u_addr): Remove. | |
2284 | * config/i386/nm-nbsdaout.h: New file. | |
2285 | * config/i386/nm-nbsdelf.h: Remove. | |
2286 | * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2287 | (USE_STRUCT_CONVENTION): Remove. | |
2288 | * config/i386/tm-nbsdaout.h: New file. | |
2289 | * config/i386/tm-nbsdelf.h: Remove. | |
2290 | * config/m68k/nbsd.mh: Remove. | |
2291 | * config/m68k/nbsd.mt: Remove. | |
2292 | * config/m68k/nbsdaout.mh: New file. | |
2293 | * config/m68k/nbsdaout.mt: New file. | |
2294 | * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h. | |
2295 | * config/m68k/nm-nbsdaout.h: New file. | |
2296 | * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2297 | (IN_SOLIB_CALL_TRAMPOLINE): Define. | |
2298 | * config/ns32k/nbsd.mh: Remove. | |
2299 | * config/ns32k/nbsd.mt: Remove. | |
2300 | * config/ns32k/nbsdaout.mh: New file. | |
2301 | * config/ns32k/nbsdaout.mt: New file. | |
2302 | * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h. | |
2303 | * config/ns32k/nm-nbsdaout.h: New file. | |
2304 | * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2305 | (IN_SOLIB_CALL_TRAMPOLINE): Define. | |
2306 | * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h. | |
2307 | (SVR4_SHARED_LIBS): Remove. | |
2308 | * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h. | |
2309 | * config/sparc/nbsd.mh: Remove. | |
2310 | * config/sparc/nbsd.mt: Remove. | |
2311 | * config/sparc/nbsdaout.mh: New file. | |
2312 | * config/sparc/nbsdaout.mt: New file. | |
2313 | * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. | |
2314 | * config/sparc/nbsdelf.mt: New file. | |
2315 | * config/sparc/nm-nbsdaout.h: New file. | |
2316 | * config/sparc/nm-nbsdelf.h: Remove. | |
2317 | * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2318 | * config/sparc/tm-nbsdaout.h: New file. | |
2319 | ||
257ce470 JT |
2320 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
2321 | ||
2322 | * Makefile.in (ALLDEPFILES): Add mipsnbsd-nat.c and | |
2323 | mipsnbsd-tdep.c | |
2324 | (mipsnbsd-nat.o, mipsnbsd-tdep.o): New dependency lists. | |
2325 | ||
76a6d5fe JT |
2326 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
2327 | ||
2328 | * Makefile.in (ALLDEPFILES): Add shnbsd-tdep.c and | |
2329 | shnbsd-nat.c. | |
2330 | (shnbsd-tdep.o, shnbsd-nat.o): New dependency lists. | |
2331 | ||
45888261 JT |
2332 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
2333 | ||
2334 | * NEWS: Note new MIPS NetBSD native configuration. | |
2335 | * configure.host (mips*-*-netbsd*): New host. | |
2336 | * configure.tgt (mips*-*-netbsd*): New target. | |
2337 | * mipsnbsd-nat.c: New file. | |
2338 | * mipsnbsd-tdep.c: New file. | |
2339 | * mipsnbsd-tdep.h: New file. | |
2340 | * config/mips/nbsd.mh: New file. | |
2341 | * config/mips/nbsd.mt: New file. | |
2342 | * config/mips/nm-nbsd.h: New file. | |
2343 | * config/mips/tm-nbsd.h: New file. | |
2344 | ||
70f80edf JT |
2345 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
2346 | ||
2347 | * Makefile.in (SFILES): Add osabi.c. | |
2348 | (COMMON_OBS): Add osabi.o. | |
2349 | (osabi.o): New dependency list. | |
2350 | * osabi.c: New file. | |
2351 | * osabi.h: New file. | |
2352 | * doc/gdbint.texinfo: Document new generic OS ABI framework. | |
2353 | ||
2354 | * Makefile.in (alpha_tdep_h): Define and use instead of | |
2355 | alpha-tdep.h. | |
2356 | * alpha-tdep.c (alpha_abi_names, process_note_abi_tag_sections, | |
2357 | get_elfosabi, alpha_abi_handler_list, alpha_gdbarch_register_os_abi): | |
2358 | Remove. | |
2359 | (alpha_gdbarch_init, alpha_dump_tdep): Use generic OS ABI framework. | |
2360 | * alpha-tdep.h: Include osabi.h. | |
2361 | (alpha_abi): Remove. | |
2362 | (gdbarch_tdep): Use generic OS ABI framework. | |
2363 | * alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Use | |
2364 | gdbarch_register_osabi. | |
2365 | * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise. | |
2366 | * alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise. | |
2367 | * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise. | |
2368 | ||
2369 | * Makefile.in (sh_tdep_h): Add osabi.h. | |
2370 | * sh-tdep.h (sh_osabi): Remove. | |
2371 | (gdbarch_tdep): Use generic OS ABI framework. | |
2372 | * sh-tdep.c (sh_osabi_names, process_note_abi_tag_sections, | |
2373 | sh_osabi_handler_list, sh_gdbarch_register_os_abi): Remove. | |
2374 | (sh_gdbarch_init, sh_dump_tdep): Use generic OS ABI framework. | |
2375 | * shnbsd-tdep.c (_initialize_shnbsd_tdep): Use gdbarch_register_osabi. | |
2376 | ||
2377 | * Makefile.in (arm_tdep_h): Define and use instead of arm-tdep.h. | |
2378 | * arm-linux-tdep.c (_initialize_arm_linux_tdep): Use | |
2379 | gdbarch_register_osabi. | |
2380 | * arm-tdep.c (arm_abi_names, process_note_abi_tag_sections, | |
2381 | arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove. | |
2382 | (get_elfosabi): Rename to... | |
2383 | (arm_elf_osabi_sniffer): ...this. Adjust to use generic OS | |
2384 | ABI framework support routines. | |
2385 | (arm_gdbarch_init): Use generic OS ABI framework. | |
2386 | (arm_dump_tdep): Likewise. | |
2387 | (_initialize_arm_tdep): Likewise. | |
2388 | * arm-tdep.h: Include osabi.h. | |
2389 | (arm_abi): Remove. | |
2390 | (gdbarch_tdep): Remove arm_abi and abi_name members. Add | |
2391 | osabi member. | |
2392 | (arm_gdbarch_register_os_abi): Remove prototype. | |
2393 | * armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function. | |
2394 | (_initialize_arm_netbsd_tdep): Use gdbarch_register_osabi. | |
2395 | ||
2396 | * Makefile.in (mips-tdep.o): Add osabi.h to dependency list. | |
2397 | * mips-tdep.c: Include osabi.h. | |
2398 | (gdbarch_tdep, mips_gdbarch_init, mips_dump_tdep): Use generic | |
2399 | OS ABI framework. | |
2400 | ||
d194345b KH |
2401 | 2002-05-20 Kazu Hirata <kazu@cs.umass.edu> |
2402 | ||
2403 | * h8300-tdep.c: Fix formatting. | |
2404 | ||
70c6b0d1 EZ |
2405 | 2002-05-20 Elena Zannoni <ezannoni@redhat.com> |
2406 | ||
2407 | * rs6000-tdep.c (rs6000_do_registers_info): Simplify code for | |
2408 | printing vector registers. | |
2409 | ||
165b8e33 AC |
2410 | 2002-05-19 Andrew Cagney <ac131313@redhat.com> |
2411 | ||
2412 | From Fernando Nasser: | |
2413 | * remote.c (remote_async_open_1): Re-throw the exception when the | |
2414 | connection fails. | |
2415 | (remote_cisco_open): Ditto. | |
2416 | (remote_open_1): Ditto. | |
2417 | ||
36918e70 AC |
2418 | 2002-05-19 Andrew Cagney <ac131313@redhat.com> |
2419 | ||
2420 | * remote.c (remote_start_remote_dummy): Add uiout parameter. | |
2421 | (remote_start_remote): Add uiout parameter. Pass through to | |
2422 | remote_start_remote_dummy. | |
2423 | (remote_open_1): Use catch_exception instead of catch_errors. | |
2424 | (remote_async_open_1): Ditto. | |
2425 | (remote_cisco_open): Ditto. | |
2426 | ||
ae44c0c4 AC |
2427 | 2002-05-19 Andrew Cagney <ac131313@redhat.com> |
2428 | ||
2429 | * remote.c (remote_start_remote): Replace PTR with void pointer. | |
2430 | (sigint_remote_twice_token, sigint_remote_token): Ditto. Make | |
2431 | static. | |
2432 | ||
8efe637d AC |
2433 | 2002-05-18 Andrew Cagney <ac131313@redhat.com> |
2434 | ||
2435 | * gdb_indent.sh: Allow the script to be run in the sim directory. | |
2436 | ||
2f1b5984 MK |
2437 | 2002-05-18 Mark Kettenis <kettenis@gnu.org> |
2438 | ||
f0f625e2 MK |
2439 | * config/i386/nm-cygwin.h (NO_PTRACE_H): Remove define. |
2440 | * config/i386/nm-go32.h (NO_PTRACE_H): Remove define. | |
2441 | ||
2f1b5984 MK |
2442 | * corelow.c (core_open): Only call set_gdbarch_from_file if |
2443 | exec_bfd is NULL. | |
2444 | ||
fc974602 AV |
2445 | 2002-05-17 Andrey Volkov <avolkov@transas.com> |
2446 | ||
2447 | * h8300-tdep.c: Add support of EXR register | |
2448 | * config/h8300/tm-h8300.h: Ditto. | |
2449 | ||
906709f4 AV |
2450 | 2002-05-17 Andrey Volkov <avolkov@transas.com> |
2451 | ||
2452 | * h8300-tdep.c: Add additional CCR flags (I,UI,H,U) | |
2453 | ||
6e591d68 AV |
2454 | 2002-05-17 Andrey Volkov <avolkov@transas.com> |
2455 | ||
2456 | * h8300-tdep.c: Change literal regnums to REGNO. | |
2457 | ||
84f0252a JB |
2458 | 2002-05-17 Jim Blandy <jimb@redhat.com> |
2459 | ||
e0e9281e JB |
2460 | * NEWS: Note addition of macro support. |
2461 | ||
84f0252a JB |
2462 | Expand preprocessor macros in C expressions. |
2463 | * c-lang.h: #include "macroexp.h", for macro_lookup_ftype. | |
2464 | (scan_macro_expansion, scanning_macro_expansion, | |
2465 | finished_macro_expansion): New function declarations. | |
2466 | (expression_macro_lookup_func, expression_macro_lookup_baton): New | |
2467 | variable declarations. | |
2468 | * parser-defs.h (expression_context_pc): New declaration. | |
2469 | * parse.c (expression_context_pc): New variable. | |
2470 | (parse_exp_1): Set expression_context_pc, as well as | |
2471 | expression_context_block. | |
2472 | * c-exp.y (yylex): If we're not already reading the result of a | |
2473 | macro expansion, try to macro-expand the next token. When we're | |
2474 | done scanning a macro expansion, switch back to the mainline text. | |
2475 | Commas and `if's in a macro's expansion don't terminate the input. | |
2476 | * c-lang.c: #include "macroscope.h" and "gdb_assert.h". | |
2477 | (macro_original_text, macro_expanded_text, | |
2478 | expression_macro_lookup_func, expression_macro_lookup_baton): New | |
2479 | variables. | |
2480 | (scan_macro_expansion, scanning_macro_expansion, | |
2481 | finished_macro_expansion, scan_macro_cleanup, null_macro_lookup, | |
2482 | c_preprocess_and_parse): New functions. | |
2483 | (c_language_defn, cplus_language_defn, asm_language_defn): Call | |
2484 | c_preprocess_and_parse, instead of c_parse. | |
2485 | * Makefile.in (c_lang_h): Note that this #includes macroexp.h. | |
2486 | (c-lang.o): Note dependency on macroscope.h and gdb_assert.h. | |
2487 | ||
1c509ca8 JR |
2488 | Fri May 17 14:26:19 2002 J"orn Rennecke <joern.rennecke@superh.com> |
2489 | ||
2490 | * sh-tdep.c (gdb_print_insn_sh64): Delete. | |
2491 | (gdb_print_insn_sh): Just set info->endian and use print_insn_sh. | |
2492 | (sh_gdbarch_init): Always use gdb_print_insn_sh. | |
2493 | ||
2250ee0c CV |
2494 | 2002-05-17 Corinna Vinschen <vinschen@redhat.com> |
2495 | ||
2496 | * NEWS: Add section for multi-arched targets. Add v850 to that section. | |
2497 | ||
ab3b8126 JT |
2498 | 2002-05-17 Jason Thorpe <thorpej@wasabisystems.com> |
2499 | ||
2500 | * Makefile.in (sh_tdep_h): Define and use. | |
2501 | * config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep, | |
2502 | register enum): Move to... | |
2503 | * * sh-tdep.h: ...here. | |
2504 | * sh-tdep.c: Include sh-tdep.h. | |
2505 | * sh3-rom.c: Likewise. | |
2506 | * shnbsd-tdep.c: Likewise. | |
2507 | ||
ed9d4749 MS |
2508 | 2002-05-16 Michael Snyder <msnyder@redhat.com> |
2509 | ||
2510 | * arm-tdep.c: Spelling fix in comment. | |
2511 | ||
2e276125 JB |
2512 | 2002-05-16 Jim Blandy <jimb@redhat.com> |
2513 | ||
6821892e JB |
2514 | Add commands for manually expanding macros and showing their |
2515 | definitions. | |
2516 | * macrocmd.c, macroscope.c, macroscope.h: New files. | |
2517 | * Makefile.in (SFILES): Add macrocmd.c, macroscope.c. | |
2518 | (macroscope_h): New variable. | |
2519 | (HFILES_NO_SRCDIR): Add macroscope.h. | |
2520 | (COMMON_OBS): Add macrocmd.o, macroscope.o. | |
2521 | (macroscope.o, macrocmd.o): New rules. | |
2522 | ||
2e276125 JB |
2523 | Teach the Dwarf 2 reader to read macro information. |
2524 | * dwarf2read.c: #include "macrotab.h". | |
2525 | (dwarf_macinfo_buffer): New variable. | |
2526 | (struct dwarf2_pinfo): New members: dwarf_macinfo_buffer, and | |
2527 | dwarf_macinfo_size. | |
2528 | (DWARF_MACINFO_BUFFER, DWARF_MACINFO_SIZE): New macros. | |
2529 | (dwarf2_missing_macinfo_section, dwarf2_macros_too_long, | |
2530 | dwarf2_macros_not_terminated, dwarf2_macro_outside_file, | |
2531 | dwarf2_macro_unmatched_end_file, dwarf2_macro_malformed_definition, | |
2532 | dwarf2_macro_spaces_in_definition): New complaints. | |
2533 | (dwarf2_has_info): Initialize dwarf_macinfo_offset. | |
2534 | (dwarf2_build_psymtabs): Read the .dwarf_macinfo section. | |
2535 | (dwarf2_build_psymtabs_hard): Record the buffer and its size in | |
2536 | the partial symbol table. | |
2537 | (psymtab_to_symtab_1): Set the macinfo buffer and size globals | |
2538 | from what's recorded in the partial symbol table. | |
2539 | (read_file_scope): If the compilation unit has a | |
2540 | `DW_AT_macro_info' attribute, read its macro information. | |
2541 | * Makefile.in (dwarf2read.o): Depend on macrotab.h. | |
2542 | ||
2f53fe6c DJ |
2543 | 2002-05-16 Daniel Jacobowitz <drow@mvista.com> |
2544 | ||
2545 | Fix PR gdb/546 | |
2546 | * ser-tcp.c: Don't include <netinet/udp.h>. | |
2547 | ||
2be99286 SC |
2548 | 2002-05-16 Stephane Carrez <stcarrez@nerim.fr> |
2549 | ||
2550 | * MAINTAINERS: Update my email address. | |
2551 | ||
c9af212b | 2552 | 2002-05-16 Richard Earnshaw <rearnsha@arm.com> |
8501bbeb RE |
2553 | |
2554 | * config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include generic | |
2555 | include file of the same name. | |
2556 | ||
bf5f1a52 CV |
2557 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
2558 | ||
2559 | * configure.tgt: Mark v850 as multi-arched. | |
2560 | * config/v850/tm-v850.h: Remove file. | |
2561 | * config/v850/v850.mt: Eliminate TM_FILE. | |
2562 | ||
435e042a CV |
2563 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
2564 | ||
2565 | * v850-tdep.c: Full multi-arch. | |
2566 | * config/v850/tm-v850.h: Eliminate or move to v850-tdep.c everything. | |
2567 | Define GDB_MULTI_ARCH to 2. | |
2568 | ||
9819c6c8 PM |
2569 | 2002-05-16 Pierre Muller <muller@ics.u-strasbg.fr> |
2570 | ||
2571 | * p-exp.y (current_type): New static variable. | |
2572 | Carries the type of the expression at the position that is parsed. | |
2573 | (push_current_type, pop_current_type): Two new functions. Used | |
2574 | to store/restore current_type in expression on specific tokens. | |
c9af212b RE |
2575 | (search_field): New static variable. Set to one after parsing a point |
2576 | as at that point only a FIELDNAME token should be searched. | |
9819c6c8 PM |
2577 | (FIELDNAME): New token. After a point only a token belonging to |
2578 | current_type type definition is allowed. | |
2579 | (all over token rules): reset and change current_type according | |
2580 | to rules. | |
2581 | (exp '[' rule): insert implicit array index field if | |
2582 | exp is a pascal string type. | |
2583 | ||
3a06899a CV |
2584 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
2585 | ||
2586 | * v850-tdep.c: Fix comment for v850_scan_prologue. Remove extra | |
2587 | frame info. Use frame_info's saved_regs instead of matching member | |
2588 | in extra_frame_info throughout. | |
2589 | (v850_frame_init_saved_regs): New function. | |
2590 | (v850_init_extra_frame_info): Move most functionality into | |
2591 | v850_frame_init_saved_regs(). | |
2592 | * config/v850/tm-v850.h (EXTRA_FRAME_INFO): Remove definition. | |
2593 | (v850_frame_find_saved_regs): Remove declaration. | |
2594 | (FRAME_FIND_SAVED_REGS): Remove definition. | |
2595 | (v850_frame_init_saved_regs): Add declaration. | |
2596 | (FRAME_INIT_SAVED_REGS): Add definition. | |
2597 | ||
6ed14b0e CV |
2598 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
2599 | ||
2600 | * v850-tdep.c: Begin multi-arch'ing v850. | |
2601 | (v850_target_architecture_hook): Remove function. | |
2602 | (v850_gdbarch_init): New function. Add code previously in | |
2603 | v850_target_architecture_hook(). | |
2604 | (_initialize_v850_tdep): Don't set target_architecture_hook. | |
2605 | Call register_gdbarch_init() instead. | |
2606 | ||
42725910 DJ |
2607 | 2002-05-16 Daniel Jacobowitz <drow@mvista.com> |
2608 | ||
2609 | * gdbtypes.h (struct cplus_struct_type): Remove args field. | |
2610 | * hpread.c (hpread_read_struct_type): Remove assignments to args. | |
2611 | (fixup_class_method_type): Likewise. | |
2612 | ||
0bc68c49 DJ |
2613 | 2002-05-15 Daniel Jacobowitz <drow@mvista.com> |
2614 | ||
2615 | From Martin Pool <mbp@samba.org>: | |
2616 | * gdbserver/server.c (gdbserver_usage): New function. | |
2617 | (main): Call it. | |
2618 | ||
99d9066e JB |
2619 | 2002-05-15 Jim Blandy <jimb@redhat.com> |
2620 | ||
2621 | Add macro structures to GDB's symbol tables. Nobody puts anything | |
2622 | in them yet. | |
2623 | * symtab.h (struct symtab): New member: `macro_table'. | |
2624 | * buildsym.h (pending_macros): New global variable. | |
2625 | * buildsym.c: #include "macrotab.h". | |
2626 | (buildsym_init): Initialize `pending_macros'. | |
2627 | (end_symtab): If we found macro information while reading a CU's | |
2628 | debugging info, do build a symtab structure for it. Make the | |
2629 | symtab point to the macro information, and clear the | |
2630 | `pending_macros' pointer which held it while we were reading the | |
2631 | debug info. | |
2632 | (really_free_pendings): Free any pending macro table. | |
2633 | * objfiles.h (struct objfile): New member: `macro_cache'. | |
2634 | * objfiles.c (allocate_objfile): Set allocate and free functions | |
2635 | for the macro cache's objstack. | |
2636 | (free_objfile): Empty the macro cache's obstack. | |
2637 | * symfile.c (reread_symbols): Empty the macro cache's obstack, and | |
2638 | set new allocate and free functions for it. | |
2639 | * solib-sunos.c (allocate_rt_common_objfile): Set allocate and | |
2640 | free functions for the macro cache's objstack. (Why is this | |
2641 | function building its own objfile?) | |
2642 | * symmisc.c (print_objfile_statistics): Print statistics on the | |
2643 | macro bcache. | |
2644 | * Makefile.in: Note that buildsym.o depends on macrotab.h. | |
2645 | ||
c899585b RE |
2646 | 2002-05-15 Richard Earnshaw <rearnsha@arm.com> |
2647 | ||
2648 | * config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h. | |
2649 | (REGISTER_U_ADDR): Delete definition. | |
2650 | (arm_register_u_addr): Delete declaration. | |
2651 | ||
a6cdd8c5 RE |
2652 | 2002-05-15 Richard Earnshaw <rearnsha@arm.com> |
2653 | ||
2654 | * arm-linux-tdep.c (ARM_LINUX_JB_PC): Renamed from JB_PC. | |
2655 | (ARM_LINUX_JB_ELEMENT_SIZE): Likewise. | |
2656 | ||
fd3a5ca1 DJ |
2657 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> |
2658 | ||
2659 | * gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo | |
2660 | stop_at -> stop_pc. | |
2661 | ||
c97dcfc7 AC |
2662 | 2002-05-14 Andrew Cagney <ac131313@redhat.com> |
2663 | ||
2664 | * regcache.c (register_valid): Revise comments refering to "Not | |
2665 | available" and "unavailable". | |
2666 | * frame.c (frame_register_read): Ditto. | |
2667 | * findvar.c (value_of_register): Ditto. | |
2668 | ||
93021b7d AC |
2669 | 2002-05-15 Andrew Cagney <cagney@redhat.com> |
2670 | ||
2671 | * Makefile.in (remote_sim_h): Replace remote-sim_h. | |
2672 | (remote-sim.o): Update dependencies. | |
2673 | (d10v-tdep.o): Specify dependencies. | |
2674 | (sim_d10v_h): Define. | |
2675 | ||
a86bc61c JB |
2676 | 2002-05-14 Jim Blandy <jimb@redhat.com> |
2677 | ||
2678 | * macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0. | |
2679 | * macrotab.c (macro_lookup_inclusion, find_definition, | |
2680 | new_macro_table): Same. | |
2681 | ||
2682 | * macroexp.c (currently_rescanning, expand): Use `strcmp () == 0', | |
2683 | not `! strcmp ()'. This is a dubious improvement. | |
2684 | * macrotab.c (macro_lookup_inclusion, find_definition): Same. | |
2685 | ||
2686 | * macrotab.c (macro_lookup_inclusion): Initialize `best_depth', | |
2687 | although it's not necessary, to avoid a warning. | |
2688 | ||
2fdde8f8 DJ |
2689 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> |
2690 | ||
2691 | * gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE. | |
2692 | (TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use | |
2693 | TYPE_INSTANCE_FLAGS. | |
2694 | (struct main_type): New. | |
2695 | (struct type): Move most members to struct main_type. Change | |
2696 | cv_type and as_type to new type_chain member. Add instance_flags. | |
2697 | (TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros. | |
2698 | (TYPE_CV_TYPE, TYPE_AS_TYPE): Remove. | |
2699 | (finish_cv_type): Remove prototype. | |
2700 | * gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE. | |
2701 | Set TYPE_CHAIN. | |
2702 | (alloc_type_instance): New function. | |
2703 | (smash_type): New function. | |
2704 | (make_pointer_type, make_reference_type, make_function_type) | |
2705 | (smash_to_member_type, smash_to_method_type): Call smash_type. | |
2706 | (make_qualified_type): New function. | |
2707 | (make_type_with_address_space): Call make_qualified_type. | |
2708 | (make_cv_type): Likewise. | |
2709 | (finish_cv_type): Remove unnecessary function. | |
2710 | (replace_type): Update comment. Copy TYPE_MAIN_TYPE. | |
2711 | (recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS; | |
2712 | remove TYPE_CV_TYPE and TYPE_AS_TYPE. | |
2713 | * c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS. | |
2714 | * dwarf2read.c (read_structure_scope): Don't call finish_cv_type. | |
2715 | * hpread.c (hpread_read_struct_type): Likewise. | |
2716 | * stabsread.c (read_struct_type): Likewise. | |
2717 | ||
843fedf4 EZ |
2718 | 2002-05-14 Elena Zannoni <ezannoni@redhat.com> |
2719 | ||
2720 | * configure.tgt: Add a catch all sh* target, for cases like | |
2721 | sh[2,3,4]-elf and sh-hms. | |
2722 | ||
05a6c72c KS |
2723 | 2002-05-14 Keith Seitz <keiths@redhat.com> |
2724 | ||
2725 | * event-loop.c (create_file_handler): Don't do anything but | |
2726 | update data when we are given a fd which we are already | |
2727 | monitoring. | |
2728 | ||
5d085aaf ML |
2729 | 2002-05-14 Michal Ludvig <mludvig@suse.cz> |
2730 | ||
2731 | * dwarf2cfi.c (context_cpy): Copy registers correctly. | |
2732 | (update_context): Use __func__ in warnings. | |
2733 | ||
9db8d71f DJ |
2734 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> |
2735 | ||
2736 | * ser-tcp.c: Include <netinet/udp.h>. Rename tcp_open | |
2737 | and tcp_close to net_open and net_close. | |
2738 | (net_open): Accept "udp:" and "tcp:" specifications. Connect | |
2739 | using UDP if requested. Don't try to disable Nagle on UDP | |
2740 | sockets. | |
2741 | * remote.c (remote_serial_open): New function. Warn about UDP. | |
2742 | (remote_open_1, remote_async_open_1, remote_cisco_open): Call it. | |
2743 | ||
5dbc6baa EZ |
2744 | 2002-05-13 Elena Zannoni <ezannoni@redhat.com> |
2745 | ||
2746 | * MAINTAINERS: List sh-elf as buildable with ,-Werror. | |
2747 | ||
cc3023f7 EZ |
2748 | 2002-05-13 Elena Zannoni <ezannoni@redhat.com> |
2749 | ||
2750 | * configure.tgt: Remove sh-hms target. | |
2751 | * MAINTAINERS: Don't list sh-hms as a separate target. | |
2752 | ||
ec2bcbe7 JB |
2753 | 2002-05-13 Jim Blandy <jimb@redhat.com> |
2754 | ||
2755 | Add first preprocessor macro-expansion files. | |
2756 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
2757 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
2758 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
2759 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
2760 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
2761 | (macroexp.o, macrotab.o): New rules. | |
2762 | ||
6d531722 AC |
2763 | 2002-05-13 Andrew Cagney <ac131313@redhat.com> |
2764 | ||
2765 | * config/m88k/tm-m88k.h: Update copyright. | |
2766 | (m88k_target_write_pc): Declare | |
2767 | (TARGET_WRITE_PC): Redefine using m88k_target_write_pc. | |
2768 | (M88K_NNPC_REGNUM): Rename NNPC_REGNUM. | |
2769 | (SHIFT_INST_REGS): Update definition. | |
2770 | * m88k-tdep.c (m88k_target_write_pc): New function. Implement | |
2771 | using old definition of TARGET_WRITE_PC. | |
2772 | * regcache.c (generic_target_write_pc): Delete code handling | |
2773 | NNPC_REGNUM. | |
2774 | * gdbarch.sh (NNPC_REGNUM): Delete. | |
2775 | * gdbarch.h, gdbarch.c: Regenerate. | |
2776 | ||
3e3f2739 RE |
2777 | 2002-05-13 Richard Earnshaw <rearnsha@arm.com> |
2778 | ||
2779 | * builtin-regs.c (value_of_builtin_reg): Correctly calculate the | |
2780 | builtin reg number. | |
2781 | ||
0004e5a2 DJ |
2782 | 2002-05-13 Daniel Jacobowitz <drow@mvista.com> |
2783 | ||
2784 | * ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary) | |
2785 | (gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref) | |
2786 | (gen_address_of, gen_struct_ref, gen_repeat): Use type | |
2787 | access macros. | |
2788 | * c-typeprint.c (cp_type_print_method_args): Likewise. | |
2789 | (c_type_print_args): Likewise. | |
2790 | * d10v-tdep.c (d10v_push_arguments): Likewise. | |
2791 | (d10v_extract_return_value): Likewise. | |
2792 | * expprint.c (print_subexp): Likewise. | |
2793 | * gdbtypes.c (lookup_primitive_typename): Likewise. | |
2794 | (lookup_template_type, add_mangled_type, print_arg_types): Likewise. | |
2795 | * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB) | |
2796 | (TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE) | |
2797 | (TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS) | |
2798 | (TYPE_VECTOR): Likewise. | |
2799 | * hpread.c (hpread_read_struct_type) | |
2800 | (fix_static_member_physnames, fixup_class_method_type) | |
2801 | (hpread_type_lookup): Likewise. | |
2802 | * mdebugread.c (parse_symbol, parse_type): Likewise. | |
2803 | * p-lang.c (is_pascal_string_type): Likewise. | |
2804 | * valops.c (hand_function_call): Likewise. | |
2805 | * x86-64-tdep.c (classify_argument): Likewise. | |
2806 | ||
2807 | * hpread.c (hpread_read_function_type) | |
2808 | (hpread_read_doc_function_type): Call replace_type. | |
2809 | * dstread.c (create_new_type): Delete. | |
2810 | (decode_dst_structure, process_dst_function): Call alloc_type. | |
2811 | Use type access macros. | |
2812 | ||
dff95cc7 MK |
2813 | 2002-05-12 Mark Kettenis <kettenis@gnu.org> |
2814 | ||
2815 | * i387-tdep.c (i387_supply_fxsave): Skip the SSE registers if | |
2816 | the're not supported by the current architecture. | |
2817 | (i387_fill_fxsave): Likewise. | |
2818 | ||
bbcd32ad FF |
2819 | 2002-05-12 Fred Fish <fnf@redhat.com> |
2820 | ||
2821 | * symfile.c (default_symfile_offsets): Arrange for uninitialized | |
2822 | sect_index_xxx members to index the first slot in section_offsets | |
2823 | if all of the section_offsets are zero. | |
2824 | ||
89cf4787 MK |
2825 | 2002-05-12 Mark Kettenis <kettenis@gnu.org> |
2826 | ||
2827 | * configure.tgt (sparc-*openbsd): Remove entry accidentially | |
2828 | checked in with last change. | |
2829 | ||
1f77ffc5 MK |
2830 | 2002-05-12 Mark Kettenis <kettenis@gnu.org> |
2831 | ||
2832 | * configure.tgt (i[3456]86-*-unixware*, i[3456]86-*-unixware2*): | |
2833 | Remove targets. These are canonicalized to i386-*-sysv4.2uw by | |
2834 | config.sub. | |
2835 | ||
89b8b4a9 DJ |
2836 | 2002-05-12 Daniel Jacobowitz <drow@mvista.com> |
2837 | ||
2838 | * Makefile.in: Update dependencies. | |
2839 | ||
14a5e767 AC |
2840 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
2841 | ||
2842 | * language.c (local_hex_string_custom): Simplify. Do not depend | |
2843 | on PRINTF_HAS_LONG_LONG or CC_HAS_LONG_LONG. | |
2844 | ||
2845 | * memattr.c (mem_info_command): Replace calls to | |
2846 | longest_local_hex_string and longest_local_hex_string_custom. | |
2847 | * buildsym.c (make_blockvector): Ditto. | |
2848 | * solib.c (info_sharedlibrary_command): Ditto. | |
2849 | * tracepoint.c (tracepoints_info): Ditto. | |
2850 | * symtab.c (print_msymbol_info): Ditto. | |
2851 | ||
2852 | * language.c (local_hex_string): Delete. | |
2853 | (local_hex_string_custom): Delete. | |
2854 | (longest_local_hex_string): Rename to local_hex_string. | |
2855 | (longest_local_hex_string_custom): Rename to | |
2856 | local_hex_string_custom. | |
2857 | * language.h (local_hex_string): Change parameter type to LONGEST. | |
2858 | (local_hex_string_custom): Ditto. | |
2859 | (longest_local_hex_string): Delete declaration. | |
2860 | (longest_local_hex_string_custom): Ditto. | |
2861 | ||
2862 | * solib.c: Update copyright. | |
2863 | * memattr.c: Update copyright. | |
2864 | ||
13d01224 AC |
2865 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
2866 | ||
2867 | * arch-utils.h (legacy_register_to_value): Declare. | |
2868 | (legacy_value_to_register): Declare. | |
2869 | (legacy_convert_register_p): Declare. | |
2870 | * arch-utils.c (legacy_register_to_value): New function. | |
2871 | (legacy_value_to_register): New function. | |
2872 | (legacy_convert_register_p): New function. | |
2873 | ||
2874 | * gdbarch.sh (REGISTER_TO_VALUE): Define. | |
2875 | (VALUE_TO_REGISTER): Define. | |
2876 | (CONVERT_REGISTER_P): Define. | |
2877 | * gdbarch.h, gdbarch.c: Regenerate. | |
2878 | ||
2879 | * valops.c (value_assign): Use CONVERT_REGISTER_P and | |
2880 | VALUE_TO_REGISTER. | |
2881 | * findvar.c (value_from_register): Use REGISTER_TO_VALUE and | |
2882 | CONVERT_REGISTER_P. | |
2883 | ||
4a1970e4 DJ |
2884 | 2005-05-11 Daniel Jacobowitz <drow@mvista.com> |
2885 | Peter Schauer <pes@regent.e-technik.tu-muenchen.de> | |
2886 | ||
2887 | * Makefile.in: Update dependencies for valops.c. | |
2888 | * valops.c: Include "gdb_assert.h". | |
2889 | (typecmp): Skip THIS parameter to methods. | |
2890 | (find_method_list): Remove static_memfuncp argument, | |
2891 | update callers. Check for stub methods. | |
2892 | (find_value_oload_method_list): Don't set *static_memfuncp. | |
2893 | (find_overload_match): Don't check for stub methods. Assert | |
2894 | that methods are not stubbed. Handle static methods. | |
2895 | (value_find_oload_method_list): Remove static_memfuncp argument. | |
2896 | * gdbtypes.c (check_stub_method): Do not add THIS pointer | |
2897 | to the argument list for static stub methods. | |
2898 | * value.h (value_find_oload_method_list): Update prototype. | |
2899 | ||
b2e75d78 AC |
2900 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
2901 | ||
2902 | * arch-utils.h (generic_register_size): Declare. | |
2903 | (generic_register_raw_size, generic_register_virtual_size): Delete | |
2904 | declarations. | |
2905 | * arch-utils.c (generic_register_raw_size): Delete. | |
2906 | (generic_register_size): New function. | |
2907 | (generic_register_virtual_size): Delete. | |
2908 | ||
2909 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make | |
2910 | default generic_register_size. | |
2911 | * gdbarch.h, gdbarch.c: Re-generate. | |
2912 | ||
2913 | * d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for | |
2914 | register_virtual_size. | |
2915 | * x86-64-tdep.c (x86_64_gdbarch_init): Ditto. | |
2916 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
2917 | ||
451fbdda AC |
2918 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
2919 | ||
2920 | * gdbarch.sh (gdbarch_data): Add gdbarch parameter. | |
2921 | * gdbarch.h, gdbarch.c: Regenerate. | |
2922 | * gnu-v3-abi.c: Update copyright. | |
2923 | (vtable_address_point_offset): Update. | |
2924 | (gnuv3_rtti_type): Update. | |
2925 | (gnuv3_baseclass_offset): Update. | |
2926 | * solib-svr4.c (svr4_fetch_link_map_offsets): Update. | |
2927 | (init_fetch_link_map_offsets): Update. | |
2928 | * remote.c (get_remote_state): Update. | |
2929 | ||
6d2f5cea DJ |
2930 | 2002-05-11 Daniel Jacobowitz <drow@mvista.com> |
2931 | ||
2932 | * TODO: Remove value_headof/value_from_vtable_info comment. | |
2933 | * printcmd.c (print_command_1): Don't call value_from_vtable_info. | |
2934 | * values.c (value_headof, value_from_vtable_info): Delete. | |
2935 | * value.h (value_from_vtable_info): Delete prototype. | |
2936 | ||
d2324da4 AC |
2937 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
2938 | ||
2939 | * Makefile.in: Replace gdb_assert.h with $(gdb_assert_h), | |
2940 | gdb_string.h with $(gdb_string_h) and gdb_regex.h with | |
2941 | $(gdb_regex_h). | |
2942 | (gdb_assert_h): Define. | |
2943 | (gdb_wait_h): Define. | |
2944 | (gdb_regex_h): Define. | |
2945 | ||
5c717440 DJ |
2946 | 2002-05-11 Daniel Jacobowitz <drow@mvista.com> |
2947 | ||
2948 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>: | |
2949 | * linespec.c (find_methods): Handle GCC 3.x template constructors. | |
2950 | ||
6c7861b3 JT |
2951 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
2952 | ||
2953 | * nbsd-tdep.c: Fix comment. | |
2954 | ||
ea5bc2a6 JT |
2955 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
2956 | ||
2957 | * Makefile.in (ALLDEPFILES): Add nbsd-tdep.c. | |
2958 | (alphanbsd-tdep.o): Add nbsd-tdep.h to dependency list. | |
2959 | (nbsd-tdep.o): New dependency list. | |
2960 | * alphanbsd-tdep.c: Don't include solib-svr4.h. Include | |
2961 | nbsd-tdep.h. | |
2962 | (alphanbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
2963 | (alphanbsd_init_abi): Use nbsd_lp64_solib_svr4_fetch_link_map_offsets. | |
2964 | * nbsd-tdep.c: New file. | |
2965 | * nbsd-tdep.h: New file. | |
2966 | * shnbsd-tdep.c: Don't include solib-svr4.h. Include | |
2967 | nbsd-tdep.h. | |
2968 | (shnbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
2969 | (shnbsd_init_abi): Use nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
2970 | * config/alpha/nbsd.mt (TDEPFILES): Add nbsd-tdep.o. | |
2971 | * config/sh/nbsd.mt (TDEPFILES): Ditto. | |
2972 | ||
b28da865 JT |
2973 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
2974 | ||
2975 | * config/alpha/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
2976 | * config/alpha/nbsd.mt (TDEPFILES): Add corelow.o. | |
2977 | * config/i386/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
2978 | * config/i386/nbsd.mt (TDEPFILES): Add corelow.o. | |
2979 | * config/i386/nbsdelf.mh (NATDEPFILES): Remove corelow.o. | |
2980 | * config/i386/nbsdelf.mt (TDEPFILES): Add corelow.o. | |
2981 | ||
4b8ff1fa JT |
2982 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
2983 | ||
2984 | * config/i386/nbsd.mh (NATDEPFILES): Use line continuations. | |
2985 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
2986 | * config/m68k/nbsd.mh (NATDEPFILES): Likewise. | |
2987 | * config/ns32k/nbsd.mh (NATDEPFILES): Likewise. | |
2988 | * config/powerpc/nbsd.mh (NATDEPFILES): Likewise. | |
2989 | * config/sparc/nbsd.mh (NATDEPFILES): Likewise. | |
2990 | * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise. | |
2991 | ||
dfe6eb1f JT |
2992 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
2993 | ||
2994 | * i386nbsd-nat.c: Delete file. Move fetch_core_registers and | |
2995 | fetch_elfcore_registers to... | |
2996 | * i386nbsd-tdep.c: ...here. | |
2997 | (i386nbsd_use_struct_convention): Rename to... | |
2998 | (i386nbsd_aout_use_struct_convention): ...this. | |
2999 | (i386nbsd_supply_reg): New function. | |
3000 | (i386nbsd_fill_reg): New function. | |
3001 | (fetch_core_registers): Use i386nbsd_supply_reg. | |
3002 | (fetch_elfcore_registers): Likewise. | |
3003 | (_initialize_i386nbsd_tdep): New function. | |
3004 | * config/i386/nbsd.mh (NATDEPFILES): Remove i386nbsd-nat.o. | |
3005 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
3006 | * config/i386/nbsdelf.mt (TDEPFILES): Add i386nbsd-tdep.o. | |
3007 | * config/i386/tm-nbsd.h (i386nbsd_use_struct_convention): Rename to... | |
3008 | (i386nbsd_aout_use_struct_convention): ...this. | |
3009 | ||
20cb8cda JT |
3010 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
3011 | ||
3012 | * shnbsd-nat.c (fetch_inferior_registers): Use shnbsd_supply_reg. | |
3013 | (store_inferior_registers): Use shnbsd_fill_reg. | |
3014 | * shnbsd-tdep.c (sh_nbsd_supply_registers, | |
3015 | sh_nbsd_supply_register): Collapse into... | |
3016 | (shnbsd_supply_reg): ...this. | |
3017 | (sh_nbsd_fill_registers, sh_nbsd_fill_register): Collapse into... | |
3018 | (shnbsd_fill_reg): ...this. | |
3019 | (sh_nbsd_solib_svr4_fetch_link_map_offsets): Rename to... | |
3020 | (shnbsd_solib_svr4_fetch_link_map_offsets): ...this. | |
3021 | (fetch_core_registers): Use shnbsd_supply_reg. | |
3022 | (fetch_elfcore_registers): Use shnbsd_supply_reg. | |
3023 | (sh_nbsd_core_fns): Rename to... | |
3024 | (shnbsd_core_fns): ...this. | |
3025 | (sh_nbsd_elfcore_fns): Rename to... | |
3026 | (shnbsd_elfcore_fns): ...this. | |
3027 | (sh_nbsd_init_abi): Rename to... | |
3028 | (shnbsd_init_abi): ...this. | |
3029 | (_initialize_sh_nbsd_tdep): Rename to... | |
3030 | (_initialize_shnbsd_tdep): ...this. | |
3031 | * shnbsd-tdep.h (sh_nbsd_supply_registers, | |
3032 | sh_nbsd_supply_register, sh_nbsd_fill_registers, | |
3033 | sh_nbsd_fill_register): Remove prototypes. | |
3034 | (shnbsd_supply_reg, shnbsd_fill_reg): Add prototypes. | |
3035 | ||
e750d25e JT |
3036 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
3037 | ||
3038 | * Makefile.in (ALLDEPFILES): Remove i387-nat.c. | |
3039 | (i387-nat.o): Delete dependency list. | |
3040 | (go32-nat.o): Change i387-nat.h to i387-tdep.h. | |
3041 | (x86-64-linux-nat.o): Likewise. | |
3042 | * i387-nat.c: Delete file, moving contents to... | |
3043 | * i387-tdep.c: ...here. | |
3044 | * i387-nat.h: Rename... | |
3045 | * i387-tdep.h: ...to this. | |
3046 | * go32-nat.c: Include i387-tdep.h instead of i387-nat.h. | |
3047 | * i386-linux-nat.c: Likewise. | |
3048 | * i386bsd-nat.c: Likewise. | |
3049 | * i386gnu-nat.c: Likewise. | |
3050 | * i386nbsd-nat.c: Likewise. | |
3051 | * i386v4-nat.c: Likewise. | |
3052 | * x86-64-linux-nat.c: Likewise. | |
3053 | * config/i386/fbsd.mh (NATDEPFILES): Remove i387-nat.o. | |
3054 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
3055 | * config/i386/i386gnu.mh (NATDEPFILES): Likewise. | |
3056 | * config/i386/i386sol2.mh (NATDEPFILES): Likewise. | |
3057 | * config/i386/i386v42mp.mh (NATDEPFILES): Likewise. | |
3058 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
3059 | * config/i386/nbsd.mh (NATDEPFILES): Likewise. | |
3060 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
3061 | * config/i386/obsd.mh (NATDEPFILES): Likewise. | |
3062 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
3063 | ||
1aee598a JT |
3064 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
3065 | ||
3066 | * Makefile.in (ALLDEPFILES): Remove alphanbsd-nat.c. | |
3067 | (alphanbsd-nat.o): Remove dependency list. | |
3068 | (alphanbsd-tdep.o): Add $(regcache_h) to dependency list. | |
3069 | * alphanbsd-nat.c: Delete. Contents moved to... | |
3070 | * alphanbsd-tdep.c: ...here. | |
3071 | (_initialize_alphanbsd_tdep): Register core functions. | |
3072 | * config/alpha/nbsd.mh (NATDEPFILES): Remove alphanbsd-nat.o. | |
3073 | ||
12bcb0fe JT |
3074 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
3075 | ||
3076 | * Makefile.in (ALLDEPFILES): Add alphabsd-tdep.c. | |
3077 | (alphabsd-nat.o): Depend on alphabsd-tdep.h. | |
3078 | (alphanbsd-nat.o): Likewise. | |
3079 | (alphabsd-tdep.o): New dependency list. | |
3080 | * alphabsd-nat.c (supply_gregset): Use alphabsd_supply_reg. | |
3081 | (fill_gregset): Use alphabsd_fill_reg. | |
3082 | (supply_fpregset): Use alphabsd_supply_fpreg. | |
3083 | (fill_fpregset): Use alphabsd_fill_fpreg. | |
3084 | (fetch_inferior_registers): Use struct reg and struct fpreg | |
3085 | rather than gregset_t and fpregset_t. Use alphabsd_supply_reg | |
3086 | and alphabsd_supply_fpreg. | |
3087 | (store_inferior_registers): Use struct reg and struct fpreg | |
3088 | rather than gregset_t and fpregset_t. Use alphabsd_fill_reg | |
3089 | and alphabsd_fill_fpreg. | |
3090 | * alphabsd-tdep.c: New file. | |
3091 | * alphabsd-tdep.h: New file. | |
3092 | * alphanbsd-nat.c (fetch_core_registers): Use alphabsd_supply_fpreg. | |
3093 | (fetch_elfcore_registers): Use alphabsd_supply_reg and | |
3094 | alphabsd_supply_fpreg. | |
3095 | * config/alpha/fbsd.mt (TDEPFILES): Add alphabsd-tdep.o. | |
3096 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
3097 | ||
361d1df0 EC |
3098 | 2002-05-11 Eric Christopher <echristo@redhat.com> |
3099 | ||
3100 | * mips-tdep.c (mips_double_register_type): Fix thinko. | |
3101 | (mips_single_register_type): Ditto. | |
3102 | * MAINTAINERS: Add self. | |
3103 | ||
92dd7cee MK |
3104 | 2002-05-11 Mark Kettenis <kettenis@gnu.org> |
3105 | ||
3106 | * i387-nat.c (i387_supply_register, i387_fill_fsave, | |
3107 | i387_supply_fxsave, i387_fill_fxsave): Rewrite in order to do the | |
3108 | right thing on architectures with different endianness and/or | |
3109 | integer sizes. | |
3110 | ||
e27da16d JT |
3111 | 2002-05-10 Jason Thorpe <thorpej@wasabisystems.com> |
3112 | ||
3113 | From Christian Limpach <chris@Pin.LU> | |
3114 | * configure.in: Change sed expression which comments out | |
3115 | NATDEPFILES to also comment out continuation lines. | |
3116 | * configure: Regenerate. | |
3117 | ||
ddde02bd EZ |
3118 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
3119 | ||
3120 | * sh-tdep.c: Clean up code erroneously reintroduced by previous | |
3121 | big patch. | |
3122 | ||
1c922164 EZ |
3123 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
3124 | ||
3125 | * sh-tdep.c: Include correct file. | |
3126 | ||
283150cd EZ |
3127 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
3128 | ||
3129 | New support for sh64-elf (sh5) target. | |
3130 | ||
3131 | * configure.tgt: For sh64-elf target, default to sh-elf. | |
3132 | ||
3133 | * config/sh/tm-sh.h (enum sh-abi): Possible ABI's. | |
3134 | (struct gdbarch_tdep): Add new fields for new registers and ABI | |
3135 | info. | |
361d1df0 | 3136 | |
283150cd EZ |
3137 | * sh-tdep.c: Include elf-bfd.h, elf/sh.h, gdb/sim-sh.h. |
3138 | (NUM_PSEUDO_REGS_SH_MEDIA, NUM_PSEUDO_REGS_SH_COMPACT, | |
3139 | MSYMBOL_IS_SPECIAL, IS_ISA32_ADDR, MAKE_ISA32_ADDR, | |
3140 | UNMAKE_ISA32_ADDR, IS_PTABSL_R18, IS_STS_R0, IS_STS_PR, | |
3141 | IS_MOV_TO_R15, IS_MOV_R14, IS_STQ_R18_R14, IS_STQ_R18_R15, | |
3142 | IS_STL_R18_R15, IS_STQ_R14_R15, IS_STL_R14_R15, IS_ADDIL_SP_MEDIA, | |
3143 | IS_ADDI_SP_MEDIA, IS_ADDL_SP_FP_MEDIA, IS_ADD_SP_FP_MEDIA, | |
3144 | IS_MOV_SP_FP_MEDIA, IS_MOV_R0, IS_MOVL_R0, IS_ADD_SP_R0, | |
3145 | IS_MOV_R14_R0, IS_MEDIA_IND_ARG_MOV, IS_MEDIA_ARG_MOV, | |
3146 | IS_MEDIA_MOV_TO_R14, IS_COMPACT_IND_ARG_MOV, IS_COMPACT_ARG_MOV, | |
3147 | IS_COMPACT_MOV_TO_R14, IS_JSR_R0, IS_NOP): New macros. | |
3148 | (sh_sh64_register_name, sh64_elf_make_msymbol_special, | |
3149 | pc_is_isa32, sh_sh64_breakpoint_from_pc, look_for_args_moves, | |
3150 | sh64_skip_prologue_hard_way, sh64_use_struct_convention, | |
3151 | gdb_print_insn_sh64, translate_insn_rn, sh64_frame_chain, | |
3152 | sh64_get_saved_pr, fpp_reg_base_num, is_media_pseudo, | |
3153 | sh64_get_gdb_regnum, sh64_media_reg_base_num, | |
3154 | sh64_compact_reg_base_num, translate_rn_to_arch_reg_num, | |
3155 | sign_extend, sh64_nofp_frame_init_saved_regs, | |
3156 | sh64_init_extra_frame_info, sh64_get_saved_register, | |
3157 | sh64_extract_struct_value_address, sh64_pop_frame, | |
3158 | sh64_push_arguments, sh64_extract_return_value, | |
3159 | sh64_store_return_value, sh64_show_media_regs, | |
3160 | sh64_show_compact_regs, sh64_show_regs, sh_sh64_register_byte, | |
3161 | sh_sh64_register_raw_size, sh_sh64_register_virtual_size, | |
3162 | sh_sh64_register_virtual_type, | |
3163 | sh_sh64_register_convert_to_virtual, | |
3164 | sh_sh64_register_convert_to_raw, sh64_pseudo_register_read, | |
3165 | sh64_register_read, sh64_pseudo_register_write, | |
3166 | sh64_register_write, do_fv_c_register_info, do_dr_c_register_info, | |
3167 | do_r_c_register_info, do_fpp_register_info, do_cr_c_register_info, | |
3168 | sh64_do_pseudo_register, sh_compact_do_registers_info, | |
3169 | sh64_do_registers_info, sh_gdbarch_init): New functions. | |
3170 | ||
3117ed25 EZ |
3171 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
3172 | ||
3173 | * sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type. | |
3174 | ||
2654e6d4 DJ |
3175 | 2002-05-10 Daniel Jacobowitz <drow@mvista.com> |
3176 | ||
3177 | * linespec.c (decode_line_1): Check for a double quote after | |
3178 | a filename correctly. | |
3179 | ||
9ab3e532 JB |
3180 | 2002-05-10 Jim Blandy <jimb@redhat.com> |
3181 | ||
3182 | Properly track the size of the current objfile's .debug_line section. | |
3183 | * dwarf2read.c (struct dwarf2_pinfo): New member: dwarf_line_size. | |
3184 | (DWARF_LINE_SIZE): New macro. | |
3185 | (dwarf2_build_psymtabs_hard): Record the line section's size in | |
3186 | the partial symbol table. | |
3187 | (psymtab_to_symtab_1): Restore dwarf_line_size from the partial | |
3188 | symbol table. | |
3189 | ||
126fa72d PS |
3190 | 2002-05-10 Petr Sorfa <petrs@caldera.com> |
3191 | ||
3192 | * ia64-tdep.c: Handle breakpoints on L instruction type | |
3193 | in MLX instruction bundle by moving the breakpoint to | |
3194 | the third slot (X instruction type) as L holds only data. | |
3195 | ||
1f077a3e KB |
3196 | 2002-05-10 Kevin Buettner <kevinb@redhat.com> |
3197 | ||
3198 | * dbxread.c (discarding_local_symbols_complaint): New complaint. | |
3199 | (process_one_symbol): Complain about discarding local symbols | |
3200 | due to a misplaced N_LBRAC entry. | |
3201 | ||
8120c9d5 | 3202 | 2002-05-09 Elena Zannoni <ezannoni@redhat.com> |
361d1df0 EC |
3203 | |
3204 | From Daniel Berlin <dan@cgsoftware.com> | |
8120c9d5 EZ |
3205 | * linespec.c (find_toplevel_char): '<' and '>' also increase and |
3206 | decrease the depth we are at, in the case of templates. | |
361d1df0 | 3207 | |
67b2c998 DJ |
3208 | 2002-05-09 Daniel Jacobowitz <drow@mvista.com> |
3209 | ||
3210 | * mips-tdep.c (mips_float_register_type): New function. | |
3211 | (mips_double_register_type): New function. | |
3212 | (mips_print_register): Use them. | |
3213 | (do_fp_register_row): Likewise. | |
3214 | ||
fd326606 DJ |
3215 | 2002-05-09 Daniel Jacobowitz <drow@mvista.com> |
3216 | ||
6609d9af | 3217 | * signals/signals.c (signals): Remove conditional compilation around |
fd326606 | 3218 | Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT. |
6609d9af | 3219 | (target_signal_from_name): Loop until TARGET_SIGNAL_LAST. |
fd326606 | 3220 | |
bef35864 MS |
3221 | 2002-05-09 Michael Snyder <msnyder@redhat.com> |
3222 | ||
3223 | * remote-rdp.c (remote_rdp_can_run): Remove. | |
3224 | ||
c55a3f73 TT |
3225 | 2002-05-09 Tom Tromey <tromey@redhat.com> |
3226 | ||
3227 | * jv-valprint.c (java_val_print): Handle `char' as a special case | |
3228 | of TYPE_CODE_INT. | |
3229 | ||
b8d5e71d MS |
3230 | 2002-05-09 Michael Snyder <msnyder@redhat.com> |
3231 | ||
3232 | * arm-tdep.c (arm_scan_prologue): Accept strb r(0123),[r11,#-nn], | |
3233 | strh r(0123),[r11,#-nn], str r(0123),[r11,#-nn], as well as | |
361d1df0 | 3234 | strb r(0123),[sp,#nn], strh r(0123),[sp,#nn] and |
b8d5e71d | 3235 | str r(0123),[sp,#nn]. |
361d1df0 | 3236 | (arm_skip_prologue): Ditto. Also make disassembly |
b8d5e71d MS |
3237 | order-independent by placing it in a loop. |
3238 | ||
e2cd42dd MS |
3239 | 2002-05-06 Michael Snyder <msnyder@redhat.com> |
3240 | ||
3241 | * stabsread.c (read_type): Add recognition for new attribute: | |
3242 | "@V;" means that an array type is actually a vector. | |
3243 | This is analogous to the vector flag that's been added to dwarf2. | |
3244 | ||
3ce1502b MK |
3245 | 2002-05-09 Mark Kettenis <kettenis@gnu.org> |
3246 | ||
3247 | * i386-tdep.h (i386_abi): New enum. | |
3248 | (struct gdbarch_tdep): Replace os_ident member with abi. | |
3249 | (i386_gdbarch_register_os_abi): New prototype. | |
3250 | * i386-tdep.c (i386_abi_names): New array. | |
3251 | (process_note_abi_tag_sections): Removed. | |
3252 | (process_note_sections): New function. | |
3253 | (i386_elf_abi_from_note, i386_elf_abi): New functions. | |
3254 | (struct i386_abi_handler): New struct. | |
3255 | (i386_abi_handler_list): New variable. | |
3256 | (i386_gdbarch_register_os_abi): New function. | |
3257 | (i386_gdbarch_init): Adapt for the changes given above. | |
3258 | ||
084c156a DJ |
3259 | 2002-05-08 Daniel Jacobowitz <drow@mvista.com> |
3260 | ||
3261 | * gregset.h: Say "GNU/Linux". | |
3262 | ||
6599f021 EZ |
3263 | 2002-05-08 Elena Zannoni <ezannoni@redhat.com> |
3264 | ||
3265 | * gdbtypes.c : Add new builtin type for 64 bit vectors. | |
3266 | (build_gdbtypes): Build builtin_type_v2_float. | |
3267 | (_initialize_gdbtypes): Register new builtin type. | |
3268 | ||
40af4b0c AC |
3269 | 2002-05-08 Andrew Cagney <ac131313@redhat.com> |
3270 | ||
3271 | * gdbarch.sh (init_gdbarch_swap): Do not clear the swap section. | |
3272 | (clear_gdbarch_swap): New function. | |
3273 | (initialize_non_multiarch): Call. | |
3274 | (gdbarch_update_p): Before calling init(), swap out and clear the | |
3275 | existing architecture. | |
3276 | * gdbarch.c: Regenerate. | |
3277 | ||
4fe84f46 JT |
3278 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
3279 | ||
3280 | * config/djgpp/fnchange.lst: Add alphanbsd-nat.c and | |
3281 | alphanbsd-tdep.c. | |
3282 | ||
4015edd1 JT |
3283 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
3284 | ||
3285 | * sh-nbsd-nat.c: Rename to... | |
3286 | * shnbsd-nat.c: ...this. | |
3287 | * sh-nbsd-tdep.c: Rename to... | |
3288 | * shnbsd-tdep.c: ...this. | |
3289 | * sh-nbsd-tdep.h: Rename to... | |
3290 | * shnbsd-tdep.h: ...this. | |
3291 | * config/sh/nbsd.mh: Use shnbsd-nat.o. | |
3292 | * config/sh/nbsd.mt: Use shnbsd-tdep.o. | |
3293 | ||
0e2bd219 RE |
3294 | 2002-05-08 Richard Earnshaw <rearnsha@arm.com> |
3295 | ||
3296 | * remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string | |
3297 | concatenation for command help messages. | |
3298 | ||
13a38d45 JT |
3299 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
3300 | ||
3301 | * NEWS: Note new sh*-*-netbsdelf* configuration. | |
3302 | * configure.host: Set gdb_host_cpu to sh for all sh*. | |
3303 | (sh*-*-netbsdelf*): New host. | |
3304 | * configure.tgt: Set gdb_target_cpu to sh for all sh*. | |
3305 | (sh*-*-netbsdelf*): New target. | |
3306 | * sh-nbsd-nat.c: New file. | |
3307 | * sh-nbsd-tdep.c: New file. | |
3308 | * sh-nbsd-tdep.h: New file. | |
3309 | * config/sh/nbsd.mh: New file. | |
3310 | * config/sh/nbsd.mt: New file. | |
3311 | * config/sh/nm-nbsd.h: New file. | |
3312 | * config/sh/tm-nbsd.h: New file. | |
3313 | ||
d658f924 JT |
3314 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
3315 | ||
3316 | * sh-tdep.c (sh_osabi_names): Declare. | |
3317 | (process_note_abi_tag_sections): New function. | |
3318 | (get_elfosabi): Ditto. | |
3319 | (sh_gdbarch_register_os_abi): Ditto. | |
3320 | (sh_dump_tdep): Ditto. | |
3321 | _initialize_sh_tdep): Use gdbarch_register to register | |
3322 | sh_gdbarch_init and sh_dump_tdep. | |
3323 | * config/sh/tm-sh.h (sh_osabi): Declare. | |
3324 | (gdbarch_tdep): Add sh_osabi and osabi_name members. | |
3325 | ||
848cfffb AC |
3326 | 2002-05-07 Andrew Cagney <ac131313@redhat.com> |
3327 | ||
3328 | * arm-tdep.c (arm_skip_prologue): Handle generic dummy frames. | |
3329 | (thumb_scan_prologue): Ditto. | |
3330 | (arm_find_callers_reg): Ditto. | |
3331 | (arm_frame_chain): Ditto. | |
3332 | (arm_init_extra_frame_info): Ditto. | |
3333 | (arm_frame_saved_pc): Ditto. | |
3334 | (arm_pop_frame): Ditto. | |
3335 | (arm_push_return_address): New function. | |
3336 | (arm_gdbarch_init): Initialize use_generic_dummy_frames, | |
3337 | call_dummy_location, call_dummy_breakpoint_offset_p, | |
3338 | call_dummy_breakpoint_offset, call_dummy_p, | |
3339 | call_dummy_stack_adjust_p, call_dummy_words, | |
3340 | sizeof_call_dummy_words, call_dummy_start_offset, | |
3341 | call_dummy_length, fix_call_dummy, pc_in_call_dummy, | |
3342 | call_dummy_address, push_return_address and push_dummy_frame for | |
3343 | generic dummy frames. | |
3344 | ||
e7d717c0 JT |
3345 | 2002-05-07 Jason Thorpe <thorpej@wasabisystems.com> |
3346 | ||
3347 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Fix error in | |
3348 | size computation for alloca. | |
3349 | (sh_fp_frame_init_saved_regs): Likewise. | |
3350 | ||
7bbcf283 RE |
3351 | 2002-05-07 Richard Earnshaw <rearnsha@arm.com> |
3352 | ||
3353 | * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define. | |
3354 | (ARM_MAX_REGISTER_VIRTUAL_SIZE): Define. | |
361d1df0 | 3355 | * arm-tdep.c (arm_store_return_value): Use them. |
7bbcf283 RE |
3356 | Use FP_REGISTER_RAW_SIZE when setting the FPA return value. |
3357 | * remote-rdp.c (remote_rdp_fetch_register): Use | |
3358 | ARM_MAX_REGISTER_RAW_SIZE. | |
3359 | (remote_rdp_store_register): Likewise. | |
3360 | ||
4657573b ML |
3361 | 2002-05-07 Michal Ludvig <mludvig@suse.cz> |
3362 | ||
361d1df0 | 3363 | * dwarf2cfi.c: Code cleanup, removed unused variables, |
4657573b ML |
3364 | added default labels to switch {} statements. |
3365 | * x86-64-tdep.c: Ditto. | |
3366 | * x86-64-linux-nat.c: Ditto. | |
3367 | ||
010f3b2f JT |
3368 | 2002-05-07 Jason Thorpe <thorpej@wasabisystems.com> |
3369 | ||
3370 | * solib.h: Protect against multiple inclusion. | |
3371 | ||
debd256d JB |
3372 | 2002-05-06 Jim Blandy <jimb@redhat.com> |
3373 | ||
9ab3e532 JB |
3374 | Add first preprocessor macro-expansion files. |
3375 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
3376 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
3377 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
3378 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
3379 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
3380 | (macroexp.o, macrotab.o): New rules. | |
3381 | ||
debd256d JB |
3382 | Separate the job of reading the line number info statement program |
3383 | header (...expialidocious) out into its own function. | |
3384 | * dwarf2read.c (struct line_head, struct filenames, struct | |
3385 | directories): Replace with... | |
3386 | (struct line_header): New structure, containing the full | |
3387 | contents of the statement program header, including the | |
3388 | include directory and file name tables. | |
3389 | (read_file_scope): If we have line number info, instead of just | |
3390 | calling dwarf_decode_lines to do all the work, call | |
3391 | dwarf_decode_line_header first to get a `struct line_header' | |
3392 | containing the data in the statement program header, and then | |
3393 | pass that to dwarf_decode_lines, which will pick up where that | |
3394 | left off. Be sure to clean up the `struct line_header' object. | |
3395 | (dwarf_decode_line_header, free_line_header, add_include_dir, | |
3396 | add_file_name): New functions. | |
3397 | (dwarf_decode_lines): Move all the code to read the statement | |
3398 | program header into dwarf_decode_line_header. Take the line | |
3399 | header it built as the first argument, instead of the offset to | |
3400 | the compilation unit's line number info. Use the new `struct | |
3401 | line_header' type instead of the old structures. No need to do | |
3402 | cleanups here now, since we don't allocate anything. | |
3403 | (dwarf2_statement_list_fits_in_line_number_section, | |
3404 | dwarf2_line_header_too_long): New complaints. | |
3405 | ||
ac3aafc7 EZ |
3406 | 2002-05-06 Elena Zannoni <ezannoni@redhat.com> |
3407 | ||
3408 | * gdbtypes.c (init_vector_type): New function. | |
3409 | (build_builtin_type_vec128): Simplify the representation of SIMD | |
3410 | registers. | |
3411 | (build_gdbtypes): Initialize new builtin vector types. | |
3412 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
3413 | (builtin_type_v4_float, builtin_type_v4_int32, | |
3414 | builtin_type_v8_int16, builtin_type_v16_int8, | |
3415 | builtin_type_v2_int32, builtin_type_v4_int16, | |
3416 | builtin_type_v8_int8): New (renamed) SIMD types. | |
3417 | ||
13e49980 MK |
3418 | 2002-05-06 Mark Kettenis <kettenis@gnu.org> |
3419 | ||
3420 | * i387-nat.c (i387_fill_fsave): Use regcache_collect. | |
3421 | (i387_fill_fxsave): Likewise. | |
3422 | ||
997b20b8 AO |
3423 | 2002-05-05 Alexandre Oliva <aoliva@redhat.com> |
3424 | ||
3425 | * alpha-tdep.c (alpha_extract_return_value): Don't use | |
3426 | non-constant array size in prototype. | |
3427 | ||
535c96ce AC |
3428 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3429 | ||
3430 | From Brian Taylor <briant at model dot com>: | |
3431 | * ui-out.c (ui_out_field_core_addr): Use the function | |
3432 | longest_local_hex_string_custom'to format addresses > 32 bits | |
3433 | wide. | |
3434 | ||
3435 | * ui-out.c (ui_out_field_core_addr): Update comment. | |
3436 | ||
bedfa57b AC |
3437 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3438 | ||
3439 | * stack.c (select_and_print_frame): Make static. Delete the | |
3440 | parameter `level'. | |
3441 | (func_command): Update call. | |
3442 | (select_frame_command): Delete code computing the frame level. | |
3443 | * frame.h (select_and_print_frame): Delete declaration. | |
3444 | ||
f621c63e AC |
3445 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3446 | ||
3447 | * sparc-tdep.c (sparc_get_saved_register): Comment why | |
3448 | get_prev_frame call is safe. | |
3449 | ||
0f7d239c AC |
3450 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3451 | ||
3452 | * frame.h (select_frame): Delete level parameter. | |
3453 | * stack.c (select_frame): Update. Use frame_relative_level to | |
3454 | obtain the frame's level. | |
3455 | (select_and_print_frame): Update call. | |
3456 | (select_frame_command): Ditto. | |
3457 | (up_silently_base): Ditto. | |
3458 | (down_silently_base): Ditto. | |
3459 | * ocd.c (ocd_start_remote): Ditto. | |
3460 | * remote-rdp.c (remote_rdp_open): Ditto. | |
3461 | * remote-mips.c (mips_initialize): Ditto. | |
3462 | (common_open): Ditto. | |
3463 | * remote-e7000.c (e7000_start_remote): Ditto. | |
3464 | * m3-nat.c (select_thread): Ditto. | |
3465 | * hppa-tdep.c (child_get_current_exception_event): Ditto. | |
3466 | (child_get_current_exception_event): Ditto. | |
3467 | * varobj.c (varobj_create): Ditto. | |
3468 | (varobj_update): Ditto. | |
3469 | (c_value_of_root): Ditto. | |
3470 | * tracepoint.c (finish_tfind_command): Ditto. | |
3471 | * corelow.c (core_open): Ditto. | |
3472 | * arch-utils.c (generic_prepare_to_proceed): Ditto. | |
3473 | * thread.c (info_threads_command): Ditto. | |
3474 | (switch_to_thread): Ditto. | |
3475 | * infrun.c (normal_stop): Ditto. | |
3476 | (restore_selected_frame): Ditto. | |
3477 | (restore_inferior_status): Ditto. | |
3478 | * breakpoint.c (insert_breakpoints): Ditto. | |
3479 | (watchpoint_check): Ditto. | |
3480 | (bpstat_stop_status): Ditto. | |
3481 | (do_enable_breakpoint): Ditto. | |
3482 | * blockframe.c (flush_cached_frames): Ditto. | |
3483 | (reinit_frame_cache): Ditto. | |
3484 | ||
71d6c7b1 AC |
3485 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3486 | ||
3487 | * MAINTAINERS (Host/Native): Add Jason Thorpe as NetBSD | |
3488 | maintainer. | |
3489 | ||
cda6c68a JB |
3490 | 2002-05-04 Jim Blandy <jimb@redhat.com> |
3491 | ||
3492 | * gdbtypes.c (replace_type): Doc fix. | |
3493 | ||
5c1c87f0 AC |
3494 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3495 | ||
3496 | * valprint.c (strcat_longest): Delete commented out function. | |
3497 | Update copyright. | |
3498 | ||
cd9bfe15 AC |
3499 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3500 | ||
3501 | * MAINTAINERS: Mark a29k as deleted. | |
3502 | * NEWS: Mention that a29k was removed. Add OBSOLETE section. | |
3503 | Move new configurations to the top. | |
3504 | * configure.tgt: Remove a29k. | |
3505 | * config/a29k/tm-vx29k.h: Delete. | |
3506 | * config/a29k/vx29k.mt: Delete. | |
3507 | * config/a29k/tm-a29k.h: Delete. | |
3508 | * config/a29k/a29k-udi.mt: Delete. | |
3509 | * config/a29k/a29k.mt: Delete. | |
3510 | * a29k-tdep.c: Delete. | |
3511 | * remote-udi.c: Delete. | |
3512 | * remote-mm.c: Delete. | |
3513 | * remote-eb.c: Delete. | |
3514 | * remote-adapt.c: Delete. | |
3515 | * Makefile.in: Remove obsolete code. | |
3516 | * gdbserver/Makefile.in: Ditto. | |
3517 | * config/s390/s390x.mt: Ditto. | |
3518 | * config/s390/s390.mt: Ditto. | |
3519 | * config/sparc/sparclynx.mh: Ditto. | |
3520 | * config/sparc/linux.mh: Ditto. | |
3521 | * config/pa/hppaosf.mh: Ditto. | |
3522 | * config/pa/hppabsd.mh: Ditto. | |
3523 | * config/ns32k/nbsd.mt: Ditto. | |
3524 | * config/mips/vr5000.mt: Ditto. | |
3525 | * config/m68k/sun3os4.mh: Ditto. | |
3526 | * config/m68k/nbsd.mt: Ditto. | |
3527 | * config/m68k/m68klynx.mh: Ditto. | |
3528 | * config/m32r/m32r.mt: Ditto. | |
3529 | * config/i386/x86-64linux.mt: Ditto. | |
3530 | * config/i386/nbsdelf.mt: Ditto. | |
3531 | * config/i386/nbsd.mt: Ditto. | |
3532 | * config/i386/i386lynx.mh: Ditto. | |
3533 | ||
bf0c5130 AC |
3534 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
3535 | ||
3536 | * target.c (debug_print_register): New function. Handle oversize | |
3537 | registers. | |
3538 | (debug_to_fetch_registers): Call. | |
3539 | (debug_to_store_registers): Call. | |
3540 | ||
2ae1c2d2 JB |
3541 | 2002-05-03 Jim Blandy <jimb@redhat.com> |
3542 | ||
13a393b0 JB |
3543 | * stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy. |
3544 | (read_type): Doc fix. | |
3545 | * gdbtypes.c (replace_type): Doc fix. | |
3546 | ||
2ae1c2d2 JB |
3547 | * stabsread.c (multiply_defined_struct): New complaint. |
3548 | (read_struct_type): If the type we were passed isn't empty, or | |
3549 | incomplete, don't read the new struct type into it; complain, | |
3550 | and return the original type unchanged. Take a new `type_code' | |
3551 | argument, which is the type code for the new type. | |
3552 | (read_type): Rather than storing the type's type code here, pass | |
3553 | it as an argument to read_struct_type, and let that take care of | |
3554 | storing it. That way, we don't overwrite the original type code, | |
3555 | so read_struct_type can use it to decide whether we're overwriting | |
3556 | something we shouldn't. | |
3557 | (complain_about_struct_wipeout): New function. | |
3558 | ||
8de9bdc4 AC |
3559 | 2002-05-03 Andrew Cagney <ac131313@redhat.com> |
3560 | ||
3561 | * gdbarch.sh: Assert that gdbarch is non-NULL. | |
3562 | * gdbarch.c: Regenerate. | |
3563 | ||
f773fdbb JM |
3564 | 2002-05-03 Jason Merrill <jason@redhat.com> |
3565 | ||
3566 | * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn | |
3567 | and return NULL. | |
3568 | ||
0e04a514 ML |
3569 | 2002-05-03 Michal Ludvig <mludvig@suse.cz> |
3570 | ||
3571 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map), | |
3572 | (x86_64_dwarf2gdb_regno_map_length), | |
3573 | (x86_64_dwarf2_reg_to_regnum): Added. | |
3574 | (x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum. | |
3575 | (x86_64_gdbarch_init): Renamed from i386_gdbarch_init. | |
3576 | (_initialize_x86_64_tdep): Synced with the change above. | |
3577 | (x86_64_skip_prologue): Reformulated message. | |
3578 | ||
065432a8 PM |
3579 | 2002-05-03 Pierre Muller <muller@ics.u-strasbg.fr> |
3580 | ||
3581 | * f-exp.y: Also use new prev_lexptr variable | |
3582 | to improve error reporting. Based on Michael Snyder | |
3583 | 2002-04-24 dated patch to c-exp.y. | |
3584 | * jv-exp.y: Likewise. | |
3585 | * m2-exp.y: Likewise. | |
3586 | ||
a3162708 EZ |
3587 | 2002-05-02 Elena Zannoni <ezannoni@redhat.com> |
3588 | ||
3589 | * valops.c (value_arg_coerce): Don't coerce arrays to pointers if | |
3590 | we are dealing with vectors. | |
3591 | ||
03620c38 PM |
3592 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
3593 | ||
3594 | * config/m68k/tm-nbsd.h: Obvious fix, | |
3595 | correct machine name. | |
3596 | ||
6604db2e PM |
3597 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
3598 | ||
3599 | * p-typeprint.c (pascal_type_print_base): Add support | |
3600 | for TYPE_CODE_STRING and TYPE_CODE_BITSTRING. | |
3601 | ||
0906b739 PM |
3602 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
3603 | ||
3604 | * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR | |
3605 | for fondamental pascal 'char' type. | |
3606 | ||
e2625b33 PM |
3607 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
3608 | ||
3609 | * p-lang.h (is_pascal_string_type): Declaration changed, | |
3610 | new sixth argument of type char ** added. | |
361d1df0 | 3611 | * p-lang.c (is_pascal_string_type): Implementation |
e2625b33 PM |
3612 | changed. Args length_pos, length_size, string_pos, char_size |
3613 | can now be NULL. New argument arrayname set to the field | |
3614 | name of the char array. Return value set to char array | |
3615 | field index plus one. | |
361d1df0 | 3616 | * p-valprint.c (pascal_val_print): Adapt to new declaration of |
e2625b33 PM |
3617 | is_pascal_string_type function. |
3618 | ||
cf17c188 AC |
3619 | 2002-05-02 Andrew Cagney <cagney@redhat.com> |
3620 | ||
3621 | * gdbarch.sh (gdbarch_update_p): Revert 2002-05-02 Andrew Cagney | |
3622 | <cagney@redhat.com> change. | |
3623 | * gdbarch.c: Regenerate. | |
3624 | ||
52bca491 AC |
3625 | 2002-05-02 Andrew Cagney <cagney@redhat.com> |
3626 | ||
3627 | * gdbarch.sh (gdbarch_update_p): Swap out the old architecture | |
3628 | before probing for a new one. Detect errorenous gdbarch_init | |
3629 | functions. | |
3630 | * gdbarch.c: Regenerate. | |
3631 | ||
d5e72505 AC |
3632 | 2002-05-01 Andrew Cagney <cagney@redhat.com> |
3633 | ||
3634 | * config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h". | |
3635 | * config/mcore/tm-mcore.h: Ditto. Update copyright. | |
3636 | * config/v850/tm-v850.h: Ditto. Update copyright. | |
3637 | ||
af566d9f AC |
3638 | 2002-04-30 Andrew Cagney <ac131313@redhat.com> |
3639 | ||
3640 | * cris-tdep.c (cris_gdbarch_init): Use arches instead of | |
3641 | current_gdbarch. | |
3642 | ||
880d85fa MS |
3643 | 2002-04-30 Michael Snyder <msnyder@redhat.com> |
3644 | ||
94c30b78 MS |
3645 | * arm-tdep.c: Whitespace clean-ups. |
3646 | (arm_skip_prologue): Fix thinko; two lines | |
880d85fa MS |
3647 | should have been removed as part of 4/24 change. |
3648 | ||
6f5987a6 KB |
3649 | 2002-04-30 Kevin Buettner <kevinb@redhat.com> |
3650 | ||
3651 | * rs6000-tdep.c: Added comment describing how fpscr register | |
3652 | numbers were chosen. | |
3653 | ||
1a113c93 MS |
3654 | 2002-04-30 Michael Snyder <msnyder@redhat.com> |
3655 | ||
3656 | * gnu-nat.c (gnu_find_memory_regions): Fix merge botch. | |
3657 | ||
9a6f53fe EZ |
3658 | 2002-04-29 Elena Zannoni <ezannoni@redhat.com> |
3659 | ||
3660 | * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR. | |
3661 | (DNTT_TYPE_VECTOR_LENGTH): Rename from TYPE_VECTOR_LENGTH. | |
3662 | (hpread_symfile_init, hpread_lookup_type): Substitute throughout. | |
3663 | ||
11ed25ac KB |
3664 | 2002-04-29 Kevin Buettner <kevinb@redhat.com> |
3665 | ||
3666 | From Louis Hamilton <hamilton@redhat.com>: | |
3667 | * rs6000-tdep.c (coff/xcoff.h, libxcoff.h): Include. | |
3668 | * xcoffread.c (coff/xcoff.h, libxcoff.h): Likewise. | |
3669 | * rs6000-tdep.c (rs6000_gdbarch_init): Use bfd_xcoff_is_xcoff64(), | |
3670 | not bfd-private xcoff data, to determine wordsize. | |
3671 | * xcoffread.c (read_xcoff_xymtab, read_symbol_lineno): Likewise. | |
3672 | ||
ae232405 AC |
3673 | 2002-04-29 Andrew Cagney <ac131313@redhat.com> |
3674 | ||
3675 | GDB 5.2 released from 5.2 branch. | |
3676 | ||
91fd20f7 ML |
3677 | 2002-04-29 Michal Ludvig <mludvig@suse.cz> |
3678 | ||
3679 | * x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning. | |
3680 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
3681 | (x86_64_register_info_table): Added comments with register numbers. | |
361d1df0 | 3682 | |
2dc5091b EZ |
3683 | 2002-04-29 Elena Zannoni <ezannoni@redhat.com> |
3684 | ||
3685 | * rs6000-tdep.c (rs6000_extract_return_value, | |
3686 | rs6000_store_return_value): Handle returning vectors. | |
3687 | (rs6000_gdbarch_init): Use | |
3688 | ppc_sysv_abi_broken_use_struct_convention for native sysv cases. | |
3689 | * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
3690 | New function. | |
3691 | (ppc_sysv_abi_use_struct_convention): Deal with functions returning | |
3692 | vectors. | |
3693 | (ppc_sysv_abi_push_arguments): Handle vector parameters. | |
3694 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export. | |
361d1df0 | 3695 | |
2b9848d8 PM |
3696 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
3697 | ||
3698 | * hpread.c (hpread_psymtab_to_symtab_1, | |
3699 | hpread_psymtab_to_symtab): Replace fprintf (stderr,...) | |
3700 | with fprintf_unfiltered (gdb_stderr,...). | |
3701 | ||
f8d17dc5 PM |
3702 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
3703 | ||
3704 | * remote-array.c (printf_monitor, write_monitor, | |
361d1df0 | 3705 | array_insert_breakpoint, array_remove_breakpoint ): |
f8d17dc5 PM |
3706 | Replace fprintf (stderr,... |
3707 | with fprintf_unfiltered (gdb_stderr,.... | |
3708 | * remote-es.c: Likewise. | |
3709 | * remote-os9k.c: Likewise. | |
3710 | * remote-st.c: Likewise. | |
3711 | ||
2f2f1ad1 AS |
3712 | 2002-04-28 Andreas Schwab <schwab@suse.de> |
3713 | ||
3714 | * config/s390/s390.mh (NATDEPFILES): Remove solib.o, add | |
3715 | linux-proc.o and gcore.o. | |
3716 | ||
b6779aa2 AC |
3717 | 2002-04-26 Michal Ludvig <mludvig@suse.cz> |
3718 | ||
3719 | * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging | |
3720 | code without frame pointers. | |
3721 | ||
7e57f5f4 AC |
3722 | 2002-04-26 Andrew Cagney <ac131313@redhat.com> |
3723 | ||
3724 | * sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why | |
3725 | ON_STACK is needed. | |
3726 | ||
2ceb85d0 BE |
3727 | 2002-04-26 Ben Elliston <bje@redhat.com> |
3728 | ||
3729 | * target.c (do_xfer_memory): Correct reference to the new option | |
3730 | "trust-readonly-sections". | |
3731 | ||
f5f8a009 EZ |
3732 | 2002-04-26 Elena Zannoni <ezannoni@redhat.com> |
3733 | ||
3734 | * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define. | |
3735 | * gdbtypes.c (recursive_dump_type): Output the vector flag. | |
3736 | * dwarf2read.c (dwarf_attr_name): Handle new attribute for | |
3737 | vectors. | |
3738 | (read_array_type): Record the fact that this array type is really a | |
3739 | vector (i.e. are passed in by value). | |
3740 | ||
5868c862 JT |
3741 | 2002-04-26 Jason Thorpe <thorpej@wasabisystems.com> |
3742 | ||
3743 | * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member. | |
3744 | * alpha-tdep.c (alpha_sigcontext_addr): New function. | |
3745 | (alpha_find_saved_regs): Use alpha_sigcontext_addr. | |
3746 | (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. | |
3747 | * alpha-linux-tdep.c: Include frame.h. | |
3748 | (alpha_linux_sigcontext_addr): New function. | |
3749 | (alpha_linux_init_abi): Set tdep->sigcontext_addr to | |
3750 | alpha_linux_sigcontext_addr. | |
3751 | * alpha-osf1-tdep.c: Include gdbcore.h. | |
3752 | (alpha_osf1_sigcontext_addr): New function. | |
3753 | (alpha_osf1_init_abi): Set tdep->sigcontext_addr to | |
3754 | alpha_osf1_sigcontext_addr. | |
3755 | * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove. | |
3756 | * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove. | |
3757 | ||
bfb01f37 AC |
3758 | 2002-04-26 Andrew Cagney <ac131313@redhat.com> |
3759 | ||
361d1df0 | 3760 | * stack.c (selected_frame_level): |
bfb01f37 AC |
3761 | (select_frame): Do not set selected_frame_level. |
3762 | * frame.h (selected_frame_level): Delete declaration. | |
3763 | ||
15813d3f AC |
3764 | 2002-04-26 Andrew Cagney <ac131313@redhat.com> |
3765 | ||
3766 | * rs6000-tdep.c (rs6000_gdbarch_init): Only set | |
3767 | convert_from_func_ptr-addr when AIX / PowerOpen. | |
3768 | ||
6096c27a AC |
3769 | 2002-04-25 Andrew Cagney <ac131313@redhat.com> |
3770 | ||
3771 | * valops.c (hand_function_call): Call | |
3772 | generic_save_call_dummy_addr. | |
3773 | * frame.h (generic_save_call_dummy_addr): Declare. | |
3774 | * blockframe.c (struct dummy_frame): Add fields call_lo and | |
3775 | call_hi. | |
3776 | (generic_find_dummy_frame): Check for PC in range call_lo to | |
3777 | call_hi instead of entry_point_address. | |
3778 | (generic_pc_in_call_dummy): Search the dummy frames for a PC in | |
3779 | the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK. | |
3780 | (generic_save_call_dummy_addr): New function. | |
3781 | ||
f510d44e DM |
3782 | 2002-04-24 David S. Miller <davem@redhat.com> |
3783 | ||
3784 | * sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates | |
3785 | sparc_skip_prologue. | |
3786 | (sparc_skip_prologue): Kill frameless_p arg, and use line number | |
3787 | information to find prologue when possible. | |
3788 | (sparc_prologue_frameless_p): Call examine_prologue directly. | |
3789 | (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call. | |
3790 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed | |
3791 | second argument. | |
3792 | (SKIP_PROLOGUE): Likewise. | |
3793 | ||
15d72a92 JT |
3794 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
3795 | ||
3796 | * alpha-tdep.c (alpha_skip_prologue_internal): Remove | |
3797 | GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to | |
3798 | indicate that the condition it was testing is always true. | |
3799 | * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove. | |
3800 | * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
3801 | * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
3802 | ||
accc6d1f JT |
3803 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
3804 | ||
3805 | * alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members. | |
3806 | * alpha-linux-tdep.c (alpha_linux_init_abi): Initialize | |
3807 | tdep->jb_pc and tdep->jb_elt_size. | |
3808 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise. | |
3809 | * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise. | |
3810 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
3811 | * alpha-nat.c (get_longjmp_target): Remove. | |
3812 | (JB_ELEMENT_SIZE): Ditto. | |
3813 | (JB_PC): Ditto. | |
3814 | * alpha-tdep.c (alpha_get_longjmp_target): New function. | |
3815 | (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the | |
3816 | OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target | |
3817 | to alpha_get_longjmp_target. | |
3818 | (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size. | |
3819 | * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove. | |
3820 | * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove. | |
3821 | ||
1bfdc549 AC |
3822 | 2002-04-25 Andrew Cagney <ac131313@redhat.com> |
3823 | ||
3824 | * README: Update to GDB 5.2. | |
3825 | ||
1bd316f0 AC |
3826 | 2002-04-25 Andrew Cagney <ac131313@redhat.com> |
3827 | ||
3828 | * gdbarch.sh (LC_ALL): Set to `c'. | |
3829 | ||
2e5ff58c TR |
3830 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
3831 | ||
3832 | * avr-tdep.c: Ran through gdb_indent.sh. | |
3833 | ||
e33ce519 TR |
3834 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
3835 | ||
3836 | * MAINTAINERS: Add myself as AVR maintainer. | |
3837 | * NEWS: Note new target avr. | |
3838 | ||
8818c391 TR |
3839 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
3840 | ||
3841 | * Makefile.in: Add support for AVR target. | |
3842 | * configure.tgt: Add support for AVR target. | |
3843 | * avr-tdep.c: New file | |
3844 | * config/avr/avr.mt: New file. | |
3845 | ||
79509c2d TR |
3846 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
3847 | ||
3848 | * MAINTAINERS: Add myself to write-after-approval. | |
3849 | ||
dac8068e PM |
3850 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
3851 | ||
3852 | * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... | |
3853 | with fprintf_unfiltered (gdb_stderr,.... | |
3854 | ||
25bf3106 PM |
3855 | 2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr> |
3856 | ||
3857 | Fix PR gdb/508. | |
3858 | * symfile.c (add_filename_language): Fix wrong xrealloc size argument. | |
3859 | ||
24467a86 PM |
3860 | 2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr> |
3861 | ||
3862 | * p-exp.y: Also use new prev_lexptr variable | |
3863 | to improve error reporting. Based on Michael Snyder | |
3864 | 2002-04-24 dated patch to c-exp.y. | |
3865 | ||
95b80706 JT |
3866 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
3867 | ||
3868 | * alpha-tdep.c (alpha_breakpoint_from_pc): New function. | |
3869 | (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to | |
3870 | alpha_breakpoint_from_pc. Set gdbarch_function_start_offset | |
3871 | to 0. | |
3872 | * config/alpha/tm-alpha.h: Remove forward decls of struct type | |
3873 | and struct value. | |
3874 | (FUNCTION_START_OFFSET): Remove. | |
3875 | (BREAKPOINT): Ditto. | |
3876 | ||
e90cc612 JT |
3877 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
3878 | ||
3879 | * MAINTAINERS: Reflect that multi-arch is enabled for VAX. | |
3880 | * NEWS: Ditto. | |
3881 | ||
6c72f9f9 JT |
3882 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
3883 | ||
3884 | * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function. | |
3885 | (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to | |
3886 | alpha_linux_pc_in_sigtramp. | |
3887 | * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function. | |
3888 | (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to | |
3889 | alpha_osf1_pc_in_sigtramp. | |
3890 | * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. | |
3891 | * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function. | |
3892 | (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
3893 | alphafbsd_pc_in_sigtramp. | |
3894 | * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function. | |
3895 | (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
3896 | alphanbsd_pc_in_sigtramp. | |
3897 | * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove. | |
3898 | * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove. | |
3899 | ||
5e4f3379 JT |
3900 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
3901 | ||
3902 | * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
3903 | ||
da8ca43d JT |
3904 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
3905 | ||
3906 | * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and | |
3907 | alphanbsd-tdep.c. | |
3908 | (alphanbsd-nat.o): New dependency list. | |
3909 | (alphanbsd-tdep.o): Ditto. | |
3910 | * NEWS: Note new native NetBSD/alpha configuration. | |
3911 | * alphanbsd-nat.c: New file. | |
3912 | * alphanbsd-tdep.c: Ditto. | |
3913 | * configure.host (alpha*-*-netbsd*): New host. | |
3914 | * configure.tgt (alpha*-*-netbsd*): New target. | |
3915 | * config/alpha/nbsd.mh: New file. | |
3916 | * config/alpha/nbsd.mt: Ditto. | |
3917 | * config/alpha/nm-nbsd.h: Ditto. | |
3918 | * config/alpha/tm-nbsd.h: Ditto. | |
3919 | ||
36a6271d JT |
3920 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
3921 | ||
3922 | * Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c. | |
3923 | (alpha-osf1-tdep.o): New dependency list. | |
3924 | * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset | |
3925 | and skip_sigtramp_frame members. | |
3926 | * alpha-linux-tdep.c: Include gdbcore.h. | |
3927 | (alpha_linux_sigtramp_offset): Change return type to LONGEST. | |
3928 | (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset. | |
3929 | * alpha-osf1-tdep.c: New file. | |
3930 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to | |
3931 | alpha-osf1-dep.c. | |
3932 | (alpha_frame_past_sigtramp_frame): New function. | |
3933 | (alpha_dynamic_sigtramp_offset): Ditto. | |
3934 | (alpha_proc_desc_is_dyn_sigtramp): Ditto. | |
3935 | (alpha_set_proc_desc_is_dyn_sigtramp): Ditto. | |
3936 | (ALPHA_PROC_SIGTRAMP_MAGIC): Define. | |
3937 | (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp. | |
3938 | (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp. | |
3939 | (find_proc_desc): Use alpha_dynamic_sigtramp_offset. | |
3940 | (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame. | |
3941 | (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp. | |
3942 | (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp. | |
3943 | (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset | |
3944 | and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code | |
3945 | to find_solib_trampoline_target. | |
3946 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o. | |
3947 | * config/alpha/tm-alpha.h: Remove inclusion of regcache.h. | |
3948 | (SKIP_TRAMPOLINE_CODE): Remove. | |
3949 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
3950 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
3951 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
3952 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
3953 | * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove. | |
3954 | (PROC_SIGTRAMP_MAGIC): Ditto. | |
3955 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
3956 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
3957 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
3958 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
3959 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
3960 | ||
2f4bc57b JT |
3961 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
3962 | ||
3963 | * NEWS: Note that Alpha targets are now multi-arch. | |
3964 | ||
665132f9 MS |
3965 | 2002-04-24 Michael Snyder <msnyder@redhat.com> |
3966 | ||
3967 | * parser-defs.h (prev_lexptr): New external variable. | |
3968 | * parse.c (parse_exp_1): Set prev_lexptr to null before | |
3969 | calling the language-specific parser. | |
3970 | * c-exp.y (yylex): Set prev_lexptr to start of current token. | |
3971 | (yyerror): Use prev_lexptr in error reporting. | |
3972 | ||
32872fa7 DJ |
3973 | 2002-04-24 Daniel Jacobowitz <drow@mvista.com> |
3974 | ||
3975 | * config/i386/tm-linux.h: Define FILL_FPXREGSET. | |
3976 | * gregset.h: If FILL_FPXREGSET is defined, provide | |
3977 | gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. | |
3978 | * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET | |
3979 | is defined, call fill_fpxregset. | |
3980 | ||
57e76fac MS |
3981 | 2002-04-24 Roland McGrath <roland@frob.com> |
3982 | ||
3983 | * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here. | |
3984 | * i386gnu-nat.c [HAVE_SYS_PROCFS_H] | |
3985 | (supply_gregset, supply_fpregset): New functions. | |
3986 | ||
3987 | * gnu-nat.c (gnu_find_memory_regions): New function. | |
3988 | (init_gnu_ops): Set `to_find_memory_regions' hook to that. | |
3989 | (gnu_xfer_memory): Add a cast. | |
3990 | ||
f43845b3 MS |
3991 | 2002-04-24 Michael Snyder <msnyder@redhat.com> |
3992 | ||
361d1df0 | 3993 | * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the |
f43845b3 MS |
3994 | loop. Add handling for "str lr, [sp, #-4]!" and for saves |
3995 | of argument regs ("str r(0123), [r11, #-nn"]). | |
361d1df0 | 3996 | (arm_skip_prologue): Better handling for frameless functions. |
f43845b3 MS |
3997 | Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]". |
3998 | (arm_skip_prologue): Recognize str r(0123), [r11, #-nn]. | |
3999 | ||
a0abec03 AC |
4000 | Wed Apr 24 14:22:21 2002 Andrew Cagney <cagney@redhat.com> |
4001 | ||
4002 | * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor | |
4003 | NUM_PSEUDO_REGS can be used. | |
4004 | ||
d7bd68ca AC |
4005 | 2002-04-24 Andrew Cagney <ac131313@redhat.com> |
4006 | ||
4007 | * arch-utils.h: Update copyright. | |
4008 | ||
4009 | * gdbarch.sh (PC_IN_SIGTRAMP): Add. | |
4010 | * gdbarch.h, gdbarch.c: Re-generate. | |
4011 | ||
4012 | * inferior.h (IN_SIGTRAMP): Delete definition. | |
4013 | * arch-utils.c (legacy_pc_in_sigtramp): New function. | |
4014 | * arch-utils.h (legacy_pc_in_sigtramp): Declare. | |
4015 | ||
4016 | * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP. | |
4017 | (mips_dump_tdep): Do not print value of IN_SIGTRAMP. | |
4018 | * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP. | |
4019 | (find_proc_framesize): Ditto. | |
4020 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto. | |
4021 | (alpha_init_extra_frame_info): Ditto. | |
4022 | * infrun.c (handle_inferior_event): Ditto. | |
4023 | (handle_inferior_event): Ditto. | |
4024 | (check_sigtramp2): Ditto. | |
4025 | * blockframe.c (create_new_frame): Ditto. | |
4026 | (get_prev_frame): Ditto. | |
4027 | * ppc-linux-tdep.c: Update comments. | |
4028 | * i386-linux-tdep.c: Update comments. | |
4029 | * breakpoint.c (bpstat_what): Update comment. | |
4030 | ||
d06f167a ML |
4031 | 2002-04-24 Michal Ludvig <mludvig@suse.cz> |
4032 | ||
4033 | * gdbserver/linux-low.c (regsets_fetch_inferior_registers), | |
361d1df0 | 4034 | (regsets_store_inferior_registers): Removed cast to int from |
d06f167a ML |
4035 | ptrace() calls. |
4036 | * gdbserver/regcache.h: Added declaration of struct inferior_info. | |
4037 | ||
4867e41e DM |
4038 | 2002-04-24 David S. Miller <davem@redhat.com> |
4039 | ||
21d83aa5 DM |
4040 | * i960-tdep.c (register_in_window_p): New function. |
4041 | (i960_find_saved_register): Use it instead of | |
4042 | REGISTER_IN_WINDOW_P. | |
4043 | * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete. | |
4044 | ||
4867e41e DM |
4045 | * symtab.h (find_stab_function_addr): Kill extern. |
4046 | * minsyms.c (find_stab_function_addr): Remove from here... | |
4047 | * dbxread.c: ... to here, and mark it static. | |
4048 | ||
69cdf6a2 DM |
4049 | 2002-04-20 David S. Miller <davem@redhat.com> |
4050 | ||
4051 | * sparc-tdep.c (sparc_pop_frame): Only need to allocate | |
4052 | SPARC_INTREG_SIZE * 16 bytes for reg_temp. | |
4053 | ||
5a595886 DM |
4054 | 2002-04-21 David S. Miller <davem@redhat.com> |
4055 | ||
4056 | * remote-vxsparc.c (vx_read_register): Fix typo, we want | |
4057 | REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR. | |
4058 | (vx_write_register): Likewise. | |
4059 | ||
1da1a192 JB |
4060 | 2002-04-23 J. Brobecker <brobecker@gnat.com> |
4061 | ||
4062 | * source.c (is_regular_file): New function. | |
4063 | (openp): Check wether file to open is a regular file | |
4064 | to avoid opening directories. | |
4065 | ||
baa6f10b JT |
4066 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
4067 | ||
4068 | * findvar.c (extract_signed_integer): Cast printf argument | |
4069 | to suppress format warning. | |
4070 | (extract_unsigned_integer): Likewise. | |
4071 | * infcmd.c (registers_info): Likewise. | |
4072 | * top.c (get_prompt_1): Likewise. | |
4073 | * valops.c (value_assign): Likewise. | |
4074 | * valprint.c (print_decimal): Likewise. | |
4075 | ||
b2c4da81 L |
4076 | 2002-04-22 H.J. Lu (hjl@gnu.org) |
4077 | ||
4078 | * c-exp.y (typebase): Support | |
361d1df0 | 4079 | |
b2c4da81 L |
4080 | [long|long long|short] [signed|unsigned] [int|] |
4081 | ||
4082 | and | |
4083 | ||
4084 | signed [long|long long|short] int | |
4085 | ||
f267bd6a JT |
4086 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
4087 | ||
4088 | * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h), | |
4089 | and vax-tdep.h. | |
4090 | * vax-tdep.h: New file. | |
4091 | * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h. | |
4092 | Make several routines static. | |
4093 | (vax_get_saved_register): New function. | |
4094 | (vax_gdbarch_init): New function. | |
4095 | (_initialize_vax_tdep): Register vax_gdbarch_init. | |
4096 | * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL. | |
4097 | Remove macros now under the control of gdbarch. | |
4098 | ||
da3c6d4a MS |
4099 | 2002-04-22 Michael Snyder <msnyder@redhat.com> |
4100 | ||
11d3b27d MS |
4101 | * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn". |
4102 | Some whitespace and coding standards tweaks. | |
da3c6d4a | 4103 | |
a33f7558 JT |
4104 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
4105 | ||
4106 | * vax-tdep.c: Include regcache.h. | |
4107 | (vax_call_dummy_words): New. | |
4108 | (sizeof_vax_call_dummy_words): New. | |
4109 | (vax_fix_call_dummy): New function. | |
4110 | (vax_saved_pc_after_call): Ditto. | |
4111 | * config/vax/tm-vax.h: Don't include regcache.h. | |
4112 | (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call. | |
4113 | (CALL_DUMMY): Remove. | |
4114 | (CALL_DUMMY_WORDS): Define. | |
4115 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
4116 | (FIX_CALL_DUMMY): Use vax_fix_call_dummy. | |
4117 | ||
47a73475 MS |
4118 | 2002-04-18 Michael Snyder <msnyder@redhat.com> |
4119 | ||
4120 | * arm-tdep.h: Change regnum defines to enums for ease of debugging. | |
4121 | ||
52efde73 JT |
4122 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
4123 | ||
4124 | * vax-tdep.c (vax_frame_chain): New function. | |
4125 | (vax_push_dummy_frame): Ditto. | |
4126 | (vax_pop_frame): Ditto. | |
4127 | * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain. | |
4128 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
4129 | generic_frameless_function_invocation_not. | |
4130 | (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame. | |
4131 | (POP_FRAME): Use vax_pop_frame. | |
4132 | ||
ea74468c JT |
4133 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
4134 | ||
4135 | * vax-tdep.c (vax_store_struct_return): New function. | |
4136 | (vax_extract_return_value): Ditto. | |
4137 | (vax_store_return_value): Ditto. | |
4138 | (vax_extract_struct_value_address): Ditto. | |
4139 | * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use | |
4140 | vax_store_struct_return. | |
4141 | (EXTRACT_RETURN_VALUE): Use vax_extract_return_value. | |
4142 | (STORE_RETURN_VALUE): Use vax_store_return_value. | |
4143 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address. | |
4144 | ||
5516aa92 JT |
4145 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
4146 | ||
4147 | * vax-tdep.c (vax_frame_saved_pc): New function. | |
4148 | (vax_frame_args_address_correct): Ditto. | |
4149 | (vax_frame_args_address): Ditto. | |
4150 | (vax_frame_locals_address): Ditto. | |
4151 | (vax_frame_num_args): Move code to be in proximity to | |
4152 | other frame-related functions. | |
4153 | * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan. | |
4154 | (FRAME_SAVED_PC): Use vax_frame_saved_pc. | |
4155 | (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct. | |
4156 | (FRAME_ARGS_ADDRESS): Use vax_frame_args_address. | |
4157 | (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address. | |
4158 | ||
36af0b35 L |
4159 | 2002-04-22 H.J. Lu (hjl@gnu.org) |
4160 | ||
4161 | * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and | |
4162 | includedir. | |
4163 | ||
ab62c900 JT |
4164 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
4165 | ||
4166 | * vax-tdep.c (vax_frame_init_saved_regs): New function. | |
4167 | * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove. | |
4168 | (FRAME_INIT_SAVED_REGS): New macro. | |
4169 | ||
7232b100 JT |
4170 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
4171 | ||
4172 | * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd. | |
4173 | ||
b70d2aee JT |
4174 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
4175 | ||
4176 | * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants | |
4177 | where needed. | |
4178 | (fetch_osf_core_registers): Likewise. | |
4179 | (supply_gregset): Likewise. | |
4180 | ||
a0e8a2d1 | 4181 | 2002-04-22 J. Brobecker <brobecker@gnat.com> |
361d1df0 | 4182 | |
a0e8a2d1 JB |
4183 | * symfile.h (get_section_index): Define. |
4184 | * symfile.c (get_section_index): New function. | |
4185 | * mdebugread.c (SC_IS_SBSS): New macro. | |
4186 | (SC_IS_BSS): Return true for the scBss storage class only, as | |
4187 | the scSBss storage class refers to the .sbss section. | |
4188 | (parse_partial_symbols): Discard the symbols which associated | |
4189 | section does not exist. | |
4190 | Make sure to use the .sbss section index for symbols which | |
4191 | storage class is scBss, rather than using the .bss section index. | |
4192 | ||
51eb8b08 JT |
4193 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
4194 | ||
4195 | * vax-tdep.c: Update copyright years. | |
4196 | (vax_register_name): New function. | |
4197 | (vax_register_byte): Ditto. | |
4198 | (vax_register_raw_size): Ditto. | |
4199 | (vax_register_virtual_size): Ditto. | |
4200 | (vax_register_virtual_type): Ditto. | |
4201 | * config/vax/tm-vax.h: Update copyright years. | |
4202 | (REGISTER_NAMES): Remove. | |
4203 | (REGISTER_NAME): Define. | |
4204 | (REGISTER_BYTE): Use vax_register_byte. | |
4205 | (REGISTER_RAW_SIZE): Use vax_register_raw_size. | |
4206 | (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size. | |
4207 | (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type. | |
4208 | ||
6cc1c0a8 AC |
4209 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
4210 | ||
4211 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore | |
4212 | declaration | |
4213 | * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error. | |
4214 | ||
9319a2fe DM |
4215 | 2002-04-21 David S. Miller <davem@redhat.com> |
4216 | ||
4217 | * arch-utils.c (generic_prologue_frameless_p): Kill | |
4218 | SKIP_PROLOGUE_FRAMELESS_P code. | |
4219 | * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
4220 | references. | |
4221 | (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New. | |
4222 | * arc-tdep.c (arc_prologue_frameless_p): Implement. | |
4223 | * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
4224 | references. | |
4225 | (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New. | |
4226 | * sparc-tdep.c (sparc_prologue_frameless_p): Implement. | |
4227 | (sparc_gdbarch_init): Pass it to | |
4228 | set_gdbarch_prologue_frameless_p. | |
a0e8a2d1 | 4229 | |
e9ed6d01 JT |
4230 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4231 | ||
4232 | * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c. | |
4233 | (alphabsd-nat.o): New dependency list. | |
4234 | ||
36012033 JT |
4235 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4236 | ||
4237 | * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and | |
4238 | alphafbsd-tdep.c. | |
4239 | (alpha-linux-tdep.o): New dependency list. | |
4240 | (alphafbsd-tdep.o): Likewise. | |
4241 | ||
3379287a JT |
4242 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4243 | ||
4244 | * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset | |
4245 | to here... | |
4246 | * alpha-tdep.c: ...from here. | |
4247 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o. | |
4248 | ||
4bcbd6cb JT |
4249 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4250 | ||
4251 | * config/alpha/tm-alpha.h: Move alpha_software_single_step | |
4252 | prototype from here... | |
4253 | * alpha-tdep.h: ...to here. | |
4254 | ||
b31da25e AC |
4255 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
4256 | ||
4257 | * frame.h (selected_frame_level): Document as deprecated. | |
4258 | (frame_relative_level): Declare. | |
4259 | * stack.c (frame_relative_level): New function. | |
4260 | (selected_frame_level): Document as deprecated. | |
4261 | (select_frame): Do not set the selected_frame_level. | |
4262 | ||
4263 | * stack.c (frame_info, record_selected_frame): Update. | |
4264 | (frame_command, current_frame_command): Update. | |
4265 | (up_silently_base, up_command, down_silently_base): Update. | |
4266 | (down_command): Update. | |
4267 | * inflow.c (kill_command): Update. | |
4268 | * tracepoint.c (finish_tfind_command): Update. | |
4269 | * corelow.c (core_open): Update. | |
4270 | * thread.c (info_threads_command): Update. | |
4271 | (do_captured_thread_select): Update. | |
4272 | * infcmd.c (finish_command): Update. | |
4273 | * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update. | |
4274 | ||
9c1d6fe5 JT |
4275 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4276 | ||
4277 | * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove. | |
4278 | ||
ab89facf AC |
4279 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
4280 | ||
4281 | * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return | |
4282 | type const. | |
4283 | ||
82a4efa1 JT |
4284 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4285 | ||
4286 | * alphafbsd-tdep.c: Update copyright years. Include | |
4287 | alpha-tdep.h. | |
4288 | (alphafbsd_use_struct_convention): Make static. | |
4289 | (alphafbsd_init_abi): New function. | |
4290 | (_initialize_alphafbsd_tdep): New function. | |
4291 | * config/alpha/tm-fbsd.h: Update copyright years. | |
4292 | (USE_STRUCT_CONVENTION): Remove. | |
4293 | ||
44dffaac JT |
4294 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4295 | ||
4296 | * alpha-tdep.c (alpha_abi_handler): New structure to describe | |
4297 | an Alpha ABI variant. | |
4298 | (alpha_abi_handler_list): Declare. | |
4299 | (alpha_gdbarch_register_os_abi): New function. | |
4300 | (alpha_gdbarch_init): Give registered ABI variant handlers a | |
4301 | chance to tweak the gdbarch once we have set up defaults. | |
4302 | * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi. | |
4303 | ||
65585be4 JT |
4304 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4305 | ||
4306 | * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double | |
4307 | to standard_coerce_float_to_double. | |
4308 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
4309 | ||
d9b023cc JT |
4310 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4311 | ||
4312 | * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member. | |
4313 | * alpha-tdep.c (heuristic_proc_start): Use vm_min_address | |
4314 | from gdbarch_tdep rather than a constant. | |
4315 | (alpha_gdbarch_init): Initialize tdep->vm_min_address to | |
4316 | the default text address for all Alpha Unix ABIs. | |
4317 | (alpha_dump_tdep): Report the value of tdep->vm_min_address. | |
4318 | * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete. | |
4319 | ||
dc129d82 JT |
4320 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
4321 | ||
4322 | * alpha-tdep.h: New file. Includes several Alpha target constants | |
4323 | taken from... | |
4324 | * config/alpha/tm-alpha.h: ...here. Remove macros that we now | |
4325 | let gdbarch deal with. | |
4326 | (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. | |
4327 | * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd | |
4328 | to dependency list. | |
4329 | * alpha-nat.c: Include alpha-tdep.h. Update for adjusted | |
4330 | Alpha target register names. | |
4331 | * alphabsd-nat.c: Likewise. | |
4332 | * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted | |
4333 | Alpha target register names. Make serveral routines static. | |
4334 | (alpha_get_saved_register): New function. | |
4335 | (alpha_abi_names): New. | |
4336 | (process_note_abi_tag_sections): New function. | |
4337 | (get_elfosabi): New function. | |
4338 | (alpha_gdbarch_init): New function. | |
4339 | (alpha_dump_tdep): New function. | |
4340 | (_initialize_alpha_tdep): Register alpha_gdbarch_init. | |
4341 | ||
d49d1e0a AC |
4342 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
4343 | ||
4344 | * frame.c (find_saved_register): Delete #ifdef | |
4345 | HAVE_REGISTER_WINDOWS code. | |
4346 | * config/sparc/tm-sparc.h: Update comments. | |
4347 | * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro. | |
4348 | ||
92e8c9ed AC |
4349 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
4350 | ||
4351 | * i960-tdep.c (i960_find_saved_register): New function. | |
4352 | (i960_get_saved_register): New function. | |
4353 | * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define. | |
4354 | (i960_get_saved_register): Declare. | |
4355 | * config/i960/tm-i960.h, i960-tdep.c: Update copyright. | |
4356 | ||
e1925118 DM |
4357 | 2002-04-20 David S. Miller <davem@redhat.com> |
4358 | ||
4359 | * sparc-nat.c (store-inferior_registers): Fix ambiguous else. | |
4360 | ||
29673b29 AC |
4361 | 2002-04-20 Andrew Cagney <ac131313@redhat.com> |
4362 | ||
4363 | * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs | |
4364 | instead of NUM_PSEUDO_REGS. | |
4365 | ||
6c86dcd5 DM |
4366 | 2002-04-20 David S. Miller <davem@redhat.com> |
4367 | ||
4368 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to | |
4369 | GDB_MULTI_ARCH_PARTIAL | |
4370 | * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not | |
4371 | define, let tm-sp64.h do it. | |
4372 | ||
aa40ec90 JT |
4373 | 2002-04-20 Jason Thorpe <thorpej@wasabisystems.com> |
4374 | ||
4375 | * frame.c (find_saved_register): Avoid a NULL pointer | |
4376 | dereference and actually walk the frame list. | |
4377 | ||
0f79675b AC |
4378 | 2002-04-20 Andrew Cagney <ac131313@redhat.com> |
4379 | ||
4380 | * gdbarch.sh (gdbarch_update_p): Keep the list of architectures | |
4381 | sorted in most most-recent-used order. Document. | |
4382 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 4383 | |
c04a1aa8 DJ |
4384 | 2002-04-20 Daniel Jacobowitz <drow@mvista.com> |
4385 | ||
4386 | * gdbserver/inferiors.c (struct inferior_info): Add regcache_data. | |
4387 | (add_inferior): Call create_register_cache. | |
4388 | (clear_inferiors): Call free_register_cache. | |
4389 | (inferior_regcache_data, set_inferior_regcache_data): New functions. | |
4390 | * gdbserver/regcache.c (struct inferior_regcache_data): New. | |
4391 | (registers): Remove. | |
4392 | (get_regcache): New function. | |
4393 | (create_register_cache, free_register_cache): New functions. | |
4394 | (set_register_cache): Don't initialize the register cache here. | |
4395 | (registers_to_string, registers_from_string, register_data): Call | |
4396 | get_regcache. | |
4397 | * gdbserver/regcache.h: Add prototypes. | |
4398 | * gdbserver/server.h: Likewise. | |
4399 | ||
611cb4a5 DJ |
4400 | 2002-04-20 Daniel Jacobowitz <drow@mvista.com> |
4401 | ||
4402 | * gdbserver/mem-break.c: New file. | |
4403 | * gdbserver/mem-break.h: New file. | |
4404 | * gdbserver/Makefile.in: Add mem-break.o rule; update server.h | |
4405 | dependencies. | |
4406 | * gdbserver/inferiors.c (struct inferior_info): Add target_data | |
4407 | member. | |
4408 | (clear_inferiors): Free target_data member if set. | |
4409 | (inferior_target_data, set_inferior_target_data): New functions. | |
4410 | * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) | |
4411 | (i386_stop_pc, i386_set_pc): New. Add to the_low_target. | |
4412 | * gdbserver/linux-low.c (linux_bp_reinsert): New variable. | |
4413 | (struct inferior_linux_data): New. | |
4414 | (linux_create_inferior): Use set_inferior_target_data. | |
4415 | (linux_attach): Likewise. Call add_inferior. | |
4416 | (linux_wait_for_one_inferior): New function. | |
4417 | (linux_wait): Call it. | |
4418 | (linux_write_memory): Add const. | |
4419 | (initialize_low): Call set_breakpoint_data. | |
4420 | * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint | |
4421 | handling members. | |
4422 | * gdbserver/server.c (attach_inferior): Remove extra add_inferior | |
4423 | call. | |
4424 | * gdbserver/server.h: Include mem-break.h. Update inferior.c | |
4425 | prototypes. | |
4426 | * gdbserver/target.c (read_inferior_memory) | |
4427 | (write_inferior_memory): New functions. | |
4428 | * gdbserver/target.h (read_inferior_memory) | |
4429 | (write_inferior_memory): Change macros to prototypes. | |
4430 | (struct target_ops): Update comments. Add const to write_memory | |
4431 | definition. | |
4432 | ||
f91305dd | 4433 | 2002-04-19 Andrew Cagney <ac131313@redhat.com> |
bf75c8c1 AC |
4434 | |
4435 | * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame | |
4436 | instead of ->prev. | |
4437 | * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. | |
4438 | * s390-tdep.c (s390_frame_chain): Do not use ->prev. | |
4439 | * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() | |
4440 | instead of ->prev. | |
4441 | ||
73d322b1 EZ |
4442 | 2002-04-19 Elena Zannoni <ezannoni@redhat.com> |
4443 | ||
4444 | Fix PR gdb/471. | |
4445 | * gdbtypes.c (init_simd_type): Rewrite using new functions. | |
4446 | (build_builtin_type_vec128): Ditto. | |
4447 | (append_composite_type_field): Fix calculation of type length in | |
4448 | union case. | |
4449 | ||
ccd9a834 EZ |
4450 | 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> |
4451 | ||
4452 | * config/djgpp/README: Update. | |
4453 | ||
4454 | * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a | |
4455 | compiler warnings. | |
4456 | ||
a57f9e49 JT |
4457 | 2002-04-19 Jason Thorpe <thorpej@wasabisystems.com> |
4458 | ||
4459 | * alpha-tdep.c (setup_arbitrary_frame): Rename... | |
4460 | (alpha_setup_arbitrary_frame): ...to this. | |
4461 | * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update | |
4462 | for alpha_setup_arbitrary_frame. | |
4463 | ||
f4f9705a AC |
4464 | 2002-04-18 Andrew Cagney <cagney@redhat.com> |
4465 | ||
4466 | * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer. | |
4467 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 4468 | |
f4f9705a AC |
4469 | * defs.h (breakpoint_from_pc_fn): Delete type definition. |
4470 | * target.h (memory_breakpoint_from_pc): Update declaration. | |
4471 | * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto. | |
4472 | ||
4473 | * arch-utils.c (legacy_breakpoint_from_pc): Update return type. | |
4474 | * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto. | |
4475 | * mem-break.c (memory_breakpoint_from_pc): Ditto. | |
4476 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto. | |
4477 | * s390-tdep.c (s390_breakpoint_from_pc): Ditto | |
4478 | * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto. | |
4479 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto. | |
4480 | * mips-tdep.c (mips_breakpoint_from_pc): Ditto. | |
4481 | * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto. | |
4482 | * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto. | |
4483 | * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto. | |
4484 | * arch-utils.c (legacy_breakpoint_from_pc): Ditto.. | |
4485 | ||
4486 | * mem-break.c (default_memory_insert_breakpoint): Make `bp' a | |
4487 | const pointer. | |
4488 | * monitor.c (monitor_insert_breakpoint): Ditto. | |
4489 | * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'. | |
4490 | ||
4491 | * config/mcore/tm-mcore.h: Update copyright. | |
4492 | * mem-break.c: Ditto. | |
4493 | * xstormy16-tdep.c: Ditto. | |
4494 | ||
29f319b8 PM |
4495 | 2002-04-18 Pierre Muller <muller@ics.u-strasbg.fr> |
4496 | ||
4497 | * p-exp.y: Add precedence rule for '^' token. | |
4498 | This removes the shift/reduce conflicts. | |
4499 | Remove the comment concerning these shift/reduce conflicts. | |
4500 | ||
ebeac11a EZ |
4501 | 2002-04-18 Elena Zannoni <ezannoni@redhat.com> |
4502 | ||
4503 | * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro. | |
4504 | (registers_powerpc_nofp): New register set for processors | |
4505 | without floating point unit. | |
4506 | ||
27c31547 DM |
4507 | 2002-04-18 David S. Miller <davem@redhat.com> |
4508 | ||
4509 | * MAINTAINERS: Add myself to write-after-approval. | |
4510 | ||
47a73475 MS |
4511 | 2002-04-17 Michael Snyder <msnyder@redhat.com> |
4512 | ||
4513 | * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm. | |
4514 | ||
953836b2 AC |
4515 | 2002-04-17 Andrew Cagney <ac131313@redhat.com> |
4516 | ||
4517 | * rs6000-tdep.c (frame_initial_stack_address): Use | |
4518 | frame_register_read to read the alloca_reg. | |
4519 | ||
8b0d4340 AC |
4520 | 2002-04-17 Andrew Cagney <ac131313@redhat.com> |
4521 | ||
4522 | * frame.c (find_saved_register): Find saved registers in the next | |
4523 | not prev frame. | |
4524 | Fix PR gdb/365. | |
4525 | ||
d8864532 AC |
4526 | 2002-04-17 Andrew Cagney <ac131313@redhat.com> |
4527 | ||
4528 | * gdbarch.sh (LANG): Set to ``c''. | |
4529 | ||
36cc83a3 | 4530 | 2002-04-15 Andrew Cagney <ac131313@redhat.com> |
361d1df0 | 4531 | |
36cc83a3 | 4532 | * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems. |
361d1df0 | 4533 | |
2f4150cc | 4534 | 2002-04-15 Andrew Cagney <ac131313@redhat.com> |
2c7ef074 AC |
4535 | |
4536 | * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h". | |
4537 | Update copyright. | |
4538 | ||
628703c6 | 4539 | * hpread.c (hpread_get_lntt): Add declaration. |
2f4150cc | 4540 | Also fix PR gdb/391. |
361d1df0 | 4541 | |
56157b4a AC |
4542 | 2002-04-14 Andrew Cagney <ac131313@redhat.com> |
4543 | ||
4544 | * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6. | |
4545 | * aclocal.m4, configure: Re-generate. | |
4546 | Fix PR gdb/391. | |
361d1df0 | 4547 | |
6d1e3329 EZ |
4548 | 2002-04-14 Elena Zannoni <ezannoni@redhat.com> |
4549 | ||
4550 | * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN | |
4551 | instead of tm_print_insn. | |
4552 | ||
cb06fa07 EZ |
4553 | 2002-04-14 Elena Zannoni <ezannoni@redhat.com> |
4554 | ||
4555 | * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo. | |
4556 | ||
f208ba17 AC |
4557 | 2002-04-14 Andrew Cagney <ac131313@redhat.com> |
4558 | ||
4559 | * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro. | |
4560 | * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro. | |
4561 | (get_prev_frame): Do not call FRAME_CHAIN_COMBINE. | |
4562 | ||
20f01a46 DH |
4563 | 2002-04-12 Don Howard <dhoward@redhat.com> |
4564 | ||
4565 | * cli/cli-cmds.c (init_cli_cmds): Add new user settable value: | |
4566 | max_user_call_depth. | |
4567 | (init_cmd_lists): Initialize the new value; | |
4568 | * cli/cli-script.c (execute_user_command): Limit the call depth of | |
4569 | user defined commands. This avoids a core-dump when user commands | |
4570 | are infinitly recursive. | |
4571 | ||
a88376a3 KB |
4572 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
4573 | ||
4574 | * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''. | |
4575 | * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset'' | |
4576 | from tdep struct instead of DEFAULT_LR_SAVE. | |
4577 | (rs6000_gdbarch_init): Initialize ``lr_frame_offset''. | |
4578 | * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete. | |
4579 | * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete. | |
4580 | ||
f2172603 MS |
4581 | 2002-04-12 Michael Snyder <msnyder@redhat.com> |
4582 | ||
694f61fb | 4583 | * Remote.c: Spelling fix. |
20fe79c8 MS |
4584 | * gcore.c (default_derive_heap_segment): Use bfd_section_name. |
4585 | If no symbol found for "sbrk", try "_sbrk". | |
4586 | (make_output_phdrs): Use bfd_section_name. | |
4587 | (gcore_copy_callback): Use bfd_section_name. | |
62995fc4 | 4588 | * eval.c: Indentation fix-ups. |
169a7369 MS |
4589 | * d10v-tdep.c (d10v_make_iaddr): Make it idempotent, |
4590 | in case it gets applied to an address that is already | |
4591 | in the instruction space. | |
de74f71f MS |
4592 | * cli/cli-decode.c (help_list): Allow long lines to wrap. |
4593 | * symfile.c: Fix indentation, long lines. | |
f2172603 MS |
4594 | * source.c: White space fix-up. |
4595 | ||
cda5a58a AC |
4596 | 2002-04-12 Andrew Cagney <cagney@redhat.com> |
4597 | ||
4598 | * defs.h (read_relative_register_raw_bytes): Delete declaration. | |
4599 | * frame.c (frame_register_read): New function. Return non-zero on | |
4600 | success. | |
4601 | (read_relative_register_raw_bytes_for_frame): Delete. | |
4602 | (read_relative_register_raw_bytes): Delete. | |
4603 | * frame.h (frame_register_read): Declare. | |
4604 | * d30v-tdep.c: Update Copyright. Use frame_register_read. | |
4605 | * sh-tdep.c: Ditto. | |
4606 | * infcmd.c (do_registers_info): Ditto. | |
4607 | * hppa-tdep.c: Ditto. | |
4608 | * rs6000-tdep.c: Ditto. | |
4609 | * h8500-tdep.c: Ditto. | |
4610 | * mips-tdep.c: Ditto. | |
4611 | * h8300-tdep.c: Ditto. | |
4612 | * z8k-tdep.c: Ditto. | |
4613 | ||
2ea5f656 KB |
4614 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
4615 | ||
4616 | From Jimi X <jimix@watson.ibm.com>: | |
4617 | * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for | |
4618 | 64-bit SysV ABI. | |
4619 | ||
27b15785 KB |
4620 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
4621 | ||
4622 | From Jimi X <jimix@watson.ibm.com>: | |
4623 | * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from | |
4624 | bfd info. | |
4625 | ||
5d57ee30 KB |
4626 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
4627 | ||
4628 | From Jimi X <jimix@watson.ibm.com>: | |
4629 | * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define | |
4630 | register sets for these processor variants. | |
4631 | ||
bc1e36ca DJ |
4632 | 2002-04-11 Daniel Jacobowitz <drow@mvista.com> |
4633 | ||
4634 | * gdbserver/linux-low.c (usr_store_inferior_registers): Support | |
4635 | registers which are allowed to fail to store. | |
4636 | * gdbserver/linux-low.h (linux_target_ops): Likewise. | |
4637 | * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR. | |
4638 | (ppc_cannot_store_register): FPSCR may not be storable. | |
4639 | * regformats/reg-ppc.dat: Support FPSCR. | |
4640 | ||
e3f36dbd KB |
4641 | 2002-04-11 Kevin Buettner <kevinb@redhat.com> |
4642 | ||
4643 | * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''. | |
4644 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): | |
4645 | Add fpscr as an invalid/unfetchable register. | |
4646 | * ppc-linux-nat.c (ppc_register_u_addr, store_register) | |
4647 | (fetch_ppc_registers, store_ppc_registers, supply_fpregset) | |
4648 | (fill_fpregset): Add support for register fpscr. | |
4649 | (fetch_ppc_registers, store_ppc_registers, supply_gregset) | |
4650 | (fill_gregset): Account for the fact that register ``mq'' might | |
4651 | not exist. | |
4652 | * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr. | |
4653 | (registers_power): Add fpscr to register set at slot 71. | |
4654 | (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't | |
4655 | exist on most PPC architectures. Initialize ppc_fpscr_regnum. | |
4656 | ||
943c9c25 MS |
4657 | 2002-04-11 Michael Snyder <msnyder@redhat.com> |
4658 | ||
4659 | * configure.in: Autoconfiscate _SYSCALL32 define for solaris. | |
4660 | * configure: Regenerate. | |
4661 | * config.in: Regenerate. | |
4662 | * acconfig.h: Add define for _SYSCALL32. | |
4663 | * core-sol2.c: Remove #define _SYSCALL32. | |
4664 | * solib-legacy.c: Remove #define _SYSCALL32. | |
4665 | ||
d8c0a2e7 AC |
4666 | 2002-04-10 Andrew Cagney <ac131313@redhat.com> |
4667 | ||
4668 | * stack.c (select_frame): Cleanup internal error message, do not | |
4669 | use %p. | |
4670 | ||
7cc19214 AC |
4671 | 2002-04-10 Andrew Cagney <ac131313@redhat.com> |
4672 | ||
4673 | * stack.c (select_frame): Check that selected_frame and the | |
4674 | specified level are as expected. | |
4675 | * blockframe.c (get_prev_frame): Set the `level' from next_frame. | |
4676 | Update copyright. | |
4677 | * frame.h (struct frame_info): Add field `level'. Update | |
4678 | copyright. | |
4679 | Work-in-progress PR gdb/464. | |
4680 | ||
67a2b77e AC |
4681 | 2002-04-10 Andrew Cagney <ac131313@redhat.com> |
4682 | ||
4683 | * maint.c (maint_print_section_info): Rename print_section_info. | |
4684 | (print_bfd_section_info, print_objfile_section_info): Update. | |
4685 | * inferior.h (struct gdbarch): Add opaque declaration. | |
4686 | * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh. | |
4687 | * gdbarch.h: Regenerate. | |
4688 | ||
8cfda98c ML |
4689 | 2002-04-10 Michal Ludvig <mludvig@suse.cz> |
4690 | ||
4691 | * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete. | |
4692 | (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h. | |
4693 | (kernel_u_size): Added. | |
4694 | * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete. | |
4695 | (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h. | |
4696 | ||
ca439ad2 | 4697 | 2002-04-04 Jim Ingham <jingham@apple.com> |
361d1df0 | 4698 | |
ca439ad2 JI |
4699 | * valarith.c (find_size_for_pointer_math): New function, either returns |
4700 | the size for a pointer's target, returns 1 for void *, or errors for | |
4701 | incomplete types. | |
4702 | (value_add, value_sub): use find_size_for_pointer_math. | |
4703 | ||
2f2893d9 DJ |
4704 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
4705 | ||
4706 | * linux-low.c (linux_look_up_symbols): New hook. | |
4707 | (linux_target_ops): Add linux_look_up_symbols. | |
4708 | * remote-utils.c (decode_address): New function. | |
4709 | (look_up_one_symbol): New function. | |
4710 | * server.c (handle_query): Call target look_up_symbols hook. | |
4711 | * server.h (look_up_one_symbol): Add prototype. | |
4712 | * target.h (struct target_ops): Add look_up_symbols hook. | |
4713 | ||
2ec06d2e DJ |
4714 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
4715 | ||
d64b8841 DJ |
4716 | * gdbserver/server.h: Include <string.h> if HAVE_STRING_H. |
4717 | * ChangeLog: Correct paths in last ChangeLog entry. | |
4718 | ||
4719 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> | |
4720 | ||
4721 | * gdbserver/linux-low.h: Remove obsolete prototypes. | |
2ec06d2e DJ |
4722 | (struct linux_target_ops): New. |
4723 | (extern the_low_target): New. | |
d64b8841 | 4724 | * gdbserver/linux-low.c (num_regs, regmap): Remove declarations. |
2ec06d2e DJ |
4725 | (register_addr): Use the_low_target explicitly. |
4726 | (fetch_register): Likewise. | |
4727 | (usr_fetch_inferior_registers): Likewise. | |
4728 | (usr_store_inferior_registers): Likewise. | |
d64b8841 | 4729 | * gdbserver/linux-arm-low.c (num_regs): Remove. |
2ec06d2e DJ |
4730 | (arm_num_regs): Define. |
4731 | (arm_regmap): Renamed from regmap, made static. | |
4732 | (arm_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4733 | made static. | |
4734 | (arm_cannot_store_register): Renamed from cannot_store_register, | |
4735 | made static. | |
4736 | (the_low_target): New. | |
d64b8841 | 4737 | * gdbserver/linux-i386-low.c (num_regs): Remove. |
2ec06d2e DJ |
4738 | (i386_num_regs): Define. |
4739 | (i386_regmap): Renamed from regmap, made static. | |
4740 | (i386_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4741 | made static. | |
4742 | (i386_cannot_store_register): Renamed from cannot_store_register, | |
4743 | made static. | |
4744 | (the_low_target): New. | |
d64b8841 | 4745 | * gdbserver/linux-ia64-low.c (num_regs): Remove. |
2ec06d2e DJ |
4746 | (ia64_num_regs): Define. |
4747 | (ia64_regmap): Renamed from regmap, made static. | |
4748 | (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4749 | made static. | |
4750 | (ia64_cannot_store_register): Renamed from cannot_store_register, | |
4751 | made static. | |
4752 | (the_low_target): New. | |
d64b8841 | 4753 | * gdbserver/linux-m68k-low.c (num_regs): Remove. |
2ec06d2e DJ |
4754 | (m68k_num_regs): Define. |
4755 | (m68k_regmap): Renamed from regmap, made static. | |
4756 | (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4757 | made static. | |
4758 | (m68k_cannot_store_register): Renamed from cannot_store_register, | |
4759 | made static. | |
4760 | (the_low_target): New. | |
d64b8841 | 4761 | * gdbserver/linux-mips-low.c (num_regs): Remove. |
2ec06d2e DJ |
4762 | (mips_num_regs): Define. |
4763 | (mips_regmap): Renamed from regmap, made static. | |
4764 | (mips_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4765 | made static. | |
4766 | (mips_cannot_store_register): Renamed from cannot_store_register, | |
4767 | made static. | |
4768 | (the_low_target): New. | |
d64b8841 | 4769 | * gdbserver/linux-ppc-low.c (num_regs): Remove. |
2ec06d2e DJ |
4770 | (ppc_num_regs): Define. |
4771 | (ppc_regmap): Renamed from regmap, made static. | |
4772 | (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4773 | made static. | |
4774 | (ppc_cannot_store_register): Renamed from cannot_store_register, | |
4775 | made static. | |
4776 | (the_low_target): New. | |
d64b8841 | 4777 | * gdbserver/linux-s390-low.c (num_regs): Remove. |
2ec06d2e DJ |
4778 | (s390_num_regs): Define. |
4779 | (s390_regmap): Renamed from regmap, made static. | |
4780 | (s390_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4781 | made static. | |
4782 | (s390_cannot_store_register): Renamed from cannot_store_register, | |
4783 | made static. | |
4784 | (the_low_target): New. | |
d64b8841 | 4785 | * gdbserver/linux-sh-low.c (num_regs): Remove. |
2ec06d2e DJ |
4786 | (sh_num_regs): Define. |
4787 | (sh_regmap): Renamed from regmap, made static. | |
4788 | (sh_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4789 | made static. | |
4790 | (sh_cannot_store_register): Renamed from cannot_store_register, | |
4791 | made static. | |
4792 | (the_low_target): New. | |
d64b8841 | 4793 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. |
2ec06d2e DJ |
4794 | (the_low_target): New. |
4795 | ||
96cb11df AC |
4796 | 2002-04-09 Andrew Cagney <ac131313@redhat.com> |
4797 | ||
4798 | * frame.c (read_relative_register_raw_bytes_for_frame): Do not | |
4799 | override FP_REGNUM with frame->fp. Update copyright. | |
4800 | * parse.c (num_std_regs, std_regs): Delete. | |
4801 | (target_map_name_to_register): Do not search std_regs. Update | |
4802 | function description. | |
4803 | * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete | |
4804 | declarations. Update copyright. | |
4805 | Fix PR gdb/251. | |
361d1df0 | 4806 | |
c3a3ccc7 DJ |
4807 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
4808 | ||
4809 | * gdbserver/Makefile.in: Add stamp-h target. | |
4810 | * gdbserver/configure.in: Create stamp-h. | |
4811 | * gdbserver/configure: Regenerated. | |
4812 | ||
ce3a066d DJ |
4813 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
4814 | ||
4815 | * gdbserver/inferiors.c: New file. | |
4816 | * gdbserver/target.c: New file. | |
4817 | * gdbserver/target.h: New file. | |
4818 | * gdbserver/Makefile.in: Add target.o and inferiors.o. Update | |
4819 | dependencies. | |
4820 | * gdbserver/linux-low.c (inferior_pid): New static variable, | |
4821 | moved from server.c. | |
4822 | (linux_create_inferior): Renamed from create_inferior. | |
4823 | Call add_inferior. Return 0 on success instead of a PID. | |
4824 | (linux_attach): Renamed from myattach. | |
4825 | (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). | |
4826 | (linux_thread_alive): Renamed from mythread_alive. | |
4827 | (linux_wait): Renamed from mywait. Call clear_inferiors () if the | |
4828 | child dies. | |
4829 | (linux_resume): Renamed from myresume. Add missing ``return 0''. | |
4830 | (regsets_store_inferior_registers): Correct error message. | |
4831 | Add missing ``return 0''. | |
4832 | (linux_fetch_registers): Renamed from fetch_inferior_registers. | |
4833 | (linux_store_registers): Renamed from store_inferior_registers. | |
4834 | (linux_read_memory): Renamed from read_inferior_memory. | |
4835 | (linux_write_memory): Renamed from write_inferior_memory. | |
4836 | (linux_target_ops): New structure. | |
4837 | (initialize_low): Call set_target_ops (). | |
4838 | * gdbserver/remote-utils.c (unhexify): New function. | |
4839 | (hexify): New function. | |
4840 | (input_interrupt): Send signals to ``signal_pid''. | |
4841 | * gdbserver/server.c (inferior_pid): Remove. | |
4842 | (start_inferior): Update create_inferior call. | |
4843 | (attach_inferior): Call add_inferior. | |
4844 | (handle_query): New function. | |
4845 | (main): Call handle_query for `q' packets. | |
4846 | * gdbserver/server.h: Include "target.h". Remove obsolete prototypes. | |
4847 | Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. | |
4848 | ||
0729219d DJ |
4849 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
4850 | ||
4851 | * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury | |
4852 | dependencies. | |
4853 | * gdbserver/configure.in: Check for <string.h> | |
4854 | * gdbserver/configure: Regenerate. | |
4855 | * gdbserver/config.in: Regenerate. | |
4856 | * gdbserver/gdbreplay.c: Include needed system headers. | |
4857 | (remote_open): Remove strchr prototype. | |
4858 | * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. | |
4859 | * gdbserver/regcache.c (supply_register): Change buf argument to const void *. | |
4860 | (supply_register_by_name): Likewise. | |
4861 | (collect_register): Change buf argument to void *. | |
4862 | (collect_register_by_name): Likewise. | |
4863 | * gdbserver/regcache.h: Add missing prototypes. | |
4864 | * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa. | |
4865 | * gdbserver/server.c (handle_query): New function. | |
4866 | (attached): New static variable, moved out of main. | |
4867 | (main): Quiet longjmp clobber warnings. | |
4868 | * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. | |
4869 | * gdbserver/utils.c (error): Remove NORETURN. | |
4870 | (fatal): Likewise. | |
4871 | ||
97658e92 DJ |
4872 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
4873 | ||
4874 | * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer | |
4875 | after the last symbol in a block. | |
4876 | ||
6044e3eb PM |
4877 | 2002-04-09 Pierre Muller <muller@ics.u-strasbg.fr> |
4878 | ||
4879 | * p-exp.y (yylex): Handle also the fact that is_a_field_of_this | |
4880 | is non zero as a found symbol. | |
4881 | ||
0406ec40 AC |
4882 | 2002-04-08 Andrew Cagney <ac131313@redhat.com> |
4883 | ||
4884 | * findvar.c: Include "builtin-regs.h". | |
4885 | (value_of_register): Call value_of_builtin_reg when applicable. | |
4886 | * parse.c: Include "builtin-regs.h" and "gdb_assert.h". | |
4887 | (target_map_name_to_register): Call | |
4888 | builtin_reg_map_name_to_regnum. | |
4889 | * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c. | |
4890 | (COMMON_OBS): Add builtin-regs.o and std-regs.o. | |
4891 | (builtin_regs_h): Define. | |
4892 | (builtin-regs.o): New target. | |
4893 | (findvar.o): Add $(builtin_regs_h). | |
4894 | * builtin-regs.c, builtin-regs.h: New files. | |
4895 | * std-regs.c: New file. | |
4896 | Partial fix for PR gdb/251. | |
4897 | ||
56a6dfb9 KB |
4898 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
4899 | ||
4900 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn; | |
4901 | it's no longer required. | |
4902 | ||
3a808432 AC |
4903 | 2002-04-08 Andrew Cagney <ac131313@redhat.com> |
4904 | ||
4905 | * Makefile.in (gdbtk-wrapper.o): Add missing dependencies. | |
4906 | ||
7c40d541 KB |
4907 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
4908 | ||
4909 | From Jimi X <jimix@watson.ibm.com>: | |
4910 | * rs6000-tdep.c (rs6000_software_single_step): Use | |
4911 | rs6000_breakpoint_from_pc() to fetch breakpoint instruction | |
4912 | and size. Use target_insert_breakpoint() and | |
4913 | target_remove_breakpoint() to insert and remove breakpoints | |
4914 | instead of explicit memory reads and writes. | |
4915 | ||
cc9836a8 KB |
4916 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
4917 | ||
4918 | * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete. | |
4919 | * rs6000-tdep.c (rs6000_push_arguments): Eliminate | |
4920 | ELF_OBJECT_FORMAT ifdef. | |
4921 | ||
7495d1dc KB |
4922 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
4923 | ||
4924 | From Jimi X <jimix@watson.ibm.com>: | |
4925 | * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn(). | |
4926 | ||
4288e836 KB |
4927 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
4928 | ||
4929 | From Jimi X <jimix@watson.ibm.com>: | |
4930 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro | |
4931 | definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET. | |
4932 | ||
a4e4e501 MK |
4933 | 2002-04-07 Mark Kettenis <kettenis@gnu.org> |
4934 | ||
4935 | * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions): | |
4936 | s/asprintf/xasprintf/. | |
4937 | (fbsd_make_corefile_notes): s/strdup/xstrdup/. | |
4938 | ||
006defba AC |
4939 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
4940 | ||
4941 | I believe Jeff Law denies responsability for this one: | |
4942 | * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork. | |
4943 | * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork. | |
4944 | * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork. | |
4945 | Work-around for PR gdb/366. | |
4946 | ||
7aa83cac EZ |
4947 | 2002-04-07 Elena Zannoni <ezannoni@redhat.com> |
4948 | ||
4949 | * remote-e7000.c (write_small, e7000_read_inferior_memory, | |
4950 | e7000_read_inferior_memory_large, e7000_insert_breakpoint, | |
4951 | e7000_remove_breakpoint): Use paddr_nz() to print addresses. | |
4952 | ||
cf1fcca1 EZ |
4953 | 2002-04-07 Elena Zannoni <ezannoni@redhat.com> |
4954 | ||
4955 | * sh-tdep.c (sh_fp_frame_init_saved_regs, | |
4956 | sh_nofp_frame_init_saved_regs): Use alloca() for 'where' | |
4957 | information. | |
4958 | ||
3f289e6f AC |
4959 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
4960 | ||
4961 | * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER | |
4962 | maintainer. | |
4963 | ||
129188f6 AC |
4964 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
4965 | ||
4966 | * README (Reporting Bugs in GDB): Document the bug web page as the | |
4967 | prefered way of submitting bugs. | |
4968 | Fix PR gdb/402. | |
4969 | ||
1200cd6e AC |
4970 | 2002-04-06 Andrew Cagney <ac131313@redhat.com> |
4971 | ||
4972 | * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of | |
4973 | -1. Update comment. | |
4974 | * gdbarch.h, gdbarch.c: Re-generate. | |
4975 | ||
2853c33c AS |
4976 | 2002-04-07 Andreas Schwab <schwab@suse.de> |
4977 | ||
4978 | * m68klinux-nat.c (fill_fpregset): Properly pass address of | |
4979 | buffer to regcache_collect. | |
4980 | ||
c2169756 AC |
4981 | 2002-04-06 Andrew Cagney <ac131313@redhat.com> |
4982 | ||
4983 | * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1. | |
4984 | * gdbarch.c, gdbarch.h: Re-generate. | |
4985 | ||
25f1b008 AC |
4986 | 2002-04-06 Andrew Cagney <ac131313@redhat.com> |
4987 | ||
4988 | * symtab.c (lookup_symtab): Remove ``const'' from ``rp'' | |
4989 | declaration. Fix -Werror. | |
4990 | ||
59263426 DJ |
4991 | 2002-04-05 Daniel Jacobowitz <drow@mvista.com> |
4992 | ||
4993 | * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap. | |
4994 | * gdbarch.c: Regenerate. | |
4995 | ||
f5db4da3 MS |
4996 | 2002-04-05 Michael Snyder <msnyder@redhat.com> |
4997 | ||
80f8a6eb MS |
4998 | * breakpoint.c (clear_command): Rewrite middle section to |
4999 | combine two loops with identical control conditions. | |
5000 | Add a cleanup to eliminate a memory leak. | |
f5db4da3 MS |
5001 | * cli/cli-dump.c (restore_section_callback): Use paddr_nz. |
5002 | ||
ad3dcc5c L |
5003 | 2002-04-05 H.J. Lu (hjl@gnu.org) |
5004 | ||
5005 | * solib-svr4.c (bkpt_names): Add "__start". | |
5006 | ||
f32e7a74 AC |
5007 | 2002-04-04 Andrew Cagney <ac131313@redhat.com> |
5008 | ||
5009 | * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64 | |
5010 | as test for 64 bit target. | |
5011 | ||
8227c0ff AC |
5012 | 2002-04-05 Andrew Cagney <ac131313@redhat.com> |
5013 | ||
5014 | * h8500-tdep.c (h8500_write_fp): Delete function. | |
5015 | * dwarf2cfi.c (cfi_write_fp): Document as not used. | |
5016 | * mips-tdep.c (mips_gdbarch_init): Do not set write_fp. | |
5017 | * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp. | |
5018 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp. | |
5019 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp. | |
5020 | * s390-tdep.c (s390_gdbarch_init): Do not set write_fp. | |
5021 | (s390_write_fp): | |
5022 | * sh-tdep.c (sh_gdbarch_init): Do not set write_fp. | |
5023 | * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp. | |
5024 | * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp. | |
5025 | (d10v_write_fp): Delete function. | |
5026 | * inferior.h (write_fp, generic_target_write_fp): Delete | |
5027 | declarations. | |
5028 | * regcache.c (generic_target_write_fp): Delete function. | |
5029 | (write_fp): Delete function. | |
5030 | * gdbarch.sh (TARGET_WRITE_FP): Delete. | |
5031 | * gdbarch.h, gdbarch.c: Regenerate. | |
5032 | * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro. | |
5033 | * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro. | |
5034 | (sparc64_write_fp): Delete declaration. | |
5035 | * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro. | |
5036 | (h8500_write_fp): Delete declaration. | |
5037 | ||
2757dd86 AC |
5038 | 2002-04-04 Andrew Cagney <ac131313@redhat.com> |
5039 | ||
5040 | * sparc-tdep.c (sparc64_write_fp): Delete. | |
5041 | (sparc_push_dummy_frame): Replace write_fp call with code to store | |
5042 | the FP directly. | |
5043 | (sparc_gdbarch_init): Do not initialize write_fp. | |
5044 | ||
c69255e1 KB |
5045 | 2002-04-05 Kevin Buettner <kevinb@redhat.com> |
5046 | ||
5047 | * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable | |
5048 | clause. | |
5049 | ||
ae767bfb JB |
5050 | 2002-03-29 Jim Blandy <jimb@redhat.com> |
5051 | ||
5052 | * stack.c (get_selected_block): Add new argument `addr_in_block', | |
5053 | used to return the exact code address we used to select the block, | |
5054 | not just the block. | |
5055 | * blockframe.c (get_frame_block, get_current_block): Same. | |
5056 | * frame.h (get_frame_block, get_current_block, | |
5057 | get_selected_block): Update declarations. | |
5058 | * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, | |
5059 | linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. | |
5060 | ||
84d2ac95 MS |
5061 | 2002-04-05 Michael Snyder <msnyder@redhat.com> |
5062 | ||
5063 | * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in | |
5064 | warning message. | |
5065 | ||
596aa3bf JB |
5066 | 2002-04-05 J. Brobecker <brobecker@gnat.com> |
5067 | ||
5068 | * utils.c (xfullpath): New function. | |
5069 | * defs.h (xfullpath): Add declaration. | |
5070 | * source.c (openp): Use xfullpath in place of gdb_realpath to | |
5071 | avoid resolving the basename part of filenames when the | |
5072 | associated file is a symbolic link. This fixes a potential | |
5073 | inconsistency between the filenames known to GDB and the | |
5074 | filenames it prints in the annotations. | |
5075 | * symtab.c (lookup_symtab): Use the new xfullpath function, in order | |
5076 | to be able to match a filename with either the real filename, or | |
5077 | the name of any symbolic link to this file. | |
5078 | (lookup_partial_symtab): Ditto. | |
5079 | ||
c02f5703 MS |
5080 | 2002-04-04 Michael Snyder <msnyder@redhat.com> |
5081 | ||
5082 | * breakpoint.c: Add support for hardware breakpoints in overlays. | |
5083 | (overlay_events_enabled): New state variable. | |
5084 | (insert_breakpoints): Use overlay_events_enabled to decide | |
5085 | whether to attempt to set a breakpoint at the overlay load addr. | |
5086 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
5087 | (remove_breakpoint): Use overlay_events_enabled to decide | |
5088 | whether breakpoints need to be removed from overlay load addr. | |
5089 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
5090 | (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays. | |
361d1df0 | 5091 | (create_overlay_event_breakpoint, enable_overlay_breakpoints, |
c02f5703 MS |
5092 | disable_overlay_breakpoints): Update overlay_events_enabled. |
5093 | ||
5fb290d7 DJ |
5094 | 2002-04-04 Daniel Jacobowitz <drow@mvista.com> |
5095 | ||
5096 | * dwarf2read.c (struct function_range): New. | |
5097 | (cu_first_fn, cu_last_fn, cu_cached_fn): New. | |
5098 | (check_cu_functions): New. | |
5099 | (read_file_scope): Initialize global function lists. | |
5100 | Call dwarf_decode_line after processing children. | |
5101 | (read_func_scope): Add to global function list. | |
5102 | (dwarf_decode_lines): Call check_cu_functions everywhere | |
5103 | record_line is called. Call record_line with a linenumber | |
5104 | of 0 to mark sequence ends. | |
5105 | ||
7b3fabf0 ML |
5106 | 2002-04-04 Michal Ludvig <mludvig@suse.cz> |
5107 | ||
361d1df0 | 5108 | * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI |
7b3fabf0 ML |
5109 | change sync with glibc. |
5110 | ||
bce58c09 JB |
5111 | 2002-04-03 Jim Blandy <jimb@redhat.com> |
5112 | ||
5113 | * configure.in: Call AC_C_INLINE. | |
5114 | * configure: Regenerated. | |
361d1df0 | 5115 | |
2fccf04a DJ |
5116 | 2002-04-01 Daniel Jacobowitz <drow@mvista.com> |
5117 | ||
5118 | * rs6000-tdep.c: Change #include of "bfd/libcoff.h" | |
5119 | and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h". | |
5120 | ||
2d1bfe2e MK |
5121 | 2002-03-31 Mark Kettenis <kettenis@gnu.org> |
5122 | ||
a5941fbf MK |
5123 | * NEWS: Mention gcore support on FreeBSD/i386. |
5124 | ||
a90cd31d MK |
5125 | * fbsd-proc.c: New file. |
5126 | * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define. | |
5127 | * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o. | |
5128 | ||
2d1bfe2e MK |
5129 | * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in |
5130 | while statement. | |
5131 | ||
9eb6e5a1 JB |
5132 | 2002-03-29 Jim Blandy <jimb@redhat.com> |
5133 | ||
5134 | * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate | |
5135 | unescaped newlines in string literals, but newer ones don't. So | |
5136 | escape them. | |
5137 | ||
f02df580 MS |
5138 | 2002-03-26 Michael Snyder <msnyder@redhat.com> |
5139 | Andrew Cagney <cagney@redhat.com> | |
5140 | ||
361d1df0 | 5141 | * cli/cli-dump.c: New file. Dump memory to file, |
f02df580 MS |
5142 | restore file to memory. |
5143 | * cli/cli-dump.h: New file. | |
5144 | * Makefile.in: Add rules, dependencies for cli-dump.o. | |
89743e04 | 5145 | * NEWS: Mention new commands. |
f02df580 | 5146 | |
109f874e MS |
5147 | 2002-03-28 Michael Snyder <msnyder@redhat.com> |
5148 | ||
5149 | * symfile.c (symbol_file_add): Move test for null symbols to later. | |
5150 | ||
520f6ade AC |
5151 | 2002-03-27 Andrew Cagney <ac131313@redhat.com> |
5152 | ||
5153 | From veksler at il.ibm.com: | |
5154 | * utils.c (gdb_realpath): If canonicalize_file_name fails, return | |
5155 | the xstrduped original path. | |
5156 | Fix PR gdb/417. | |
5157 | ||
d4654627 MS |
5158 | 2002-03-27 Michael Snyder <msnyder@redhat.com> |
5159 | ||
5160 | * breakpoint.c (_initialize_breakpoint): Clean up help string. | |
5161 | * infcmd.c (_initialize_infcmd): Ditto. | |
5162 | * language.c (_initialize_language): Ditto. | |
5163 | * symfile.c (_initialize_symfile): Ditto. | |
5164 | * top.c (_init_main): Ditto. | |
5165 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
5166 | ||
6be8bc0c EZ |
5167 | 2002-03-27 Elena Zannoni <ezannoni@redhat.com> |
5168 | ||
5169 | * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec | |
5170 | vector registers handling. | |
5171 | (skip_prologue): Handle new AltiVec instructions. Fill in new | |
5172 | fields of frame data. | |
5173 | (frame_get_saved_regs): Fill in information for AltiVec registers. | |
5174 | ||
12af6855 JB |
5175 | 2002-03-27 Jim Blandy <jimb@redhat.com> |
5176 | ||
5177 | * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into | |
5178 | a function; leave this macro here to invoke that function. | |
5179 | (symbol_init_mangled_name): Declaration for that function. | |
5180 | * symtab.c (symbol_init_mangled_name): New function. | |
5181 | ||
dc672865 AC |
5182 | 2002-03-27 Andrew Cagney <ac131313@redhat.com> |
5183 | ||
5184 | * valarith.c: Replace strerror with safe_strerror. | |
5185 | * tracepoint.c: Ditto. | |
5186 | * lin-lwp.c: Ditto. | |
5187 | * go32-nat.c: Ditto. | |
5188 | * inflow.c: Ditto. | |
5189 | * gnu-nat.c: Ditto. | |
5190 | ||
d96429cd AS |
5191 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
5192 | ||
5193 | * event-top.c (command_line_handler): Remove useless if. | |
5194 | ||
7e336ba1 AJ |
5195 | 2002-03-27 Andreas Jaeger <aj@suse.de> |
5196 | ||
5197 | * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright | |
5198 | comment. | |
5199 | ||
de220d0f ML |
5200 | 2002-03-27 Michal Ludvig <mludvig@suse.cz> |
5201 | ||
5202 | * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines. | |
5203 | (x86_64_num_regs, x86_64_num_gregs): Added extern variables. | |
5204 | * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS. | |
5205 | (x86_64_linux_dr_get_status, supply_gregset), | |
5206 | (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs. | |
5207 | * x86-64-tdep.c (x86_64_register_raw_size_table): Delete. | |
5208 | (x86_64_register_info_table): Add. | |
5209 | (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add. | |
5210 | (x86_64_register_raw_size, x86_64_register_virtual_type), | |
5211 | (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new | |
5212 | general x86_64_register_info_table. | |
5213 | (i386_gdbarch_init): gdbarch_register_bytes is now set | |
5214 | dynamicaly during initialization. | |
5215 | * regformats/reg-x86-64.dat: Synced with changes to registers above. | |
5216 | * gdbserver/linux-x86-64-low.c: Ditto. | |
7e336ba1 | 5217 | |
0e98d0a7 DJ |
5218 | 2002-03-27 Daniel Jacobowitz <drow@mvista.com> |
5219 | ||
5220 | * gdbserver/server.c (main): Call target_signal_to_host_p | |
5221 | and target_signal_to_host on signals received from the remote. | |
5222 | * gdbserver/remote-utils.c (prepare_resume_reply): Call | |
5223 | target_signal_from_host on signals sent to the remote. | |
5224 | * gdbserver/server.h: Add prototypes. Include "gdb/signals.h". | |
5225 | * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}. | |
5226 | ||
3130066b DJ |
5227 | 2002-03-27 Daniel Jacobowitz <drow@mvista.com> |
5228 | ||
5229 | * signals/signals.c: Include "server.h" in gdbserver build. | |
5230 | (target_signal_from_name): Don't use STREQ. | |
5231 | (_initialize_signals): Likewise. Don't include function in | |
5232 | gdbserver build. | |
5233 | ||
9aedf4f4 DJ |
5234 | 2002-03-27 Daniel Jacobowitz <drow@mvista.com> |
5235 | ||
5236 | * signals.c: Moved to... | |
5237 | * signals/signals.c: Here. | |
7e336ba1 | 5238 | * Makefile (signals.o): Update. |
9aedf4f4 | 5239 | |
3fa41cdb JL |
5240 | 2002-03-26 Jeff Law (law@redhat.com) |
5241 | ||
5242 | * somread.c (som_symtab_read): Remove some commented out code and | |
5243 | updated related comments. Do not set the minimal symbol table to | |
5244 | mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope | |
5245 | in a dynamic executable. | |
5246 | * hppa-tdep.c (find_proc_framesize): Sanely handle the case | |
5247 | where we are unable to find the minimal symbol for the given | |
5248 | PC value. | |
5249 | ||
ee677e8d MS |
5250 | 2002-03-25 Jeff Law (law@redhat.com) |
5251 | ||
5252 | * linux-proc.c (read_mapping): Scan up to end of line for filename. | |
5253 | ||
e76e1718 ML |
5254 | 2002-03-25 Michal Ludvig <mludvig@suse.cz> |
5255 | ||
5256 | * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch. | |
5257 | ||
18a642a1 AC |
5258 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
5259 | ||
5260 | * command.h: Update copyright. | |
5261 | (struct cmd_list_element): Replace definition with opaque | |
5262 | declaration. | |
5263 | (enum cmd_types): Document that it will eventually be moved to | |
5264 | cli/cli-decode.h | |
5265 | (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. | |
5266 | (MALLOCED_REPLACEMENT): Delete macro. | |
5267 | * Makefile.in (cli_decode_h): Add $(command_h). | |
5268 | (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). | |
7e336ba1 | 5269 | * top.c: Include "cli/cli-decode.h". |
18a642a1 AC |
5270 | * completer.c: Include "cli/cli-decode.h". |
5271 | * maint.c: Include "cli/cli-decode.h". | |
5272 | * cli/cli-decode.h: Include "command.h". | |
5273 | (enum command_class): Delete. | |
5274 | (enum cmd_types): Comment out. | |
5275 | (enum cmd_auto_boolean): Delete. | |
5276 | (enum var_types): Delete. | |
5277 | ||
b2875cc0 AC |
5278 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
5279 | ||
5280 | * cli/cli-decode.c: Include "gdb_assert.h". | |
5281 | (add_set_or_show_cmd): New static function. | |
5282 | (add_set_cmd): Rewrite. Use add_set_or_show_cmd. | |
5283 | (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy | |
5284 | all fields, such as func, from the set command. | |
5285 | ||
3b45974e AC |
5286 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
5287 | ||
5288 | * MAINTAINERS (sh-elf): Change warning flag to -w. | |
5289 | ||
823ca731 AC |
5290 | 2002-03-23 Andrew Cagney <cagney@redhat.com> |
5291 | ||
5292 | * defs.h (error): Add printf format attribute. | |
5293 | * thread-db.c (thread_from_lwp): Fix error format string. | |
5294 | * stack.c (parse_frame_specification): Ditto. | |
5295 | * cli/cli-decode.c (undef_cmd_error): Ditto. | |
5296 | * scm-lang.c (scm_lookup_name): Ditto. | |
5297 | * tracepoint.c (trace_error): Ditto. | |
5298 | * remote-utils.c (usage): Ditto. | |
5299 | * remote.c (compare_sections_command): Ditto. | |
5300 | Fix PR gdb/328. | |
5301 | ||
0e101458 AC |
5302 | 2002-03-22 Andrew Cagney <ac131313@redhat.com> |
5303 | ||
5304 | * gdbtypes.c (append_composite_type_field): New function. | |
5305 | (init_composite_type): New function. | |
5306 | * gdbtypes.h (append_composite_type_field): Declare. | |
5307 | (init_composite_type): Ditto. | |
5308 | ||
8e0662df EZ |
5309 | 2002-03-22 Elena Zannoni <ezannoni@redhat.com> |
5310 | ||
5311 | * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New | |
7e336ba1 | 5312 | function. |
8e0662df EZ |
5313 | * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export. |
5314 | * rs6000-tdep.c (rs6000_gdbarch_init): Use different | |
5315 | structure returning convention for SYSV ABI case, but not | |
5316 | for GNU/Linux, FreeBSD, or NetBSD. | |
5317 | ||
3121eff0 DJ |
5318 | 2002-03-22 Daniel Jacobowitz <drow@mvista.com> |
5319 | ||
5320 | * symtab.h (lookup_block_symbol): Add mangled_name argument | |
5321 | to prototype. | |
5322 | ||
5323 | * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol | |
5324 | with new mangled_name argument. | |
5325 | * linespec.c (decode_line_1): Likewise. | |
5326 | * valops (value_of_this): Likewise. | |
5327 | * symtab.c (lookup_transparent_type): Likewise. | |
5328 | (lookup_symbol_aux): Likewise. Accept new mangled_name argument. | |
5329 | (lookup_symbol): If we are given a mangled name, pass it down | |
5330 | to lookup_symbol_aux. | |
5331 | (lookup_block_symbol): If we are given a mangled name to check | |
5332 | against, only return symbols which match it. | |
5333 | ||
349b409f CF |
5334 | 2002-03-22 Christopher Faylor <cgf@redhat.com> |
5335 | ||
5336 | * win32-nat.c (child_create_inferior): Check for proper shell to use | |
5337 | here, in case the user changes it on the fly. | |
5338 | (_initialize_inftarg): Remove shell path considerations. | |
5339 | ||
2a873819 EZ |
5340 | 2002-03-21 Elena Zannoni <ezannoni@redhat.com> |
5341 | ||
5342 | * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value | |
5343 | for gdbarch_max_register_raw_size and max_register_virtual_size. | |
5344 | Adjust copyright year. | |
5345 | ||
a1b9830c DJ |
5346 | 2002-03-21 Daniel Jacobowitz <drow@mvista.com> |
5347 | ||
5348 | * dbxread.c (process_one_symbol): Extend the first N_SLINE | |
5349 | in a function to cover the entire beginning of the function | |
5350 | as well if it does not already. | |
5351 | ||
8b5790f2 TR |
5352 | 2002-03-21 Tom Rix <trix@redhat.com> |
5353 | ||
5354 | * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32. | |
5355 | (rs6000_ptrace64): Renamed from ptrace64. | |
5356 | ||
bdbe5747 MH |
5357 | 2002-03-20 Martin M. Hunt <hunt@redhat.com> |
5358 | ||
5359 | * gdbserver/remote-utils.c (remote_open): Don't call | |
5360 | getprotobyname, we're all using TCP here so just use | |
5361 | IPPROTO_TCP. | |
7e336ba1 | 5362 | * gdbserver/gdbreplay.c (remote_open): Ditto. |
bdbe5747 MH |
5363 | |
5364 | 2002-03-20 Martin M. Hunt <hunt@redhat.com> | |
7e336ba1 | 5365 | |
bdbe5747 MH |
5366 | * regcache.c (_initialize_regcache): No need to call |
5367 | build_regcache() at this time; it gets called whenever | |
5368 | the gdbarch changes. | |
5369 | ||
7781cd62 DB |
5370 | 2002-03-20 David O'Brien <obrien@FreeBSD.org> |
5371 | ||
5372 | * sparc-nat.c: Include sys/param.h where possible. | |
5373 | ||
f65ca430 DJ |
5374 | 2002-03-20 Daniel Jacobowitz <drow@mvista.com> |
5375 | ||
5376 | Fix PR gdb/422. | |
5377 | * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX, | |
5378 | FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX. | |
5379 | * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for | |
5380 | complex types. | |
5381 | * stabsread.c (rs6000_builtin_type): Likewise. | |
5382 | (read_sun_floating_type): Likewise. | |
5383 | ||
0c867556 PS |
5384 | 2002-03-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5385 | ||
5386 | * stabsread.c (read_member_functions): Remove skip code for duplicate | |
5387 | constructor/destructor methods. Use standard parsing for these | |
5388 | methods and just do not chain them to the list of methods after | |
5389 | parsing. | |
5390 | ||
12b9c64f AO |
5391 | 2002-03-19 Alexandre Oliva <aoliva@redhat.com> |
5392 | ||
5393 | * coffread.c: Remove redundant static declarations. Replace | |
5394 | occurrences of `PTR' with `void *'. | |
5395 | * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. | |
5396 | * top.h (quit_cover): Likewise. | |
5397 | * defs.h (catch_errors): Likewise. | |
5398 | ||
349c5d5f AC |
5399 | 2002-03-18 Andrew Cagney <ac131313@redhat.com> |
5400 | ||
5401 | * defs.h (XMALLOC): Define. | |
5402 | * gdb-events.sh (XMALLOC): Delete macro. | |
5403 | * gdb-events.c, gdb-events.h: Regenerate. | |
5404 | * gdbarch.sh (XMALLOC): Delete macro. | |
5405 | * gdbarch.c: Regenerate. | |
5406 | * serial.c (XMALLOC): Delete macro. | |
5407 | * ui-file.c (XMALLOC): Ditto. | |
5408 | * ser-unix.h (XMALLOC): Ditto. | |
5409 | * sh-tdep.c (XMALLOC): Ditto. | |
5410 | * ui-out.c (XMALLOC): Ditto. | |
5411 | * utils.c (XMALLOC): Ditto. | |
5412 | * i386-tdep.c (XMALLOC): Ditto. | |
5413 | * gdb-events.c (XMALLOC): Ditto. | |
5414 | * d10v-tdep.c (XMALLOC): Ditto. | |
5415 | * cli-out.c (XMALLOC): Ditto. | |
5416 | ||
5417 | * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. | |
5418 | * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. | |
5419 | * ui-file.c, ui-out.c: Ditto. | |
5420 | ||
7d0766f3 AC |
5421 | 2002-03-18 Andrew Cagney <ac131313@redhat.com> |
5422 | ||
5423 | * command.h (struct cmd_list_element): Add field context. | |
5424 | (set_cmd_context, get_cmd_context): Declare. | |
5425 | * cli/cli-decode.h: Ditto. | |
5426 | * cli/cli-decode.c (get_cmd_context): New function. | |
5427 | (set_cmd_context): New function. | |
5428 | (add_cmd): Initialize context. | |
5429 | Part of fixing PR gdb/145 and PR gdb/146. | |
5430 | ||
5913bcb0 AC |
5431 | 2002-03-17 Andrew Cagney <ac131313@redhat.com> |
5432 | ||
1868c04e AC |
5433 | * cli/cli-decode.c (cmd_type): New function. |
5434 | * command.h (cmd_type): Declare. | |
5435 | * infrun.c (set_schedlock_func): Call function cmd_type. | |
5436 | * kod.c (kod_set_os): Call cmd_type. | |
5437 | * cris-tdep.c (cris_version_update): Use function cmd_type. | |
5438 | (cris_mode_update, cris_abi_update): Ditto. | |
5439 | ||
5913bcb0 AC |
5440 | * command.h: (execute_cmd_post_hook): Declare. |
5441 | (execute_cmd_pre_hook): Declare. | |
5442 | * cli/cli-script.c (clear_hook_in_cleanup): New function. | |
5443 | (execute_cmd_post_hook, execute_cmd_pre_hook): New | |
5444 | functions. Execute pre/post hook while ensuring that afterwords | |
5445 | hook_in is cleared. | |
5446 | * top.c (execute_command): Use execute_cmd_post_hook, and | |
5447 | execute_cmd_pre_hook to execute pre/post commands. | |
5448 | * infrun.c (normal_stop): Pass stop_command and not pre_hook to | |
5449 | hook_stop_stub. | |
5450 | (hook_stop_stub): Call execute_cmd_pre_hook. | |
5451 | ||
b51450c9 AC |
5452 | 2002-03-17 Andrew Cagney <ac131313@redhat.com> |
5453 | ||
5454 | * kod.c (kod_set_os): Revert previous change. Is called by ``info | |
5455 | set'' and this leads to a core dump. Move xstrdup of | |
5456 | operating_system to after check that it is not NULL. | |
5457 | ||
f66c9f11 AC |
5458 | 2002-03-17 Andrew Cagney <ac131313@redhat.com> |
5459 | ||
8e694ecf AC |
5460 | * kod.c (kod_set_os): Remove unnecessary check that |
5461 | ``command->type'' is set_cmd. | |
5462 | ||
f66c9f11 AC |
5463 | * valprint.c (set_input_radix): Use input_radix. |
5464 | (set_output_radix): Use output_radix. | |
5465 | (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix | |
5466 | isn't reverted. | |
5467 | ||
9d01611c AC |
5468 | 2002-03-16 Andrew Cagney <ac131313@redhat.com> |
5469 | ||
5470 | * value.h (struct value): Delete field ``substring_addr''. Change | |
5471 | aligner fields to force_doublest_align, force_longest_align, | |
ee2d3b3a AC |
5472 | force_core_addr_align and force_pointer_aligh. |
5473 | ||
5474 | * value.h (struct value): Fix typo in above change. | |
9d01611c | 5475 | |
4156bb53 PS |
5476 | 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5477 | ||
5478 | * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip, | |
5479 | to fix internal_error from ``maintenance print architecture''. | |
5480 | ||
0e5e3ea6 PS |
5481 | 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5482 | ||
5483 | * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type | |
5484 | for gcc versions after gcc-2.8.1. | |
5485 | ||
9b013045 PS |
5486 | 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5487 | ||
5488 | * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer | |
5489 | for method resolution. Restore adjustment of ``this'' pointer after | |
5490 | calling value_struct_elt, which was accidentally removed during the | |
5491 | HP merge. | |
5492 | ||
376c9600 AC |
5493 | 2002-03-15 Andrew Cagney <ac131313@redhat.com> |
5494 | ||
5495 | * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to | |
5496 | value_of_register. | |
5497 | * findvar.c (value_of_register): Add ``frame'' parameter. Pass to | |
5498 | get_saved_register. | |
5499 | * value.h (value_of_register): Update. | |
5500 | ||
a4db0f07 RH |
5501 | 2002-03-14 Richard Henderson <rth@redhat.com> |
5502 | ||
5503 | * configure.in: Detect declaration for canonicalize_file_name. | |
5504 | * utils.c (canonicalize_file_name): Declare, if needed. | |
5505 | (gdb_realpath): Prefer realpath if available and usable. | |
5506 | * config.in, configure: Rebuild. | |
5507 | ||
96383835 RH |
5508 | 2002-03-14 Richard Henderson <rth@redhat.com> |
5509 | ||
5510 | * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as | |
5511 | a constant array bound. | |
5512 | ||
5513 | * MAINTAINERS: Add myself to write-after-approval. | |
5514 | ||
75245b24 MS |
5515 | 2002-03-14 Michael Snyder <msnyder@redhat.com> |
5516 | ||
5517 | * symfile.c (syms_from_objfile): Return immediately if no syms. | |
5518 | (symbol_file_add): Return immediately if no syms. | |
5519 | (find_sym_fns): Return immediately if no syms. | |
5520 | ||
e641a1ca ML |
5521 | 2002-03-13 Michal Ludvig <mludvig@suse.cz> |
5522 | ||
5523 | * gdbserver/remote-util.c (remote_open): Print remote-side's | |
5524 | IP address when remote debugging over the network. | |
7e336ba1 | 5525 | |
df08bfec DB |
5526 | 2002-03-12 David O'Brien <obrien@FreeBSD.org> |
5527 | ||
5528 | * config/sparc/fbsd.mh: Fix copyright. | |
5529 | * config/sparc/fbsd.mt: Likewise. | |
5530 | ||
9a57864f RE |
5531 | 2002-03-11 Richard Earnshaw <rearnsha@arm.com> |
5532 | ||
5533 | * MAINTAINERS: Fix typo in name of gdb warnings option. | |
5534 | (x86-64): Fix formating so that this can be parsed by awk. | |
5535 | ||
dd7bf85e DJ |
5536 | 2002-03-10 Daniel Jacobowitz <drow@mvista.com> |
5537 | ||
5538 | * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h. | |
5539 | * defs.h: Include "gdb/signals.h". | |
5540 | (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h. | |
5541 | ||
33a0a2ac ML |
5542 | 2002-03-10 Michal Ludvig <mludvig@suse.cz> |
5543 | ||
5544 | * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c | |
7e336ba1 | 5545 | * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here |
33a0a2ac ML |
5546 | from x86-64-tdep.h |
5547 | ||
dd824b04 DJ |
5548 | 2002-03-10 Daniel Jacobowitz <drow@mvista.com> |
5549 | Don Howard <dhoward@redhat.com> | |
5550 | ||
5551 | * mips-tdep.c (ST0_FR): Define. | |
5552 | (mips2_fp_compat): New function, temporarily disabled. | |
5553 | (mips_read_fp_register_single): New function. | |
5554 | (mips_read_fp_register_double): New function. | |
5555 | (mips_print_register): Use them. | |
5556 | (do_fp_register_row): Likewise. | |
5557 | ||
6a41ff59 AC |
5558 | 2002-03-09 Andrew Cagney <ac131313@redhat.com> |
5559 | ||
5560 | * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after | |
5561 | approval''. | |
5562 | ||
4ea09c10 PS |
5563 | 2002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5564 | ||
5565 | * stabsread.c (read_member_functions): Fix is_stub test for | |
5566 | static member functions, improve comment. | |
5567 | ||
6ccc741d RE |
5568 | 2002-03-07 Richard Earnshaw <rearnsha@arm.com> |
5569 | ||
5570 | * remote-rdi.c (myprint): Replace 'PTR' with 'void *'. | |
5571 | (mywrite, mywritec, mypause, myreadc, mygets): Likewise. | |
5572 | (_initialize_remote_rdi): Use add_set_boolean_cmd to register | |
5573 | commands that set boolean values. | |
5574 | (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning. | |
5575 | (arm_rdi_resume): Always initialize PC. | |
5576 | (arm_rdi_open): Don't use rslt as a boolean. | |
5577 | (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume) | |
5578 | (arm_rdi_fetch_registers, arm_rdi_store_registers) | |
5579 | (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill) | |
5580 | (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise. | |
5581 | ||
438013df AO |
5582 | 2002-03-06 Alexandre Oliva <aoliva@redhat.com> |
5583 | ||
5584 | * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX. | |
5585 | * configure: Rebuilt. | |
5586 | ||
70ed8774 SC |
5587 | 2002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
5588 | ||
5589 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn. | |
5590 | (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead. | |
5591 | ||
5ba2abeb AC |
5592 | 2002-03-06 Andrew Cagney <ac131313@redhat.com> |
5593 | ||
5594 | * cli/cli-decode.c (set_cmd_completer): New function. | |
5595 | * command.h (set_cmd_completer): Declare. | |
5596 | * cli/cli-decode.h (set_cmd_completer): Ditto. | |
5597 | ||
5598 | * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer. | |
5599 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
5600 | * win32-nat.c (_initialize_inftarg): Ditto. | |
5601 | * remote-rdi.c (_initialize_remote_rdi): Ditto. | |
5602 | * proc-api.c (_initialize_proc_api): Ditto. | |
5603 | * hppa-tdep.c (_initialize_hppa_tdep): Ditto. | |
5604 | * source.c (_initialize_source): Ditto. | |
5605 | * exec.c (_initialize_exec): Ditto. | |
5606 | * solib.c (_initialize_solib): Ditto. | |
5607 | * top.c (init_main): Ditto. | |
5608 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
5609 | * symfile.c (_initialize_symfile): Ditto. | |
5610 | * printcmd.c (_initialize_printcmd): Ditto. | |
5611 | * infcmd.c (_initialize_infcmd): Ditto. | |
5612 | * corefile.c (_initialize_core): Ditto. | |
5613 | ||
f779ca99 AC |
5614 | 2002-03-05 Andrew Cagney <ac131313@redhat.com> |
5615 | ||
5616 | * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler. | |
5617 | ||
01a3934b AC |
5618 | 2002-03-05 Andrew Cagney <ac131313@redhat.com> |
5619 | ||
5620 | * MAINTAINERS: Fix Mac OS X and Objective-C/C++. | |
5621 | ||
37057839 AC |
5622 | 2002-03-05 Andrew Cagney <ac131313@redhat.com> |
5623 | ||
5624 | * NEWS: Update headings, 5.2 has branched. | |
5625 | ||
c6ecbae5 DJ |
5626 | 2002-03-04 Daniel Jacobowitz <drow@mvista.com> |
5627 | ||
5628 | * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long. | |
5629 | (num_regs, regmap): Move inside HAVE_LINUX_USRREGS. | |
5630 | (register_addr, REGISTER_RAW_SIZE): Likewise. | |
5631 | (usr_store_inferior_registers): Use PTRACE_XFER_TYPE. | |
5632 | * gdbserver/linux-x86-64-low.c: Remove extra #endif. | |
5633 | ||
e9f30c21 ML |
5634 | 2002-03-03 Michal Ludvig <mludvig@suse.cz> |
5635 | ||
5636 | * MAINTAINERS (x86-64): Add myself. | |
5637 | * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs, | |
5638 | changed value_ptr -> struct value * | |
5639 | ||
54394ac3 DB |
5640 | 2002-03-01 David O'Brien <obrien@FreeBSD.org> |
5641 | ||
5642 | * configure.host (sparc64-*-freebsd): Add. | |
5643 | * configure.tgt: Likewise. | |
5644 | * config/sparc/fbsd.mh: New file. | |
5645 | * config/sparc/fbsd.mt: Likewise. | |
5646 | * config/sparc/nm-fbsd.h: Likewise. | |
5647 | * config/sparc/tm-fbsd.h: Likewise. | |
5648 | ||
bfe95955 DJ |
5649 | 2002-03-01 Daniel Jacobowitz <drow@mvista.com> |
5650 | ||
5651 | * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and | |
5652 | regformats/reg-s390x.dat. | |
5653 | ||
f33c6cbf AC |
5654 | 2002-03-01 Andrew Cagney <ac131313@redhat.com> |
5655 | ||
5656 | * utils.c: Add FIXME explaining true/false problem. | |
5657 | ||
5ecaa7dd AC |
5658 | 2002-02-28 Andrew Cagney <ac131313@redhat.com> |
5659 | ||
5660 | * MAINTAINERS (Past Maintainers): Add J.T. Conklin. | |
5661 | ||
2a251cc2 MC |
5662 | 2002-02-28 Michael Chastain <mec@shout.net> |
5663 | ||
5664 | * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs . | |
5665 | ||
6a8031a3 | 5666 | 2002-02-28 Daniel Jacobowitz <drow@mvista.com> |
265f716b DJ |
5667 | |
5668 | * gdbserver/linux-s390-low.c: New file. | |
5669 | * regformats/reg-s390.dat: New file. | |
5670 | * regformats/reg-s390x.dat: New file. | |
5671 | * gdbserver/configure.srv: Add S/390. | |
5672 | * gdbserver/Makefile.in: Add S/390. | |
5673 | * configure.tgt: Enable gdbserver for S/390. | |
5674 | ||
ac469903 EZ |
5675 | 2002-02-28 Eli Zaretskii <eliz@is.elta.co.il> |
5676 | ||
5677 | * go32-nat.c (_initialize_go32_nat): Don't use periods in the | |
5678 | first line of the doc string for "info dos", except at the end of | |
5679 | the sentence, since the short help stops at the first period. | |
5680 | ||
985cb1a3 JM |
5681 | 2002-02-28 Jason Merrill <jason@redhat.com> |
5682 | ||
5683 | * dwarf2read.c (dwarf_cfi_name): Add new codes. | |
5684 | ||
c570663e FF |
5685 | 2002-02-27 Fred Fish <fnf@redhat.com> |
5686 | ||
5687 | * blockframe.c (generic_fix_call_dummy): Fix obvious typo in | |
5688 | comment (dumy -> dummy). | |
5689 | ||
43630227 PS |
5690 | 2002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5691 | ||
5692 | * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. | |
5693 | ||
b84911e8 RB |
5694 | 2002-02-27 Rodney Brown <rbrown64@csc.com.au> |
5695 | ||
5696 | * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5. | |
5697 | ||
58caa3dc DJ |
5698 | 2002-02-27 Daniel Jacobowitz <drow@mvista.com> |
5699 | ||
5700 | * gdbserver/acconfig.h: New file. | |
5701 | * gdbserver/i387-fp.c: New file. | |
5702 | * gdbserver/i387-fp.h: New file. | |
5703 | * gdbserver/linux-x86-64.c: New file. | |
5704 | * regformats/reg-x86-64.dat: New file. | |
5705 | * configure.tgt: Add x86_64-*-linux* gdbserver support. | |
5706 | * gdbserver/configure.srv: Add x86_64-*-linux* and regset support. | |
5707 | * gdbserver/configure.in: Add support for regsets. | |
5708 | * gdbserver/config.in: Regenerate. | |
5709 | * gdbserver/configure: Regenerate. | |
5710 | * gdbserver/Makefile.in: Likewise. Add $(linux_low_h). | |
5711 | * gdbserver/linux-low.h: New file. | |
5712 | * gdbserver/linux-low.c: Include "linux-low.h". Add support | |
5713 | for regsets. | |
5714 | * gdbserver/linux-arm-low.c: Include "linux-low.h". | |
5715 | * gdbserver/linux-ia64-low.c: Include "linux-low.h". | |
5716 | * gdbserver/linux-m68k-low.c: Include "linux-low.h". | |
5717 | * gdbserver/linux-mips-low.c: Include "linux-low.h". | |
5718 | * gdbserver/linux-ppc-low.c: Include "linux-low.h". | |
5719 | * gdbserver/linux-sh-low.c: Include "linux-low.h". | |
5720 | * gdbserver/linux-i386-low.c: Include "linux-low.h". Include | |
5721 | "i387-fp.h". Add PTRACE_GETREGS and friends. | |
5722 | * gdbserver/regcache.c (supply_register): New function. | |
5723 | (supply_register_by_name): New function. | |
5724 | (collect_register): New function. | |
5725 | (collect_register_by_name): New function. | |
5726 | ||
93652174 DJ |
5727 | 2002-02-27 Daniel Jacobowitz <drow@mvista.com> |
5728 | ||
5729 | * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER. | |
5730 | (config.status): Add configure.srv dependency. | |
5731 | (server_h): Add config.h dependency. | |
5732 | ||
a02e4a61 DJ |
5733 | 2002-02-27 Daniel Jacobowitz <drow@mvista.com> |
5734 | ||
5735 | * regformats/reg-i386-linux.dat: New file, with $orig_eax. | |
5736 | * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. | |
5737 | * gdbserver/configure.srv: Change i386-*-linux* to use | |
5738 | reg-i386-linux.o. | |
5739 | ||
ce0eebec AC |
5740 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
5741 | ||
5742 | * x86-64-tdep.c: Re-indent. Update copyright date. | |
5743 | ||
82dbc5f7 AC |
5744 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
5745 | ||
5746 | From Michal Ludvig <mludvig@suse.cz>: | |
5747 | * x86-64-tdep.c (value.h): Delete. | |
5748 | (gdb_assert.h): Include. | |
5749 | (x86_64_register_convert_to_virtual, | |
5750 | x86_64_register_convert_to_raw ): Add check which lets only | |
5751 | floating-point values to be converted. | |
5752 | (value_push): Delete. | |
5753 | (x86_64_push_arguments): Order of arguments pushed on stack fixed. | |
5754 | (i386_gdbarch_init): Number of register_bytes fixed. | |
5755 | ||
e4621584 AC |
5756 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
5757 | ||
5758 | * MAINTAINERS: Add x86-64 target. | |
5759 | ||
81a9a963 AC |
5760 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
5761 | ||
5762 | * memattr.c (mem_command): Eliminate ``true'' and ``false''. | |
5763 | * osfsolib.c (solib_map_sections): Ditto. | |
5764 | * irix5-nat.c (solib_map_sections): Ditto. | |
5765 | * corelow.c (gdb_check_format): Ditto. | |
5766 | * symfile.c (symfile_bfd_open): Ditto. | |
5767 | * solib.c (solib_map_sections): Ditto. | |
5768 | Fix PR gdb/354. | |
7e336ba1 | 5769 | |
0f017ab9 AC |
5770 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
5771 | ||
5772 | * remote.c (_initialize_remote): By default, disable ``e'' and | |
5773 | ``E'' step out-of-range packets. | |
5774 | ||
75738c29 AS |
5775 | 2002-02-26 Andreas Schwab <schwab@suse.de> |
5776 | ||
5777 | * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as | |
5778 | m68k_linux_frame_saved_pc. | |
5779 | (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of | |
5780 | in_sigtramp. | |
5781 | (SIGCONTEXT_PC_OFFSET): Remove. | |
5782 | * m68klinux-nat.c (m68k_linux_frame_saved_pc, | |
5783 | m68k_linux_sigtramp_saved_pc): New functions. | |
5784 | (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define. | |
5785 | (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h. | |
5786 | (UCONTEXT_PC_OFFSET): Define. | |
5787 | (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both | |
5788 | non-RT and RT signal trampolines. | |
5789 | ||
7e8ed687 RE |
5790 | 2002-02-26 Richard Earnshaw <rearnsha@arm.com> |
5791 | ||
5792 | * config/arm/tm-embed.h (TARGET_UPAGES): Delete. | |
5793 | (TARGET_NBPG, STACK_END_ADDR): Delete | |
5794 | (VARIABLES_INSIDE_BLOCK): Delete. | |
5795 | ||
6972bc8b AC |
5796 | 2002-02-25 Andrew Cagney <ac131313@redhat.com> |
5797 | ||
5798 | * utils.c (perror_with_name): Make string parameter constant. | |
5799 | (print_sys_errmsg): Ditto. | |
5800 | (query): Ditto. | |
5801 | * defs.h (perror_with_name): Update. | |
5802 | (print_sys_errmsg): Update. | |
5803 | (query): Update. | |
5804 | ||
aa32f823 DJ |
5805 | 2002-02-25 Daniel Jacobowitz <drow@mvista.com> |
5806 | ||
5807 | From Eliot Dresselhaus <eliot@ayrnetworks.com>: | |
5808 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo. | |
5809 | ||
19caaa45 PS |
5810 | 2002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5811 | ||
5812 | * rs6000-nat.c (set_host_arch): Do not switch to a new architecture | |
5813 | if it already matches the current architecture from the exec file. | |
5814 | Include arch-utils.h for gdbarch_info_init prototype. | |
5815 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
5816 | ||
d951901f EZ |
5817 | 2002-02-25 Eli Zaretskii <eliz@is.elta.co.il> |
5818 | ||
5819 | * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the | |
5820 | list of exported variables. | |
5821 | ||
7ea81414 DJ |
5822 | 2002-02-24 Daniel Jacobowitz <drow@mvista.com> |
5823 | ||
5824 | * gdbserver/configure.srv: New file. | |
5825 | * gdbserver/configure.in: Use configure.srv instead | |
5826 | of the host/target makefile fragments. Set GDBSERVER_DEPFILES | |
5827 | from it. | |
5828 | * gdbserver/configure: Regenerated. | |
5829 | * gdbserver/terminal.h: New file. | |
5830 | * gdbserver/Makefile.in: Update for configure changes. Remove | |
5831 | more unneeded include paths. | |
5832 | ||
080fe24b AC |
5833 | 2002-02-24 Andrew Cagney <ac131313@redhat.com> |
5834 | ||
5835 | From wiz at danbala: | |
5836 | * config/sparc/tm-sp64.h: Fix grammar and typos. | |
5837 | Fix PR gdb/287. | |
5838 | ||
8605d56e AC |
5839 | 2002-02-24 Andrew Cagney <ac131313@redhat.com> |
5840 | ||
5841 | * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux'' | |
a4b6fc86 AC |
5842 | with either ``GNU/Linux'' or ``Linux kernel''. Update copyright. |
5843 | * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto. | |
5844 | * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto. | |
ca557f44 AC |
5845 | * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto. |
5846 | * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto. | |
5847 | * s390-tdep.c: Ditto. | |
92362027 AC |
5848 | * config/nm-linux.h, config/alpha/nm-linux.h: Ditto. |
5849 | * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h: | |
5850 | * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto. | |
5851 | * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto. | |
5852 | * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto. | |
5853 | * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto. | |
5854 | * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto. | |
5855 | * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto. | |
5856 | * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto. | |
5857 | * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto. | |
8605d56e | 5858 | Fix PR gdb/378. |
7e336ba1 | 5859 | |
8ed32cc0 AC |
5860 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
5861 | ||
a3007b6f AC |
5862 | * lin-thread.c: Delete file. |
5863 | * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer | |
5864 | to gdb_proc_service.h. | |
5865 | * configure: Re-generate. | |
5866 | ||
50a9e2f1 AC |
5867 | * ocd.c (ocd_open): Do not try to open the "ocd" device. |
5868 | * serial.c (serial_open): Delete check for "ocd". | |
5869 | Fix PR gdb/349. | |
5870 | ||
8b6e7932 AC |
5871 | * Makefile.in (linux-thread.o): Delete target. |
5872 | * linux-thread.c: Delete file. | |
5873 | ||
d155c46b AC |
5874 | * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other |
5875 | renamed SH files to be consistent. | |
5876 | ||
8ed32cc0 AC |
5877 | * symtab.c (sort_search_symbols): Use xfree. |
5878 | ||
0e18d038 RE |
5879 | 2002-02-23 Richard Earnshaw <rearnsha@arm.com> |
5880 | ||
5881 | * arm-linux-tdep.c (arm_linux_init_abi): Register | |
5882 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE | |
5883 | * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old | |
5884 | definition with undef, since we don't want the sysvr4 definition. | |
5885 | (SKIP_TRAMPOLINE_CODE): Likewise. | |
5886 | ||
27aac7ff AC |
5887 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
5888 | ||
5889 | From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>: | |
5890 | ||
5891 | * configure.in: (AC_CHECK_FUNCS) Added test for | |
5892 | canonicalize_file_name Regenerated. | |
5893 | * config.in, configure: Regenerated. | |
5894 | * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is | |
5895 | defined use canonicalize_file_name. | |
7e336ba1 | 5896 | |
65a6e0ee MC |
5897 | 2002-02-23 Michael Chastain <mec@shout.net> |
5898 | ||
5899 | * MAINTAINERS: Remove Michael Chastain from "paper trail" list. | |
5900 | ||
47b95330 AC |
5901 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
5902 | ||
5903 | * README: Remove references to cygnus.com. | |
5904 | * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar | |
5905 | dot com'' form. Remove references to cygnus.com and sourceware. | |
5906 | ||
696f451b AC |
5907 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
5908 | ||
5909 | From 2002-02-19 Paul Eggert <eggert@twinsun.com>: | |
5910 | * Makefile.in (VER): Change "head -1" to "sed q", since POSIX | |
5911 | 1003.1-2001 no longer allows "head -1". | |
5912 | * gdb/Makefile.in (version.c): Likewise. | |
5913 | * gdb/doc/Makefile.in (GDBvn.texi): Likewise. | |
5914 | * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is | |
5915 | equivalent. POSIX 1003.1-2001 no longer allows "diff -c3". | |
5916 | ||
bbaca940 AC |
5917 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
5918 | ||
5919 | * cli/cli-decode.c (cmd_cfunc_eq): New function. | |
5920 | * command.h (cmd_cfunc_eq): Declare. | |
5921 | * cli/cli-decode.h (cmd_cfunc_eq): Ditto. | |
5922 | ||
5923 | * cli/cli-cmds.h (is_complete_command): Change parameter to a | |
5924 | ``struct cmd_list_element *''. | |
5925 | * cli/cli-cmds.c (is_complete_command): Update. Use | |
5926 | cmd_cfunc_eq. | |
5927 | * top.c (execute_command): Pass the command to | |
5928 | is_complete_command. | |
5929 | * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq. | |
5930 | ||
b8b8b047 AC |
5931 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
5932 | ||
5933 | From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>: | |
5934 | * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed | |
5935 | architecture defines. | |
5936 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
5937 | ||
19d3fc80 RE |
5938 | 2002-02-23 Richard Earnshaw <rearnsha@arm.com> |
5939 | ||
5940 | * arm-linux-tdep.c (arm_linux_extract_return_value): Make static. | |
5941 | (arm_linux_push_arguments): Likewise. | |
5942 | (arm_linux_init_abi): Register them. Also register linux-specific | |
5943 | call_dummy_words. | |
5944 | (find_minsym_and_objfile): Use strcmp, not STREQ. | |
5945 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete. | |
5946 | (arm_linux_call_dummy_words): Delete declaration. | |
5947 | (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete. | |
5948 | (arm_linux_extract_return_value, arm_linux_push_arguments): Delete | |
5949 | declarations. | |
5950 | (LOWEST_PC): Delete. | |
5951 | ||
3ab13650 PS |
5952 | 2002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
5953 | ||
5954 | * maint.c (print_section_info): Do not prepend `0x' to filepos | |
5955 | output, it will be handled by local_hex_string_custom. | |
5956 | ||
19d3fc80 | 5957 | 2002-02-23 Richard Earnshaw <rearnsha@arm.com> |
85ae890c RE |
5958 | |
5959 | * arm-linux-nat.c (store_newfpe_single): Use regcache_collect. | |
5960 | (store_newfpe_double, store_newfpe_extended, store_fpregister) | |
5961 | (store_register, store_regs, fill_gregset, fill_fpregset): Likewise. | |
5962 | ||
d85a5daf JB |
5963 | 2002-02-22 Jim Blandy <jimb@redhat.com> |
5964 | ||
5965 | Indicate that the bcache functions don't change the strings | |
5966 | they're passed. | |
5967 | * bcache.h (bcache, hash): Add `const' keywords to declarations. | |
5968 | * bcache.c (bcache, hash): Add `const' keywords to definitions. | |
5969 | ||
eeb25b8a PM |
5970 | 2002-02-22 Pierre Muller <muller@ics.u-strasbg.fr> |
5971 | ||
5972 | * win32-nat.c (child_create_inferior): Fix create flags setting bug. | |
5973 | ||
6badb179 CF |
5974 | 2002-02-21 Christopher Faylor <cgf@redhat.com> |
5975 | ||
5976 | * win32-nat.c (register_loaded_dll): Just use raw name when we can't | |
5977 | find the complete path to a loaded DLL. | |
5978 | ||
e8717518 FF |
5979 | 2002-02-21 Fred Fish <fnf@redhat.com> |
5980 | ||
5981 | * dbxread.c (process_one_symbol): When finding an N_FUN symbol | |
5982 | that marks the end of the range of a function, enter a line number | |
5983 | entry that has a line number of zero and a PC offset that matches | |
5984 | the end of the function. This starts a range of PC's for which no | |
5985 | line number information is known. | |
5986 | * symtab.c (find_pc_sect_line): If our best fit is in a range of | |
5987 | PC's for which no line number info is found (line number is zero) | |
5988 | then we didn't find any valid line information. | |
5989 | * symtab.h: Document use of zero line number entry. | |
5990 | ||
9abe5450 EZ |
5991 | 2002-02-21 Elena Zannoni <ezannoni@redhat.com> |
5992 | ||
5993 | * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define. | |
5994 | (have_ptrace_getvrregs): Define for run time checks. | |
5995 | (gdb_vrregset_t): New type for Altivec register handling. | |
5996 | (fetch_register, store_register): Fetch/store altivec register | |
5997 | when needed. | |
5998 | (fetch_altivec_register, store_altivec_register): New functions. | |
5999 | (supply_vrregset, fill_vrregset): New functions. | |
6000 | (fetch_altivec_registers, store_altivec_registers): New functions. | |
6001 | (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec | |
6002 | registers as well. | |
6003 | ||
aaa38bb5 AJ |
6004 | 2002-02-21 Jiri Smid <smid@suse.cz> |
6005 | ||
6006 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o. | |
6007 | ||
b34db576 RE |
6008 | 2002-02-21 Richard Earnshaw <rearnsha@arm.com> |
6009 | ||
6010 | * Makefile.in (armnbsd-nat.o): Update dependencies. | |
6011 | * armnbsd-nat.c (supply_gregset): New function. Common code to | |
6012 | supply the integer register set. | |
6013 | (supply_fparegset): New function. Similar for FPA registers. | |
6014 | (fetch_regs, fetch_fp_regs): Use them. | |
6015 | (fetch_core_registers): Likewise. | |
6016 | (fetch_elfcore_registers): New function. | |
6017 | (arm_netbsd_elfcore_fns): New core-file type specification. | |
6018 | (_initialize_arm_netbsd_nat): Register it. | |
6019 | ||
3e56fc4b RE |
6020 | 2002-02-21 Richard Earnshaw <rearnsha@arm.com> |
6021 | ||
6022 | * armnbsd-nat.c: Include gdbcore.h. | |
6023 | (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined. | |
6024 | (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit | |
6025 | 'void' to declaration, to shut up ARI. | |
6026 | (fetch_core_registers): Make static. Rewrite using supply_register. | |
6027 | (arm_netbsd_core_fns): New core-file type specification. | |
6028 | (_initialize_arm_netbsd_nat): New function. | |
6029 | ||
097f6b0b CF |
6030 | 2002-02-21 Christopher Faylor <cgf@redhat.com> |
6031 | ||
6032 | * win32-nat.c (register_loaded_dll): Correctly check for invalid handle | |
6033 | value. | |
6034 | ||
c914e0cc CF |
6035 | 2002-02-20 Christopher Faylor <cgf@redhat.com> |
6036 | ||
6037 | * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile | |
6038 | fails. | |
6039 | ||
385fa495 DJ |
6040 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
6041 | ||
6042 | * jv-exp.y (parse_number): Change type of implicit longs | |
6043 | to builtin_type_uint64. | |
6044 | ||
e5f1222d DJ |
6045 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
6046 | ||
6047 | * gdbserver/linux-low.c (mywait): Change argument to waitpid | |
6048 | to be an integer instead of a `union wait'. | |
6049 | ||
75c9abc6 DJ |
6050 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
6051 | ||
6052 | * mips-linux-nat.c: Call the operating system GNU/Linux. | |
6053 | * mips-linux-tdep.c: Likewise. | |
6054 | * mips-tdep.c: Likewise. | |
6055 | ||
551792a5 DJ |
6056 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
6057 | ||
6058 | Fix PR gdb/265. | |
6059 | * jv-exp.y (parse_number): Handle 64-bit integers. | |
6060 | ||
ee6e2b82 DJ |
6061 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
6062 | ||
6063 | * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change | |
6064 | AC_STDC_HEADERS to AC_HEADER_STDC. | |
6065 | * gdbserver/configure: Regenerated. | |
6066 | ||
a48442a0 RE |
6067 | 2002-02-20 Richard Earnshaw <rearnsha@arm.com> |
6068 | ||
6069 | * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC | |
6070 | is defined. | |
6071 | * sparc-tdep.c (get_longjmp_target): Likewise. | |
6072 | ||
fe419ffc RE |
6073 | 2002-02-20 Richard Earnshaw <rearnsha@arm.com> |
6074 | ||
6075 | * News: Add news about ARM and Multi-arch. Mention the new target | |
6076 | arm*-*-netbsd*. | |
6077 | ||
5832ed7e JB |
6078 | 2002-02-19 Jim Blandy <jimb@redhat.com> |
6079 | ||
6080 | * stabsread.c (error_type_complaint): Improve error message. | |
6081 | ||
84563040 DJ |
6082 | 2002-02-19 Daniel Jacobowitz <drow@mvista.com> |
6083 | ||
6084 | * gdbserver/README: Update documentation. | |
6085 | * gdbserver/configure.in: Update configury to match documentation. | |
6086 | * gdbserver/Makefile.in: Likewise. | |
6087 | * gdbserver/configure: Regenerated. | |
6088 | * gdbserver/aclocal.m4: New file, generated by aclocal. | |
6089 | * gdbserver/config.in: New file, generated by autoheader. | |
6090 | ||
375fd65b RE |
6091 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
6092 | ||
6093 | * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and | |
6094 | armnbsd-nat.c. | |
6095 | ||
08216dd7 RE |
6096 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
6097 | ||
6098 | * arm-tdep.h (enum arm_float_model): New enum. | |
6099 | (struct gdbarch_tdep): Add fp_model. | |
6100 | * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting | |
6101 | up floating-point conversions until we know the floating-point model | |
6102 | in use by the inferior. Don't complain about being unable to | |
6103 | determine the ABI of the inferior when we don't have one. | |
6104 | (arm_extract_return_value): Support different floating-point models. | |
6105 | (arm_store_return_value): Likewise. | |
aaa38bb5 | 6106 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to |
08216dd7 RE |
6107 | ARM_FLOAT_SOFT. |
6108 | (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP. | |
6109 | ||
65d6d66a PS |
6110 | 2002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
6111 | ||
6112 | * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use | |
6113 | of ``current_gdbarch''. | |
6114 | ||
47221191 RE |
6115 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
6116 | ||
6117 | * armnbsd-nat.c : ANSIfy all function declarations. | |
6118 | (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New. | |
6119 | (fetch_inferior_registers): Re-implement in terms of above. | |
6120 | (store_register, store_regs, store_fp_register, store_fp_regs): New. | |
6121 | (store_inferior_registers): Re-implement in terms of above. | |
6122 | ||
fdf39c9a RE |
6123 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
6124 | ||
aaa38bb5 | 6125 | * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the |
fdf39c9a RE |
6126 | kernel. |
6127 | * arm-linux-tdep.c: Likewise. | |
6128 | * config/arm/tm-linux.h: Likewise. | |
6129 | ||
93247f88 RE |
6130 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
6131 | ||
6132 | * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch. | |
6133 | * config/arm/nbsd.mt (TM_FILE): Delete. | |
6134 | * config/arm/tm-nbsd.h: Delete. | |
6135 | ||
d7b486e7 RE |
6136 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
6137 | ||
6138 | * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED. | |
6139 | Initialize CALL_DUMMY_LENGTH. | |
6140 | ||
41d39a95 RE |
6141 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
6142 | ||
6143 | * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New | |
6144 | function. | |
6145 | (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE. | |
aaa38bb5 | 6146 | * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only |
41d39a95 RE |
6147 | defines one thing and that is incorrect for this port. |
6148 | (IN_SOLIB_CALL_TRAMPOLINE): Delete. | |
6149 | ||
e1195560 PM |
6150 | 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
6151 | ||
6152 | * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro. | |
6153 | ||
c1748f97 PM |
6154 | 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
6155 | ||
6156 | * win32-nat.c (display_selector): New function. Displays information | |
6157 | about the information returned by GetThreadSelectorEntry API function. | |
6158 | (display_selectors): New function. Displays the infomation of | |
6159 | the selector given as argument, or of CS, DS ans FS selectors | |
6160 | if no argument is given. | |
6161 | ( _initialize_inftarg): Add "w32" as info prefix command. | |
6162 | Add "info w32 selector" as command calling display_selectors. | |
6163 | ||
e41e6bbf PM |
6164 | 2002-02-19 Pierre Muller <muller@ics.u-strasbg.fr> |
6165 | ||
6166 | * i386-tdep.c (get_longjmp_target): Fix compilation failure | |
6167 | by setting dummy values to JB_PC and JB_ELEMENT_SIZE | |
6168 | if not defined. | |
6169 | ||
0d3a9f48 RE |
6170 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
6171 | ||
6172 | * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o. | |
6173 | ||
3fb4b924 RE |
6174 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
6175 | ||
6176 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function. | |
6177 | (arm_fix_call_dummy): Call it. | |
6178 | (arm_call_dummy_breakpoint_offset): Delete. | |
6179 | (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset. | |
6180 | * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
6181 | ||
7f55af32 AC |
6182 | 2002-02-18 Andrew Cagney <ac131313@redhat.com> |
6183 | ||
6184 | * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2. | |
6185 | Default to func_frame_chain_valid. | |
6186 | * gdbarch.h, gdbarch.c: Re-generate. | |
6187 | * frame.h (FRAME_CHAIN_VALID): Delete definition. | |
6188 | ||
05f13b9c EZ |
6189 | 2002-02-18 Elena Zannoni <ezannoni@redhat.com> |
6190 | ||
6191 | * ppc-linux-nat.c: Update copyright. | |
6192 | (fetch_register, store_register): Add tid parameter, don't compute | |
6193 | tid here. | |
6194 | (fetch_ppc_registers, store_ppc_registers): Add tid | |
6195 | parameter. Pass it along to callees. | |
6196 | (fetch_inferior_registers, store_inferior_registers): Compute tid | |
6197 | here, and pass it to calleed functions. | |
6198 | (fill_gregset, supply_fpregset): Clean up formatting. | |
6199 | ||
d7afb4c9 RE |
6200 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
6201 | ||
6202 | * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double. | |
6203 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete. | |
6204 | ||
9df628e0 RE |
6205 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
6206 | ||
6207 | * gdbarch.sh (GET_LONGJMP_TARGET): Add rule. | |
6208 | * gdbarch.c gdbarch.h: Regenerate. | |
6209 | * breakpoint.c (create_longjmp_breakpoint): Always compile this | |
6210 | function. | |
6211 | (breakpoint_reset): Test GET_LONGJMP_TARGET_P(). | |
6212 | * infrun.c (GET_LONGJMP_TARGET): Delete default definition. | |
6213 | (handle_inferior_event): Test GET_LONGJMP_TARGET_P(). | |
6214 | ||
6215 | * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields. | |
6216 | * arm-tdep.c (arm_get_longjmp_target): New function. | |
6217 | (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes | |
6218 | this to a positive value register arm_get_longjmp_target as the | |
6219 | longjmp handler. | |
6220 | * arm-linux-tdep.c (arm_get_longjmp_target): Delete. | |
6221 | (arm_linux_init_abi): Set up longjmp description in tdep. | |
6222 | * armnbsd-nat.c (get_longjmp_target): Delete. | |
6223 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp | |
6224 | description in tdep. | |
6225 | * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete. | |
6226 | (get_longjmp_target): Delete declaration. | |
6227 | (GET_LONGJMP_TARGET): Delete. | |
6228 | * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration. | |
6229 | (GET_LONGJMP_TARGET): Delete. | |
6230 | ||
57bc8964 KB |
6231 | 2002-02-17 Kevin Buettner <kevinb@redhat.com> |
6232 | ||
6233 | From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>: | |
6234 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use | |
6235 | of ``current_gdbarch''. | |
6236 | ||
83d31a92 TT |
6237 | 2002-02-17 Tom Tromey <tromey@redhat.com> |
6238 | ||
6239 | * cli/cli-cmds.c (compare_strings): New function. | |
6240 | (complete_command): Only print each unique item once. | |
6241 | * completer.h (complete_line): Declare. | |
6242 | * completer.c (complete_line): New function. | |
6243 | (line_completion_function): Use it. | |
6244 | ||
17ef5d92 AC |
6245 | 2002-02-16 Andrew Cagney <ac131313@redhat.com> |
6246 | ||
6247 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64. | |
6248 | * gdbarch.h, gdbarch.c: Re-generate. | |
6249 | ||
491b8946 DJ |
6250 | 2002-02-16 Daniel Jacobowitz <drow@mvista.com> |
6251 | ||
6252 | * valarith.c (value_x_unop): Fix decrement; support post-decrement. | |
6253 | ||
6254 | 2002-02-16 Daniel Jacobowitz <drow@mvista.com> | |
6255 | ||
6256 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>: | |
6257 | * valops.c (value_arg_coerce): Don't take the address of a reference | |
6258 | to convert an argument to a reference. | |
6259 | ||
dfe7f3ac CF |
6260 | 2002-02-15 Christopher Faylor <cgf@redhat.com> |
6261 | ||
6262 | * win32-nat.c (get_image_name): New function. | |
6263 | (handle_load_dll): Use get_image_name function. | |
6264 | (get_child_debug_event): Avoid registering debug events until possibly | |
6265 | execed process is started. | |
6266 | (child_create_inferior): Allow invocation via shell so that command | |
6267 | line redirection, etc. works ok. | |
6268 | (_initialize_inftarg): Add new command: "set shell" to control whether | |
6269 | a shell is used to start a process. | |
6270 | ||
1d33e73a DJ |
6271 | 2002-02-15 Daniel Jacobowitz <drow@mvista.com> |
6272 | ||
6273 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno | |
6274 | instead of find_register_by_number. | |
6275 | (cannot_store_register): Likewise. | |
6276 | ||
48cd0caa PM |
6277 | 2002-02-14 Pierre Muller <muller@ics.u-strasbg.fr> |
6278 | ||
aaa38bb5 | 6279 | * dwarf2read.c: Replace fprintf (stderr, ...) by |
48cd0caa PM |
6280 | fprintf_unfiltered (gdb_stderr, ...). |
6281 | ||
8656e7d8 DJ |
6282 | 2002-02-15 Daniel Jacobowitz <drow@mvista.com> |
6283 | ||
6284 | * gdbserver/gdbserver.1: Document --attach. | |
6285 | ||
66e810cd RE |
6286 | 2002-02-15 Richard Earnshaw <rearnsha@arm.com> |
6287 | ||
6288 | * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint | |
6289 | descriptions. | |
6290 | * arm-tdep.c (arm_default_arm_le_breakpoint) | |
6291 | (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) | |
6292 | (arm_default_thumb_be_breakpoint): New. Initialize them from | |
6293 | traditional breakpoint defines. | |
6294 | (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. | |
6295 | (arm_gdbarch_init): Initialize new breakpoint variables. | |
6296 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. | |
6297 | (arm_linux_init_abi): Initialize linux-specific breakpoint. | |
6298 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. | |
6299 | (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common | |
6300 | code out to ... | |
6301 | (arm_netbsd_init_abi_common): ... here; new function. | |
6302 | * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) | |
6303 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. | |
6304 | * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. | |
6305 | * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete. | |
6306 | ||
97e03143 RE |
6307 | 2002-02-15 Richard Earnshaw <rearnsha@arm.com> |
6308 | ||
6309 | * arm-tdep.h (enum arm_abi): New enum. | |
6310 | (struct gdbarch_tdep): New structure. | |
6311 | (LOWEST_PC): Provide a default. | |
6312 | (arm_gdbarch_register_os_abi): Declare new function. | |
6313 | * arm-tdep.c (arm_abi_names): New array. | |
6314 | (process_note_abi_tag_sections): New function. | |
6315 | (get_elfosabi): New function. | |
6316 | (arm_gdbarch_register_os_abi): New function. | |
6317 | (arm_gdbarch_init): Try to determine the ABI of the inferior. If | |
6318 | support for that ABI has been built in, then call the appropriate | |
6319 | configuration routine. Use gdbarch_num_regs() to get the number | |
6320 | of registers. | |
6321 | (arm_dump_tdep): New function. | |
6322 | (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New | |
6323 | place-holder functions. | |
6324 | (_initialize_arm_tdep): Register them. | |
6325 | * config/arm/tm-arm.h (LOWEST_PC): Delete. | |
6326 | ||
6327 | * armnbsd-tdep.c: New file. | |
6328 | * Makefile.in (armnbsd-tdep.o): Add dependencies. | |
6329 | * config/arm/nbsd.mt (TDEPFILES): Add it. | |
6330 | * config/arm/tm-nbsd.h (LOWEST_PC): Delete. | |
6331 | ||
6332 | * armnbsd-nat.c: Include regcache.h. | |
6333 | * Makefile.in (armnbsd-nat.o): Update dependency list. | |
6334 | ||
6335 | * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message. | |
6336 | ||
ad68be46 DJ |
6337 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
6338 | ||
6339 | * gdbserver/Makefile.in: Fix typos in target rules. | |
6340 | ||
003d6d1d DJ |
6341 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
6342 | ||
aaa38bb5 | 6343 | Fix part of PR gdb/267. |
003d6d1d DJ |
6344 | * linespec.c (find_methods): Handle constructors specially for now. |
6345 | ||
6b230f1b CV |
6346 | 2002-02-14 Corinna Vinschen <vinschen@redhat.com> |
6347 | ||
6348 | * arm-tdep.c (arm_push_arguments): Eliminate special float type | |
6349 | handling. | |
6350 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call | |
6351 | standard_coerce_float_to_double(). | |
6352 | ||
1ea98d12 CF |
6353 | 2002-02-14 Christopher Faylor <cgf@redhat.com> |
6354 | ||
6355 | * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of | |
6356 | GDBINIT_FILENAME. | |
6357 | ||
dd47e6fd EZ |
6358 | 2002-02-14 Elena Zannoni <ezannoni@redhat.com> |
6359 | ||
6360 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't call | |
6361 | find_variant_by_name, because it confuses the multiarch | |
6362 | framework. Return NULL if there isn't an architecture with the | |
6363 | user supplied name, instead of forcing a different one without | |
6364 | recording the change with the multiarch machinery. | |
6365 | (find_variant_by_name): Delete. | |
6366 | ||
d7e39b9e PS |
6367 | 2002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
6368 | ||
6369 | * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by | |
6370 | i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore. | |
6371 | ||
76e42a4f MH |
6372 | 2002-02-13 Martin M. Hunt <hunt@redhat.com> |
6373 | ||
aaa38bb5 | 6374 | * stack.c (print_frame_info_base): When calling |
76e42a4f MH |
6375 | print_frame_info_listing_hook, set current_source_symtab. |
6376 | ||
0a30fbc4 DJ |
6377 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
6378 | ||
6379 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, | |
6380 | and remove unused $(INCLUDE_DIR). | |
6381 | Add regcache.c to OBS. | |
6382 | Add generated register protocol files to clean target. | |
6383 | Update dependencies for new objects, obsolete old target code. | |
6384 | ||
6385 | * gdbserver/linux-low.c: Remove all platform-specific code to | |
6386 | new files. Remove various dead code. Update to use regcache | |
6387 | functionality. | |
6388 | * gdbserver/remote-utils.c (fromhex): Add return statement | |
6389 | to quiet warning. | |
6390 | (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer | |
6391 | constant. | |
6392 | (input_interrupt): Add integer parameter to match prototype | |
6393 | of a signal handler. | |
6394 | (outreg): Use register_data (). | |
6395 | (prepare_resume_reply): Use gdbserver_expedite_regs. | |
6396 | * gdbserver/server.c (main): Dynamically allocate own_buf because | |
6397 | PBUFSIZ is no longer constant. Use registers_to_string () and | |
6398 | registers_from_string (). | |
6399 | * gdbserver/server.h: No longer include "defs.h". Add prototypes | |
6400 | for error (), fatal (), and warning (). Update definition of | |
6401 | PBUFSIZ to use regcache functionality. Add include guard. | |
6402 | * gdbserver/utils.c (fatal): Add missing ``const''. | |
6403 | (warning): New function. | |
6404 | ||
6405 | * regformats/regdat.sh: Include "regcache.h" in generated files. | |
6406 | Provide init_registers () function. | |
6407 | * regformats/regdef.h: Add prototype for set_register_cache (). | |
6408 | Add include guard. | |
6409 | ||
6410 | * gdbserver/linux-arm-low.c: New file. | |
6411 | * gdbserver/linux-i386-low.c: New file. | |
6412 | * gdbserver/linux-ia64-low.c: New file. | |
6413 | * gdbserver/linux-m68k-low.c: New file. | |
6414 | * gdbserver/linux-mips-low.c: New file. | |
6415 | * gdbserver/linux-ppc-low.c: New file. | |
6416 | * gdbserver/linux-sh-low.c: New file. | |
6417 | ||
6418 | * gdbserver/regcache.c: New file. | |
6419 | * gdbserver/regcache.h: New file. | |
6420 | ||
6421 | * gdbserver/low-linux.c: Removed obsolete file. | |
6422 | ||
4cc841d0 DJ |
6423 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
6424 | ||
6425 | * config/arm/linux.mt: Update GDBSERVER_DEPFILES. | |
6426 | * config/i386/linux.mt: Likewise. | |
6427 | * config/ia64/linux.mt: Likewise. | |
6428 | * config/m68k/linux.mh: Likewise. | |
6429 | * config/powerpc/linux.mh: Likewise. | |
6430 | * config/mips/linux.mt: Likewise. | |
6431 | ||
6432 | * config/sh/linux.mt: Add GDBSERVER_DEPFILES. | |
6433 | ||
6434 | * config/i386/i386lynx.mh: Mark gdbserver variables | |
6435 | as (currently) obsolete for this target. | |
6436 | * config/i386/nbsd.mt: Likewise. | |
6437 | * config/i386/nbsdelf.mt: Likewise. | |
6438 | * config/m32r/m32r.mt: Likewise. | |
6439 | * config/m68k/m68klynx.mh: Likewise. | |
6440 | * config/m68k/nbsd.mt: Likewise. | |
6441 | * config/m68k/sun3os4.mh: Likewise. | |
6442 | * config/mips/vr5000.mt: Likewise. | |
6443 | * config/ns32k/nbsd.mt: Likewise. | |
6444 | * config/pa/hppabsd.mh: Likewise. | |
6445 | * config/pa/hppaosf.mh: Likewise. | |
6446 | * config/powerpc/nbsd.mt: Likewise. | |
6447 | * config/rs6000/rs6000lynx.mh: Likewise. | |
6448 | * config/s390/s390.mt: Likewise. | |
6449 | * config/s390/s390x.mt: Likewise. | |
6450 | * config/sparc/sparclynx.mh: Likewise. | |
6451 | * config/sparc/sun4os4.mh: Likewise. | |
6452 | * config/i386/x86-64linux.mt: Likewise. | |
6453 | * config/sparc/linux.mh: Likewise. | |
6454 | ||
a85f51e7 DJ |
6455 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
6456 | ||
6457 | * configure.tgt: Configure gdbserver only for known working | |
6458 | targets. Set ${build_gdbserver} instead of modifying ${configdirs}. | |
6459 | * configure.in: Check ${build_gdbserver}. Put gdbserver/ into | |
6460 | SUBDIRS if it is configured. Update comment for ${nativefile}. | |
6461 | * configure: Regenerated. | |
6462 | ||
65554fef MS |
6463 | 2002-02-13 Michael Snyder <msnyder@redhat.com> |
6464 | ||
670a52db MS |
6465 | * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES. |
6466 | ||
6dbdc4a3 MS |
6467 | * gcore.c (gcore_command): Use gcore_default_target instead of NULL. |
6468 | (default_gcore_mach): Just return 0, work around a problem in bfd. | |
6469 | (default_gcore_target): OK to return NULL if exec_bfd is null. | |
6470 | (make_mem_sec): Use a cast, avoid a warning. | |
6471 | ||
6472 | * procfs.c (find_memory_regions_callback): Use a cast instead of | |
aaa38bb5 | 6473 | calling host_pointer_to_address (which complains if |
6dbdc4a3 MS |
6474 | sizeof (host pointer) != sizeof (target pointer)). |
6475 | (procfs_make_note_section): Avoid overflow in psargs string. | |
6476 | ||
aaa38bb5 | 6477 | * procfs.c (procfs_make_note_section): Make the default |
65554fef MS |
6478 | implementation return an error. |
6479 | ||
6480 | 2002-02-13 Rodney Brown <rbrown64@csc.com.au> | |
6481 | ||
6482 | * procfs.c (procfs_make_note_section): Provide a default definition | |
6483 | (for alpha-dec-osf4.0f). Fix typos. | |
6484 | ||
1e4d76e7 EZ |
6485 | 2002-02-13 Elena Zannoni <ezannoni@redhat.com> |
6486 | ||
6487 | * linux-proc.c: Add include of regcache.h. | |
6488 | * Makefile.in (linux-proc.o): Add dependency on regcache.h. | |
6489 | ||
b6d1a1d5 AC |
6490 | 2002-02-13 Andrew Cagney <ac131313@redhat.com> |
6491 | ||
6492 | From 2002-01-18 Greg McGary <greg@mcgary.org>: | |
aaa38bb5 AJ |
6493 | * memattr.c (create_mem_region): Disallow useless empty region. |
6494 | Regions are half-open intervals, so allow [A..B) [B..C) as | |
65554fef | 6495 | non-overlapping. |
b6d1a1d5 | 6496 | |
6c6ea35e MC |
6497 | 2002-02-13 Michael Chastain <mec@shout.net> |
6498 | ||
6499 | * defs.h: Kill CONST_PTR. | |
6500 | * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". | |
6501 | * c-lang.c (c_builtin_types): Likewise. | |
6502 | * ch-lang.c (ch_builtin_types): Likewise. | |
6503 | * f-lang.c (f_builtin_types): Likewise. | |
6504 | * language.c (unknown_builtin_types): Likewise. | |
6505 | * m2-lang.c (m2_builtin_types): Likewise. | |
6506 | * p-lang.c (pascal_builtin_types): Likewise. | |
6507 | * scm-lang.c (c_builtin_types): Likewise. | |
6508 | ||
3e0b0f48 KS |
6509 | 2002-02-13 Keith Seitz <keiths@redhat.com> |
6510 | ||
6511 | * arm-tdep.h (arm_get_next_pc): Add declaration. | |
6512 | ||
67255d04 RE |
6513 | 2002-02-13 Richard Earnshaw <rearnsha@arm.com> |
6514 | ||
6515 | * arm-tdep.c (arm_use_struct_convention): Make static. Move to be | |
6516 | with other related struct-returning functions. | |
6517 | (arm_extract_struct_value_address): New function. | |
6518 | (arm_gdbarch_init): Initialize the above in multi-arch vector. Also | |
6519 | initialize float_format, double_format and long_double_format as | |
6520 | appropriate to the endianness of the target. | |
6521 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. | |
6522 | (arm_use_struct_convention): Delete declaration. | |
6523 | (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete. | |
6524 | ||
079777f6 KS |
6525 | 2002-02-13 Keith Seitz <keiths@redhat.com> |
6526 | ||
6527 | * defs.h (core_addr_to_string_nz): New function. | |
6528 | ||
34588f23 MK |
6529 | 2002-02-13 Mark Kettenis <kettenis@gnu.org> |
6530 | ||
6531 | Apply missing bits of 2002-01-15 patch. | |
6532 | * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. | |
6533 | (fill_fpregset): Use i387_fill_fsave. | |
6534 | ||
49b563f9 KS |
6535 | 2002-02-12 Keith Seitz <keiths@redhat.com> |
6536 | ||
49b563f9 KS |
6537 | * utils.c (core_addr_to_string): Use phex instead of phex_nz. |
6538 | (core_addr_to_string_nz): New function. | |
6539 | ||
aeb98c60 RE |
6540 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
6541 | ||
6542 | * arm-linux-nat.c: Really include arm-tdep.h. | |
6543 | * config/arm/tm-linux.h (struct type, struct value): Declare. | |
6544 | ||
65554fef MS |
6545 | 2002-02-11 Michael Snyder <msnyder@redhat.com> |
6546 | ||
6547 | * procfs.c: Include elf-bfd.h (for elfcore_write functions). | |
6548 | (gcore section): Ifdef for Solaris and Unixware only. | |
6549 | (procfs_do_thread_registers): Unixware needs one lwpstatus | |
6550 | per thread (not one prstatus or pstatus). | |
6551 | (procfs_make_note_section): Iterate only over kernel threads (lwps), | |
6552 | not over all gdb threads. For unixware, call elfcore_write_pstatus | |
6553 | once before iterating over threads. | |
6554 | ||
34e8f22d RE |
6555 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
6556 | ||
6557 | * arm-tdep.h: New file. | |
6558 | * arm-tdep.c: Include arm-tdep.h. | |
6559 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
6560 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
6561 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
6562 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
6563 | (arm_extract_return_value, arm_register_name): Make static. | |
6564 | (arm_software_single_step): Similarly. Fix types in declaration. | |
6565 | (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) | |
6566 | (arm_store_return_value, arm_store_struct_return): New functions. | |
6567 | (arm_gdbarch_init): Register the above functions. Also register | |
6568 | call_dummy_start_offset, sizeof_call_dummy_words, | |
6569 | function_start_offset, inner_than, decr_pc_after_break, fp_regnum, | |
6570 | sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, | |
aaa38bb5 | 6571 | max_register_virtual_size, register_size. Set up |
34e8f22d RE |
6572 | prologue_cache.saved_regs here, rather than ... |
6573 | (_initialize_arm_tdep): ... here. | |
6574 | * config/arm/tm-arm.h (struct type, struct value): Delete forward | |
6575 | declarations. | |
6576 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
6577 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
6578 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
6579 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
6580 | (arm_extract_return_value, arm_register_name): Delete declarations. | |
6581 | (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) | |
6582 | (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) | |
6583 | (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) | |
6584 | (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) | |
6585 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
6586 | (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) | |
6587 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) | |
6588 | (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) | |
6589 | (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) | |
6590 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. | |
6591 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) | |
6592 | (arm_get_next_pc): No-longer static -- these are needed by the RDI | |
6593 | interface. | |
6594 | * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. | |
6595 | * remote-rdi.c remote-rdp.c: Likewise. | |
6596 | * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) | |
6597 | (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. | |
6598 | * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus | |
6599 | definition. | |
6600 | ||
6601 | * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) | |
6602 | (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) | |
6603 | (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed | |
6604 | from non-ARM_ prefixed definitions. | |
6605 | * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update | |
6606 | all uses of above. | |
6607 | * remote-rdi.c remote-rdp.c: Likewise. | |
6608 | * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM. | |
6609 | ||
148754e5 RE |
6610 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
6611 | ||
6612 | * arm-tdep.c (arm_frameless_function_invocation) | |
6613 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
6614 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
6615 | (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
6616 | (arm_pop_frame, arm_get_next_pc): Make static. | |
6617 | (arm_gdbarch_init): Register above in gdbarch structure. | |
6618 | (arm_read_fp): Renamed from arm_target_read_fp. | |
6619 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. | |
6620 | * config/arm/tm-arm.h (arm_frameless_function_invocation) | |
6621 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
6622 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
6623 | (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
6624 | (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) | |
6625 | (arm_pc_is_thumb_dummy): Delete declarations. | |
fcfb8836 RE |
6626 | (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN) |
6627 | (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS) | |
6628 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP) | |
6629 | (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete. | |
148754e5 | 6630 | |
434d2d4f DJ |
6631 | 2002-02-10 Daniel Jacobowitz <drow@mvista.com> |
6632 | ||
6633 | * symtab.c (compare_search_syms): New function. | |
6634 | (sort_search_symbols): New function. | |
6635 | (search_symbols): Sort symbols after searching rather than | |
6636 | before. | |
6637 | ||
55241689 AC |
6638 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
6639 | ||
6640 | * NEWS: Linux -> GNU/Linux. | |
6641 | ||
028c194b AC |
6642 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
6643 | ||
6644 | * gdbarch.sh: For for level one methods, disallow a definition | |
6645 | when partially multi-arched. Add comments explaining rationale. | |
6646 | * gdbarch.h: Re-generate. | |
6647 | ||
6acf50cd AC |
6648 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
6649 | ||
6650 | * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when | |
6651 | multi-arch partial. | |
aaa38bb5 | 6652 | |
50248794 AC |
6653 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
6654 | ||
6655 | * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad | |
6656 | field. Use diff -u. | |
6657 | * gdbarch.c: Re-generate. | |
6658 | ||
c30e0066 AC |
6659 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
6660 | ||
9b56c5f3 | 6661 | * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete. |
c30e0066 AC |
6662 | * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch |
6663 | partial. | |
6664 | ||
6e6d6484 AC |
6665 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
6666 | ||
6667 | * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when | |
6668 | multi-arch partial. | |
6669 | (PUSH_ARGUMENTS): Switch to using predefault. | |
6670 | * gdbarch.c: Regenerate. | |
6671 | ||
c203844d AC |
6672 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
6673 | ||
6674 | * valops.c (PUSH_ARGUMENTS): Delete definition. | |
6675 | * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch | |
6676 | partial. Default to default_push_arguments. | |
6677 | * gdbarch.h, gdbarch.c: Regenerate. | |
6678 | ||
b5a2688f AC |
6679 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
6680 | ||
6681 | * defs.h (throw_exception): Rename return_to_top_level. Update | |
6682 | comments. | |
6683 | * utils.c (error_stream, internal_verror, quit): Ditto. | |
6684 | * top.c (throw_exception, catcher): Ditto. | |
6685 | * sparclet-rom.c (sparclet_load): Ditto. | |
6686 | * remote.c (interrupt_query, minitelnet): Ditto. | |
6687 | * remote-sds.c (interrupt_query): Ditto. | |
6688 | * remote-mips.c (mips_error, mips_kill): Ditto. | |
6689 | * ocd.c (interrupt_query): Ditto. | |
6690 | * monitor.c (monitor_interrupt_query): Ditto. | |
6691 | * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. | |
6692 | * target.h: Update comment. | |
aaa38bb5 | 6693 | |
b5a2688f | 6694 | * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. |
aaa38bb5 | 6695 | |
2fa5c1e0 AC |
6696 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
6697 | ||
6698 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to | |
6699 | default_double_format. | |
6700 | * gdbarch.h, gdbarch.c: Re-generate. | |
6701 | * findvar.c (floatformat_unknown): Delete variable definition. | |
6702 | * doublest.h (floatformat_unknown): Delete variable declaration. | |
6703 | ||
da966255 JB |
6704 | 2002-02-09 Jim Blandy <jimb@redhat.com> |
6705 | ||
6706 | * stabsread.c (read_type): Add code to parse Sun's syntax for | |
6707 | prototyped function types. | |
6708 | ||
123a4891 AC |
6709 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
6710 | ||
6711 | * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS. | |
6712 | (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS. | |
6713 | ||
fb39c8f3 PS |
6714 | 2002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
6715 | ||
6716 | * xcoffsolib.c (_initialize_xcoffsolib): Renamed from | |
6717 | _initialize_solib. Fixes name clash with solib.c:_initialize_solib, | |
6718 | now _initialize_xcoffsolib gets called again and overrides the | |
6719 | commands from solib.c in a native configuration. | |
6720 | ||
0b87a11d MK |
6721 | 2002-02-09 Mark Kettenis <kettenis@gnu.org> |
6722 | ||
6723 | * doublest.c (store_typed_floating): Don't try to return a value. | |
6724 | Fixes PR gdb/290. | |
6725 | ||
bdc2fc72 JB |
6726 | 2002-02-08 Jim Blandy <jimb@redhat.com> |
6727 | ||
6728 | * c-typeprint.c (c_type_print_varspec_suffix): If a function type | |
6729 | is prototyped and has no arguments, print its argument list as | |
6730 | `(void)'. | |
6731 | ||
da69bbcf CD |
6732 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
6733 | ||
6734 | * MAINTAINERS (write-after-approval): Add myself. | |
6735 | (paper-trail): I've escaped! | |
aaa38bb5 | 6736 | |
b69571f5 CF |
6737 | 2002-02-08 Christopher Faylor <cgf@redhat.com> |
6738 | ||
6739 | * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf | |
6740 | changes. | |
6741 | (_initialize_check_for_gdb_ini): Ditto. | |
6742 | ||
f6871398 MH |
6743 | 2002-02-08 Martin M. Hunt <hunt@redhat.com> |
6744 | ||
6745 | * win32-nat.c (cygwin_pid_to_str): Fix typo. | |
6746 | xaprintf -> xasprintf. | |
6747 | ||
4e52d31c PM |
6748 | 2002-02-08 Pierre Muller <muller@ics.u-strasbg.fr> |
6749 | ||
6750 | * win32-nat.c: Remove use of printf and sprintf functions. | |
6751 | ||
39bbf761 RE |
6752 | 2002-02-08 Richard Earnshaw <rearnsha@arm.com> |
6753 | ||
6754 | * arm-tdep.c (arm_frame_chain_valid): Make static. | |
6755 | (arm_push_arguments): Likewise. | |
6756 | (arm_gdbarch_init): New function. | |
6757 | (_initialize_arm_tdep): Call it. | |
6758 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. | |
6759 | (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. | |
6760 | (FRAME_CHAIN_VALID): Delete. | |
6761 | (arm_frame_chain_valid): Delete declaration. | |
6762 | (PUSH_ARGUMENTS): Delete. | |
6763 | (arm_push_arguments): Delete declaration. | |
6764 | (CALL_DUMMY_P): Delete. | |
6765 | ||
9c9532c9 CV |
6766 | 2002-02-08 Andrew Cagney <ac131313@redhat.com> |
6767 | Corinna Vinschen <vinschen@redhat.com> | |
6768 | ||
6769 | * gdbtypes.c (build_gdbtypes): Disable setting a specific float format | |
6770 | on builtin float types. | |
6771 | ||
4e8f7a8b DJ |
6772 | 2002-02-08 Daniel Jacobowitz <drow@mvista.com> |
6773 | ||
6774 | * utils.c: Include <curses.h> before "bfd.h". | |
6775 | * tui/tui-hooks.c: Likewise. | |
6776 | * tui/tui.c: Likewise. | |
6777 | * tui/tuiCommand.c: Likewise. | |
6778 | * tui/tuiData.c: Likewise. | |
6779 | * tui/tuiDataWin.c: Likewise. | |
6780 | * tui/tuiDisassem.c: Likewise. | |
6781 | * tui/tuiGeneralWin.c: Likewise. | |
6782 | * tui/tuiIO.c: Likewise. | |
6783 | * tui/tuiLayout.c: Likewise. | |
6784 | * tui/tuiRegs.c: Likewise. | |
6785 | * tui/tuiSource.c: Likewise. | |
6786 | * tui/tuiSourceWin.c: Likewise. | |
6787 | * tui/tuiStack.c: Likewise. | |
6788 | * tui/tuiWin.c: Likewise. | |
6789 | ||
cd4bffcf EZ |
6790 | 2002-02-07 Elena Zannoni <ezannoni@redhat.com> |
6791 | ||
6792 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array | |
6793 | to include space for pseudoregs as well. Update loops accordingly. | |
6794 | (sh_fp_frame_init_saved_regs): Ditto. | |
6795 | (sh_init_extra_frame_info, sh_pop_frame): Split long lines. | |
6796 | ||
26806ce2 AC |
6797 | 2002-02-07 Andrew Cagney <ac131313@redhat.com> |
6798 | ||
6799 | * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer. | |
6800 | Add Richard Earnshaw to Arm maintainers. | |
6801 | ||
97fdab62 AC |
6802 | 2002-02-07 Andrew Cagney <ac131313@redhat.com> |
6803 | ||
a6b98203 AC |
6804 | * defs.h (warning_begin): Delete declaration. |
6805 | ||
97fdab62 AC |
6806 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): |
6807 | Delete macro. | |
6808 | ||
78b29b40 MS |
6809 | 2002-02-07 Michael Snyder <msnyder@redhat.com> |
6810 | ||
aaa38bb5 | 6811 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
78b29b40 MS |
6812 | Logic bug, remove misplaced else. |
6813 | ||
d8849953 KD |
6814 | 2002-02-07 Klee Dienes <klee@apple.com> |
6815 | ||
6816 | * fork-inferior.c (fork_inferior): Add '!' to the list of | |
6817 | characters that need to be quoted when building a string for the | |
6818 | shell. Quote '!' specifically with a backslash, since CSH chokes | |
6819 | when trying to evaluate "str!str". | |
aaa38bb5 | 6820 | |
095778a0 NC |
6821 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
6822 | ||
6823 | * rdi-share/host.h: Only provide a typedef for bool if it is not | |
6824 | defined. | |
6825 | ||
1900040c MS |
6826 | 2002-02-04 Michael Snyder <msnyder@redhat.com> |
6827 | ||
6828 | * breakpoint.h (enum bptype): Add new overlay event bp type. | |
6829 | (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. | |
aaa38bb5 | 6830 | |
1900040c MS |
6831 | * breakpoint.c (create_internal_breakpoint): New function. |
6832 | (internal_breakpoint_number): Moved into create_internal_breakpoint. | |
6833 | (create_longjmp_breakpoint): Use create_internal_breakpoint. | |
6834 | (create_thread_event_breakpoint): Ditto. | |
6835 | (create_solib_event_breakpoint): Ditto. | |
6836 | (create_overlay_event_breakpoint): New function. | |
6837 | (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. | |
6838 | (update_breakpoints_after_exec): Delete and re-initialize | |
6839 | overlay event breakpoints after an exec. Add FIXME comment | |
6840 | about longjmp breakpoint. | |
6841 | (print_it_typical): Ignore overlay event breakpoints. | |
6842 | (print_one_breakpoint): Ditto. | |
6843 | (mention): Ditto. | |
6844 | (bpstat_what): Do not stop for overlay event breakpoints. | |
6845 | (delete_breakpoint): Don't delete overlay event breakpoints. | |
6846 | (breakpoint_re_set_one): Delete the overlay event breakpoint. | |
6847 | (breakpoint_re_set): Re-create overlay event breakpoint. | |
6848 | ||
6849 | * symfile.c (overlay_auto_command): Enable overlay breakpoints. | |
6850 | (overlay_manual_command): Disable overlay breakpoints. | |
6851 | (overlay_off_command): Disable overlay breakpoints. | |
6852 | ||
082fc60d RE |
6853 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> |
6854 | ||
6855 | * arm-tdep.c: Include elf-bfd.h and coff/internal.h. | |
6856 | (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines | |
6857 | to here from config/tm-arm.h. | |
6858 | (coff_sym_is_thumb): Make static. | |
6859 | (arm_elf_make_msymbol_special): New function. | |
6860 | (arm_coff_make_msymbol_special): New function. | |
6861 | * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. | |
6862 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. | |
6863 | (coff_sym_is_thumb): Delete declaration. | |
6864 | (arm_elf_make_msymbol_special): Declare. | |
6865 | (arm_coff_make_msymbol_special): Declare. | |
6866 | (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. | |
6867 | (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special. | |
6868 | ||
039c5766 RE |
6869 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> |
6870 | ||
6871 | * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. | |
6872 | ||
6873 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> | |
6874 | ||
6875 | * gdbarch.sh (PRINT_FLOAT_INFO): Add rule. | |
6876 | * gdbarch.c gdbarch.h: Regenerate. | |
6877 | * arch-utils.c (default_print_float_info): New function. | |
6878 | * arch-utils.h (default_print_float_info): Prototype it. | |
6879 | * infcmd.c (float_info): Call PRINT_FLOAT_INFO. | |
6880 | * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. | |
6881 | (PRINT_FLOAT_INFO): Document it. | |
6882 | ||
6883 | * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. | |
6884 | * config/arm/tm-arm.h (FLOAT_INFO): Delete. | |
6885 | (PRINT_FLOAT_INFO): Define. | |
6886 | ||
58fa08f0 PM |
6887 | 2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr> |
6888 | ||
aaa38bb5 | 6889 | * win32-nat.c (_initialize_check_for_gdb_ini): |
58fa08f0 PM |
6890 | Add typecast to sprintf argument to suppress a warning. |
6891 | ||
7393af7c PM |
6892 | 2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr> |
6893 | ||
58fa08f0 | 6894 | * win32-nat.c (last_sig): Changed type of variable to target_signal, |
7393af7c PM |
6895 | to allow easier handling of pass state. |
6896 | (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, | |
6897 | that gives exception name and address. | |
6898 | (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro | |
aaa38bb5 | 6899 | and set last_sig value to ourstatus->value.sig. Some missing |
7393af7c | 6900 | exceptions added. |
aaa38bb5 AJ |
6901 | (child_continue): Correctly report continue_status. |
6902 | (get_child_debug_event,do_initial_child_stuff): Set last_sig to | |
7393af7c | 6903 | TARGET_SIGNAL_0 (new default value). |
aaa38bb5 | 6904 | (child_resume): consider sig argument passed to decide if |
7393af7c PM |
6905 | the exception should be passed to debuggee or not. |
6906 | ||
6af4589c MS |
6907 | 2002-02-05 Michael Snyder <msnyder@redhat.com> |
6908 | ||
6909 | * regcache.c (fetch_register): Call target_fetch_register | |
6910 | only if we don't call FETCH_PSEUDO_REGISTER. | |
6911 | (store_register): Call target_store_register only if we | |
6912 | don't call STORE_PSEUDO_REGISTER. | |
6913 | ||
a2cf933a EZ |
6914 | 2002-02-05 Elena Zannoni <ezannoni@redhat.com> |
6915 | ||
6916 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and | |
6917 | ELF_MAKE_MSYMBOL_SPECIAL. | |
6918 | * gdbarch.c, gdbarch.h: Regenerate. | |
6919 | * arch-utils.c (default_make_msymbol_special): New function. | |
aaa38bb5 | 6920 | * arch-utils.h (default_make_msymbol_special): Export. |
a2cf933a EZ |
6921 | * elfread.c (elf_symtab_read): Compile use of |
6922 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now | |
6923 | multiarched. | |
6924 | * coffread.c (coff_symtab_read): Ditto, for | |
6925 | COFF_MAKE_MSYMBOL_SPECIAL. | |
6926 | ||
6bb7be43 JB |
6927 | 2002-02-05 Jim Blandy <jimb@redhat.com> |
6928 | ||
6929 | * solib-svr4.c (svr4_truncate_ptr): New function. | |
6930 | (svr4_relocate_section_addresses): Do the address arithmetic with | |
6931 | the appropriate truncation for target addresses, even when | |
6932 | CORE_ADDR is larger than a target address. | |
6933 | ||
e18651ec DJ |
6934 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
6935 | ||
6936 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid | |
6937 | to (int *). | |
6938 | ||
6b2725be DJ |
6939 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
6940 | ||
6941 | * gdbserver/linux-low.c (kill_inferior): Remove commented out | |
6942 | code. | |
6943 | ||
fca9e603 DJ |
6944 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
6945 | ||
6946 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. | |
6947 | ||
6c537a52 DJ |
6948 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
6949 | ||
6950 | * gdbserver/linux-low.c: Remove unused include files. | |
6951 | ||
d844cde6 DJ |
6952 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
6953 | ||
6954 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. | |
6955 | (read_inferior_memory): Use it. | |
6956 | (write_inferior_memory): Likewise. | |
6957 | ||
d07c63e7 DJ |
6958 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
6959 | ||
6960 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of | |
6961 | grubbing through sys_errlist. | |
6962 | ||
da6d8c04 DJ |
6963 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
6964 | ||
6965 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. | |
6966 | ||
5b421780 PM |
6967 | 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr> |
6968 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. | |
6969 | ||
9f60d481 AC |
6970 | 2002-02-04 Andrew Cagney <ac131313@redhat.com> |
6971 | ||
6972 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. | |
6973 | (do_sfunc, set_cmd_sfunc): New functions. | |
6974 | ||
6975 | * command.h (struct cmd_list_element): Add field func. | |
6976 | * cli/cli-decode.h (struct cmd_list_element): Ditto. | |
6977 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. | |
6978 | * cli/cli-decode.h: Ditto. | |
6979 | ||
6980 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. | |
6981 | (help_all, help_cmd_list): Ditto. | |
6982 | (find_cmd, complete_on_cmdlist): Ditto. | |
6983 | * top.c (execute_command): Ditto. | |
6984 | ||
6985 | * cli/cli-setshow.c (do_setshow_command): Call func instead of | |
6986 | function.sfunc. | |
6987 | ||
6988 | * infcmd.c (notice_args_read): Fix function signature. | |
6989 | ||
6990 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. | |
6991 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
6992 | * utils.c (initialize_utils): Ditto. | |
6993 | * maint.c (_initialize_maint_cmds): Ditto. | |
6994 | * infrun.c (_initialize_infrun): Ditto. | |
6995 | * demangle.c (_initialize_demangler): Ditto. | |
6996 | * remote.c (add_packet_config_cmd): Ditto. | |
6997 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
6998 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
6999 | * proc-api.c (_initialize_proc_api): Ditto. | |
7000 | * kod.c (_initialize_kod): Ditto. | |
7001 | * valprint.c (_initialize_valprint): Ditto. | |
7002 | * top.c (init_main): Ditto. | |
7003 | * infcmd.c (_initialize_infcmd): Ditto. | |
7004 | * corefile.c (_initialize_core): Ditto. | |
7005 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
7006 | * arch-utils.c (initialize_current_architecture): Ditto. | |
7007 | (_initialize_gdbarch_utils): Ditto. | |
7008 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
7009 | ||
7010 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. | |
7011 | * wince.c (_initialize_inftarg): Ditto. | |
7012 | * symfile.c (_initialize_symfile): Ditto. | |
7013 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
7014 | * language.c (_initialize_language): Ditto. | |
7015 | * arc-tdep.c (_initialize_arc_tdep): Ditto. | |
7016 | ||
f9ba0717 MS |
7017 | 2002-02-04 Michael Snyder <msnyder@redhat.com> |
7018 | ||
7019 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. | |
7020 | ||
0c74b2a7 DJ |
7021 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
7022 | ||
7023 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. | |
7024 | Add rules for building the register data files. | |
7025 | ||
c638789f DJ |
7026 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
7027 | ||
7028 | * regformats/regdat.sh: Add braces to the definition of | |
7029 | expedite_regs_${arch}. | |
7030 | ||
db253027 DJ |
7031 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
7032 | ||
7033 | * regformats/regdef.h (struct reg): Add comment describing the | |
7034 | requirements for offset and size fields. | |
7035 | ||
206be19c AS |
7036 | 2002-02-04 Andreas Schwab <schwab@suse.de> |
7037 | ||
7038 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. | |
7039 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. | |
7040 | ||
181c1381 RE |
7041 | 2002-02-04 Richard Earnshaw <rearnsha@arm.com> |
7042 | ||
7043 | * gdbarch.sh (copyright): Update years in generated header. | |
7044 | (SMASH_TEXT_ADDRESS): Add rule. | |
db253027 | 7045 | * gdbarch.h, gdbarch.c: Re-generate. |
181c1381 RE |
7046 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
7047 | * dbxread.c: Likewise. | |
7048 | * dwarfread.c: Likewise. | |
7049 | * elfread.c: Likewise. | |
7050 | * somread.c: Likewise. | |
7051 | ||
7052 | * arm-tdep.c (arm_smash_text_address): New function. | |
7053 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. | |
7054 | ||
fa4ba8da PM |
7055 | 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr> |
7056 | ||
7057 | Add support for hardware watchpoints on win32 native. | |
aaa38bb5 | 7058 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of |
fa4ba8da | 7059 | CONTEXT_DEBUG_REGISTERS. |
aaa38bb5 | 7060 | (dr variable): New variable. Static array containing a local copy |
fa4ba8da PM |
7061 | of debug registers. |
7062 | (debug_registers_changed): New variable. Reflects when debug registers | |
7063 | are changed and need to be written to inferior. | |
aaa38bb5 | 7064 | (debug_registers_used): New variable. Reflects when any debug register |
fa4ba8da PM |
7065 | was set, used when new threads are created. |
7066 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by | |
7067 | i386-nat code. | |
7068 | (thread_rec): Set dr array if id is the thread of current_event . | |
7069 | (child_continue, child_resume): Change the debug registers for all | |
7070 | threads if debug_registers_changed. | |
7071 | (child_add_thread): Change the debug registers if debug_registers_used. | |
7072 | * config/i386/cygwin.mh: Add use of i386-nat.o file. | |
7073 | Link nm.h to new nm-cygwin.h file. | |
7074 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use | |
7075 | of hardware registers. | |
7076 | ||
a73c86fb AC |
7077 | 2002-02-03 Andrew Cagney <ac131313@redhat.com> |
7078 | ||
7079 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. | |
7080 | Restore behavour broken by 2002-01-20 Andrew Cagney | |
7081 | <ac131313@redhat.com> IEEE_FLOAT removal. | |
7082 | ||
acf5ed49 DJ |
7083 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
7084 | ||
7085 | * c-valprint.c (c_val_print): Pass a proper valaddr to | |
7086 | cp_print_class_method. | |
7087 | * valops.c (search_struct_method): If there is only one method | |
7088 | and args is NULL, return that method. | |
7089 | ||
493d28d5 DJ |
7090 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
7091 | ||
7092 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of | |
7093 | accessing tag_name directly. | |
7094 | ||
7495dfdb DJ |
7095 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
7096 | ||
7097 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead | |
7098 | of accessing tag_name directly. | |
7099 | ||
dd6bda65 DJ |
7100 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
7101 | ||
7102 | PR gdb/280 | |
7103 | * gdbtypes.c (replace_type): New function. | |
7104 | * gdbtypes.h (replace_type): Add prototype. | |
7105 | * stabsread.c (read_type): Use replace_type. | |
7106 | ||
88fe217c RE |
7107 | 2002-02-03 Richard Earnshaw <rearnsha@arm.com> |
7108 | ||
7109 | * Makefile.in (memattr.o): Add missing dependencies rule. | |
7110 | ||
e5d66720 PS |
7111 | 2002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
7112 | ||
7113 | * breakpoint.c (break_at_finish_command): Really export. | |
7114 | (break_at_finish_at_depth_command): Ditto. | |
7115 | (tbreak_at_finish_command): Ditto. | |
7116 | * hppa-tdep.c: Include completer.h. | |
7117 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). | |
7118 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. | |
7119 | ||
fffee0be AC |
7120 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
7121 | ||
7122 | * utils.c (do_write): New function. | |
7123 | (error_stream): Rewrite combining the code from error_begin and | |
7124 | verror. | |
7125 | (verror): Rewrite using error_stream. | |
7126 | (error_begin): Delete function. | |
7127 | ||
255e7dbf AC |
7128 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
7129 | ||
7130 | * utils.c (error_begin): Make static. | |
7131 | * defs.h (error_begin): Delete declaration. | |
7132 | ||
7133 | * linespec.c (cplusplus_error): Replace cplusplus_hint. | |
7134 | (decode_line_1): Use cplusplus_error instead of error_begin, | |
7135 | cplusplus_hint and return_to_top_level. | |
7136 | * coffread.c (coff_symfile_read): Use error instead of error_begin | |
7137 | and return_to_top_level. | |
7138 | * infrun.c (default_skip_permanent_breakpoint): Ditto. | |
7139 | ||
ddfe3c15 AC |
7140 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
7141 | ||
7142 | * language.h (type_error, range_error): Make string parameter | |
7143 | constant. | |
7144 | * language.c (warning_pre_print): Delete extern declaration. | |
7145 | * dwarfread.c (warning_pre_print): Ditto. | |
7146 | * language.c (type_error, range_error): Rewrite to use verror and | |
7147 | vwarning instead of warning_begin. | |
7148 | ||
03ac34d5 MS |
7149 | 2002-02-01 Michael Snyder <msnyder@redhat.com> |
7150 | ||
261c4ca2 MS |
7151 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
7152 | (set_ignore_count): Move misplaced comment back where it belongs. | |
03ac34d5 | 7153 | |
e00d1dc8 AC |
7154 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
7155 | ||
7156 | * command.h (NO_FUNCTION): Delete macro. | |
7157 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
7158 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
7159 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
7160 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
7161 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
aaa38bb5 | 7162 | |
76b79d6e DJ |
7163 | 2002-02-01 Daniel Jacobowitz <drow@mvista.com> |
7164 | ||
7165 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
7166 | Update ``this'' pointer when calling virtual functions. | |
7167 | ||
799f9e91 MS |
7168 | 2002-02-01 Michael Snyder <msnyder@redhat.com> |
7169 | ||
c7bd442c | 7170 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
7171 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
7172 | ||
3cf384d4 DJ |
7173 | 2002-02-01 Daniel Jacobowitz <drow@mvista.com> |
7174 | ||
7175 | * regformats/reg-arm.dat: New file. | |
7176 | * regformats/reg-i386.dat: New file. | |
7177 | * regformats/reg-ia64.dat: New file. | |
7178 | * regformats/reg-m68k.dat: New file. | |
7179 | * regformats/reg-mips.dat: New file. | |
7180 | * regformats/reg-ppc.dat: New file. | |
7181 | * regformats/reg-sh.dat: New file. | |
7182 | * regformats/regdef.h: New file. | |
7183 | * regformats/regdat.sh: New file. | |
7184 | ||
0defa245 RE |
7185 | 2002-02-01 Richard Earnshaw <reanrsha@arm.com> |
7186 | ||
7187 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
7188 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
7189 | (arm_frame_num_args): New function. | |
7190 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
7191 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
7192 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
7193 | ||
405f26e6 MS |
7194 | 2002-01-31 Michael Snyder <msnyder@redhat.com> |
7195 | ||
502fd408 MS |
7196 | * breakpoint.c (break_at_finish_command): Export. |
7197 | (break_at_finish_at_depth_command): Export. | |
7198 | (tbreak_at_finish_command): Export. | |
7199 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
7200 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
7201 | "tbreak" commands, which are HPPA specific. | |
7202 | ||
7d35e135 MS |
7203 | * printcmd.c (disassemble_command): Remove an ancient |
7204 | artifact of an old merge. | |
7205 | ||
aaa38bb5 | 7206 | * symfile.h (enum overlay_debugging_state): |
d874f1e2 MS |
7207 | Define enum constant values for overlay mode. |
7208 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
aaa38bb5 AJ |
7209 | (overlay_is_mapped, overlay_auto_command, |
7210 | overlay_manual_command): Ditto. | |
d874f1e2 | 7211 | |
aaa38bb5 AJ |
7212 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
7213 | breakpoint_here_p, breakpoint_inserted_here_p, | |
7214 | breakpoint_thread_match, bpstat_stop_status, | |
9f04af04 MS |
7215 | describe_other_breakpoints, check_duplicates, clear_command): |
7216 | Coding standard fixes. | |
7217 | ||
8add0441 | 7218 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 7219 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
7220 | code: check bfd SEC_READONLY flag for section. |
7221 | ||
e351066e AC |
7222 | 2002-01-31 Andrew Cagney <ac131313@redhat.com> |
7223 | ||
7d35e135 | 7224 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 7225 | |
8a48e967 DJ |
7226 | 2002-01-30 Daniel Jacobowitz <drow@mvista.com> |
7227 | ||
7228 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
7229 | data symbols, since we search based on textlow and texthigh. | |
7230 | (find_pc_sect_symtab): Likewise. | |
7231 | ||
f5a96129 AC |
7232 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
7233 | ||
7234 | * defs.h (vwarning): Declare. | |
f5a96129 AC |
7235 | * utils.c (vwarning): New function. |
7236 | (warning): Call vwarning. | |
7237 | (warning_begin): Delete function. | |
7238 | ||
7239 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
7240 | the warning message. | |
7241 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
7242 | warning_begin. | |
7243 | ||
cefd4ef5 MS |
7244 | 2002-01-30 Michael Snyder <msnyder@redhat.com> |
7245 | ||
1a703748 MS |
7246 | * NEWS: Mention "set trust-readonly-sections" command. |
7247 | Mention generate-core-file command. | |
cefd4ef5 | 7248 | |
3a11626d MS |
7249 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
7250 | ||
7251 | * target.c: New command, "set trust-readonly-sections on". | |
7252 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
7253 | by reading them from the object file instead of from the target. | |
7254 | (initialize_targets): Register command "set trust-readonly-sections". | |
7255 | ||
d1c7e53b AC |
7256 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
7257 | ||
7258 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
7259 | pseudo-regs using a single loop. | |
7260 | ||
e2c9a72c AC |
7261 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
7262 | ||
7263 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
7264 | ||
69824b4e MK |
7265 | 2002-01-15 Rodney Brown <rbrown64@csc.com.au> |
7266 | ||
7267 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
7268 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
7269 | * i386v4-nat.c: Include i387-nat.h. | |
7270 | (supply_fpregset): Use i387_supply_fsave. | |
7271 | (fill_fpregset): Use i387_fill_fsave. | |
7272 | ||
6eb69eab RE |
7273 | 2002-01-30 Richard Earnshaw <rearnsha@arm.com> |
7274 | ||
7275 | * arm-tdep.c (arm_call_dummy_words): Define. | |
7276 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
7277 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
7278 | (CALL_DUMMY_WORDS): Define. | |
7279 | (arm_call_dummy_words): Declare. | |
7280 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
7281 | (arm_linux_call_dummy_words): Declare. | |
7282 | ||
9852326a AS |
7283 | 2002-01-30 Andreas Schwab <schwab@suse.de> |
7284 | ||
7285 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
7286 | instead of referencing registers[] directly. | |
7287 | ||
977a3030 AC |
7288 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
7289 | ||
7290 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
7291 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
7292 | ||
2076c72b MS |
7293 | 2002-01-28 Michael Snyder <msnyder@redhat.com> |
7294 | ||
7295 | * regcache.c (legacy_read_register_gen): Need to be able to | |
7296 | read pseudo-register as well as real register. | |
7297 | (legacy_write_register_gen): Ditto. | |
7298 | ||
8fcc723b AC |
7299 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
7300 | ||
7301 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
7302 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
7303 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
7304 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
7305 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
7306 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
7307 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
7308 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
7309 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
7310 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
7311 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
7312 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
7313 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
7314 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
7315 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
7316 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
7317 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
7318 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
7319 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
7320 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
7321 | ||
afe64c1a AC |
7322 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
7323 | ||
7324 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
7325 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
7326 | (initialize_current_architecture): Update target_byte_order using | |
7327 | information from BFD. | |
aaa38bb5 | 7328 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): |
afe64c1a AC |
7329 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. |
7330 | ||
75bc7ddf AC |
7331 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
7332 | ||
7333 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
7334 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
7335 | ||
7336 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
7337 | #ifdef INVALID_FLOAT. | |
7338 | * infcmd.c (do_registers_info): Ditto. | |
7339 | * values.c (unpack_double): Ditto. Add comment. | |
7340 | ||
7341 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
7342 | already commented out. | |
7343 | ||
0280a90a AS |
7344 | 2002-01-26 Andreas Schwab <schwab@suse.de> |
7345 | ||
7346 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
7347 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
7348 | registers and add support for PTRACE_GETREGS. | |
7349 | ||
7072a954 AC |
7350 | 2002-01-24 Andrew Cagney <ac131313@redhat.com> |
7351 | ||
7352 | GDB 5.1.1 released from 5.1 branch. | |
7353 | * NEWS: Add 5.1.1 news. | |
7354 | * README: Sync with 5.1 branch. | |
7355 | ||
86f902e0 FF |
7356 | 2002-01-23 Fred Fish <fnf@redhat.com> |
7357 | ||
7358 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
7359 | stabstring on initial malloc. Reallocing will copy it for us, | |
7360 | if necessary. | |
7361 | ||
8af51c36 EZ |
7362 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
7363 | ||
aaa38bb5 | 7364 | * Makefile.in (hpread_h): Delete. |
8af51c36 EZ |
7365 | (HFILES_NO_SRCDIR): Remove hpread.h. |
7366 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
7367 | (hpread.o): Update dependencies. | |
7368 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
7369 | ||
7370 | * hp-psymtab-read.c: Remove file. | |
7371 | * hp-symtab-read.c: Remove file. | |
7372 | * hpread.h: Remove file. | |
7373 | ||
7374 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
7375 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
7376 | January 1999. | |
7377 | ||
7378 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
aaa38bb5 | 7379 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, |
8af51c36 EZ |
7380 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): |
7381 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
7382 | ||
dc5cfeb6 EZ |
7383 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
7384 | ||
7385 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
7386 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
7387 | variable and use that, instead of calling the function several | |
7388 | times. | |
7389 | ||
ea87b71b AO |
7390 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
7391 | ||
7392 | * configure.host: Accept sparcv9 as alias for sparc64. | |
7393 | * configure.tgt: Likewise. | |
7394 | ||
13fc0c2f KB |
7395 | 2002-01-22 Kevin Buettner <kevinb@redhat.com> |
7396 | ||
7397 | * solib-aix5.c (build_so_list_from_mapfile) | |
7398 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
7399 | arguments is not reversed. | |
7400 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
7401 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
aaa38bb5 | 7402 | |
7bd872fe EZ |
7403 | 2002-01-22 Elena Zannoni <ezannoni@redhat.com> |
7404 | ||
7405 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
7406 | modified version of obsolete sh_fetch_pseudo_register. | |
7407 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
7408 | (sh4_register_read): New function. | |
7409 | (sh_pseudo_register_write): New function. Renamed and modified | |
7410 | version of obsolete sh_store_pseudo_register. | |
7411 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
7412 | (sh4_register_write): New function. | |
7413 | (sh_gdbarch_init): Remove setting of gdbarch function | |
7414 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
7415 | register_convert_to_raw, register_convert_to_virtual, | |
7416 | register_convertible. | |
7417 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
7418 | taken care by architecture specific functions | |
7419 | register_read/register_write. | |
7420 | (sh_sh4_register_convert_to_virtual): Make static. | |
7421 | (sh_sh4_register_convert_to_raw): Ditto. | |
7422 | ||
069e84fd AC |
7423 | 2002-01-22 Andrew Cagney <ac131313@redhat.com> |
7424 | ||
7425 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
7426 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
7427 | ||
7428 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
7429 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
7430 | builtin_type_ieee_double_little, | |
7431 | builtin_type_ieee_double_littlebyte_bigword, | |
7432 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
7433 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
7434 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
7435 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
7436 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
7437 | ||
211a4f69 CV |
7438 | 2002-01-22 Corinna Vinschen <vinschen@redhat.com> |
7439 | ||
7440 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
7441 | parameter. Set frameless flag if it exists and depended of | |
7442 | whether the scanned function is frameless or not. | |
7443 | (xstormy16_skip_prologue): If function is frameless, return | |
7444 | result of xstormy16_scan_prologue(). | |
7445 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
7446 | call. | |
7447 | ||
f81353e4 EZ |
7448 | 2002-01-21 Elena Zannoni <ezannoni@redhat.com> |
7449 | ||
7450 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
7451 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
7452 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
7453 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
7454 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
7455 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
7456 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
7457 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
7458 | gdbarch_tdep() just once, assign result to variable and use that, | |
7459 | instead of calling the function several times. | |
7460 | ||
63c73a17 MK |
7461 | 2002-01-20 Mark Kettenis <kettenis@gnu.org> |
7462 | ||
7463 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
7464 | macros instead of LAST_FPU_CTRL_REGNUM. | |
7465 | (store_register): Likewise. | |
7466 | ||
39ad761d JB |
7467 | 2002-01-21 Jim Blandy <jimb@redhat.com> |
7468 | ||
7469 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
7470 | is up-to-date before running the program, not just when a program | |
7471 | exits. | |
7472 | ||
3d74b771 FF |
7473 | 2002-01-21 Fred Fish <fnf@redhat.com> |
7474 | ||
7475 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
7476 | when we have found all instructions we are looking for. | |
7477 | ||
966fbf70 RE |
7478 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
7479 | ||
7480 | * arm-tdep.c (arm_register_name): New function. | |
7481 | (arm_registers_names): Make static. | |
7482 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
7483 | (arm_register_name): Declare. | |
7484 | (REGISTER_NAME): Use it. | |
7485 | ||
c3b4394c RE |
7486 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
7487 | Kevin Buettner <kevinb@redhat.com> | |
7488 | ||
7489 | Convert arm targets to new FRAME interface. | |
7490 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
7491 | (arm_frame_find_save_regs): Delete. | |
7492 | (arm_frame_init_saved_regs): New. | |
7493 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
7494 | Allocate extra_info as required. Convert all uses of fsr.regs | |
7495 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
7496 | to use extra_info. | |
7497 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
7498 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
7499 | (check_prologue_cache, save_prologue_cache): Likewise. | |
7500 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
7501 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
7502 | (FRAME_FIND_SAVED_REGS): Delete. | |
7503 | (arm_frame_find_saved_regs): Delete prototype. | |
7504 | (arm_frame_init_saved_regs): New prototype. | |
7505 | (FRAME_INIT_SAVED_REGS): Define. | |
7506 | ||
61d99182 AC |
7507 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
7508 | ||
7509 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
7510 | ||
6aaea291 AC |
7511 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
7512 | ||
7513 | From Jeff Law <law@redhat.com>: | |
7514 | * infttrace.c: Include <sys/pstat.h>. | |
7515 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
7516 | exec file if the ttrace equivalent fails. | |
7517 | ||
15f698d2 AC |
7518 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
7519 | ||
7520 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
7521 | (closeLogFile): Ditto. | |
7522 | ||
f86ddd7c MC |
7523 | 2002-01-20 Michael Chastain <mec@shout.net> |
7524 | ||
7525 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
7526 | ||
904507ce AC |
7527 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
7528 | ||
7529 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
7530 | Zannoni and Eli Zaretskii. | |
7531 | ||
d7f0b9ce DJ |
7532 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
7533 | ||
7534 | * buildsym.c: Update copyright years. | |
7535 | * c-typeprint.c: Likewise. | |
7536 | * dwarf2read.c: Likewise. | |
7537 | * f-typeprint.c: Likewise. | |
7538 | * gdbtypes.c: Likewise. | |
7539 | * gdbtypes.h: Likewise. | |
7540 | * hp-symtab-read.c: Likewise. | |
7541 | * hpread.c: Likewise. | |
7542 | * mdebugread.c: Likewise. | |
7543 | * p-typeprint.c: Likewise. | |
7544 | ||
3fd3d7d2 AC |
7545 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
7546 | ||
7547 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
7548 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
7549 | byte-order selectable. | |
7550 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
7551 | * arch-utils.c: Ditto. | |
7552 | (set_endian): Ditto. | |
7553 | (set_endian_from_file): Ditto. | |
7554 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
7555 | * gdbarch.sh: Ditto. | |
7556 | * gdbarch.h: Re-generate. | |
aaa38bb5 AJ |
7557 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
7558 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
7559 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
7560 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7561 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7562 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7563 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3fd3d7d2 AC |
7564 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete |
7565 | macro definition. | |
7566 | * config/mips/tm-wince.h: Remove #undef of macro | |
7567 | TARGET_BYTE_ORDER_SELECTABLE. | |
7568 | * config/sh/tm-wince.h: Ditto. | |
7569 | ||
b02dede2 DJ |
7570 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
7571 | ||
7572 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
7573 | member function fields. Add accessor macro | |
7574 | TYPE_FN_FIELD_ARTIFICIAL. | |
7575 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
7576 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
7577 | functions. | |
7578 | ||
c3643761 DJ |
7579 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
7580 | ||
7581 | * f-typeprint.c: Delete unused function f_type_print_args. | |
7582 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
7583 | ||
8176bb6d DJ |
7584 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
7585 | ||
7586 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
7587 | comment. Add ``artificial'' to ``union field_location''. | |
7588 | ||
7589 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
7590 | ||
7591 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
7592 | * mdebugread.c (parse_symbol): Likewise. | |
7593 | * stabsread.c (define_symbol): Likewise. | |
7594 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
7595 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
7596 | (hpread_doc_function_type): Likewise. | |
7597 | * hpread.c (hpread_function_type): Likewise. | |
7598 | ||
7fd60527 AC |
7599 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
7600 | ||
7601 | * configure.in (host_makefile_frag): Only require a host makefile | |
7602 | fragment when a native build. | |
7603 | * configure: Re-generate. | |
7604 | ||
c2f05ac9 AC |
7605 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
7606 | ||
7607 | * doublest.h (floatformat_from_type): Declare. | |
7608 | * doublest.c (floatformat_from_type): New function. | |
7609 | (convert_typed_floating): Use. | |
7610 | ||
7611 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
7612 | call to function floatformat_from_type. | |
7613 | ||
7614 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
7615 | * gdbarch.h, gdbarch.c: Re-generate. | |
7616 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
7617 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
7618 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
7619 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
7620 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
7621 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
7622 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
7623 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
7624 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
7625 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
7626 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
7627 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
7628 | ||
7629 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
7630 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
7631 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7632 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7633 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7634 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7635 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7636 | ||
abf22e64 AJ |
7637 | 2002-01-20 Jiri Smid <smid@suse.cz> |
7638 | ||
7639 | * configure.host, configure.tgt: Support x86-64. | |
7640 | * NEWS: Note new target x86-64. | |
7641 | ||
b7c4cbf8 AJ |
7642 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
7643 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
7644 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
7645 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
7646 | x86-64-linux-nat.o): Fix dependencies. | |
7647 | ||
82600034 AC |
7648 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
7649 | ||
7650 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
7651 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
7652 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
7653 | * config/sparc/xm-sun4os4.h: Delete file. | |
7654 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 7655 | |
bbe5c628 AC |
7656 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
7657 | ||
7658 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
7659 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
7660 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
7661 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
7662 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
7663 | * config/sparc/xm-sparclynx.h: Delete file. | |
7664 | * config/m68k/xm-m68klynx.h: Delete file. | |
7665 | * config/i386/xm-i386lynx.h: Delete file. | |
7666 | * config/xm-lynx.h: Delete file. | |
7667 | * config/djgpp/fnchange.lst: Update. | |
7668 | ||
f8453e34 JT |
7669 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
7670 | ||
7671 | * alpha-tdep.c (alpha_register_byte): New function. | |
7672 | (alpha_register_raw_size): Ditto. | |
7673 | (alpha_register_virtual_size): Ditto. | |
7674 | (alpha_skip_prologue_internal): Renamed from | |
7675 | alpha_skip_prologue. | |
7676 | (alpha_skip_prologue): New version that calls | |
7677 | alpha_skip_prologue_internal. | |
7678 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
7679 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
7680 | second argument from alpha_skip_prologue. | |
7681 | (REGISTER_BYTE): Use alpha_register_byte. | |
7682 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
7683 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
7684 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
7685 | generic_frameless_function_invocation_not. | |
7686 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
7687 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
7688 | ||
52d9e613 AC |
7689 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
7690 | ||
7691 | * config/mips/xm-news-mips.h: Delete file. | |
7692 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
7693 | ||
7694 | * config/m88k/xm-m88k.h: Delete file. | |
7695 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
7696 | * config/m88k/xm-delta88v4.h: Ditto. | |
7697 | * config/m88k/xm-delta88.h: Ditto. | |
7698 | ||
7699 | * config/alpha/xm-fbsd.h: Delete file. | |
7700 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
7701 | ||
7702 | * config/sparc/xm-sparc.h: Delete file. | |
7703 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
7704 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
7705 | * config/sparc/xm-sun4os4.h: Ditto. | |
7706 | * config/sparc/xm-linux.h: Ditto. | |
7707 | ||
7708 | * config/i386/xm-windows.h: Delete file. | |
7709 | ||
2d1b2124 AC |
7710 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
7711 | ||
7712 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
7713 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
7714 | ||
ee1f65f0 JT |
7715 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
7716 | ||
7717 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
7718 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
7719 | (CALL_DUMMY_P): Define. | |
7720 | (CALL_DUMMY_WORDS): Define. | |
7721 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
7722 | ||
98081e55 PB |
7723 | 2002-01-19 Per Bothner <per@bothner.com> |
7724 | ||
7725 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
7726 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
7727 | ||
0d056799 JT |
7728 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
7729 | ||
7730 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
7731 | (alpha_init_frame_pc_first): Ditto. | |
7732 | (alpha_fix_call_dummy): Ditto. | |
7733 | (alpha_store_struct_return): Ditto. | |
7734 | (alpha_extract_struct_value_address): Ditto. | |
7735 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
7736 | alpha_register_virtual_type. | |
7737 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
7738 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
7739 | alpha_extract_struct_value_address. | |
7740 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
7741 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
7742 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
7743 | ||
4604bcad MK |
7744 | 2002-01-19 Mark Kettenis <kettenis@gnu.org> |
7745 | ||
7746 | * i386gnu-nat.c: Include "i386-tdep.h". | |
7747 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
7748 | point states such that it doesn't require FP7_REGNUM. | |
7749 | ||
140f9984 JT |
7750 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
7751 | ||
abf22e64 AJ |
7752 | * alpha-tdep.c (frame_extra_info): New. |
7753 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
7754 | frame->extra_info. |
7755 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
7756 | (alpha_frame_saved_pc): Use frame->extra_info. |
7757 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
7758 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
7759 | (init_extra_frame_info): Rename to... |
7760 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 7761 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
7762 | (alpha_frame_locals_address): Ditto. |
7763 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 7764 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
7765 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
7766 | alpha_frame_args_address. | |
abf22e64 | 7767 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 7768 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
7769 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
7770 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
7771 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
7772 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
7773 | ||
d734c450 JT |
7774 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
7775 | ||
7776 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
7777 | (alpha_cannot_fetch_register): Ditto. | |
7778 | (alpha_cannot_store_register): Ditto. | |
7779 | (alpha_register_convertible): Ditto. | |
7780 | (alpha_use_struct_convention): Ditto. | |
7781 | * config/alpha/tm-alpha.h: Update copyright years. | |
7782 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
7783 | (INNER_THAN): Use core_addr_lessthan. | |
7784 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
7785 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
7786 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
7787 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
7788 | (FRAME_CHAIN): Remove unnecessary cast. | |
7789 | ||
b4ceaee6 AC |
7790 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
7791 | ||
7792 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
7793 | obsolete. | |
7794 | ||
0a65a603 AC |
7795 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
7796 | ||
7797 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
7798 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
7799 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
7800 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
7801 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
7802 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
7803 | * x86-64-linux-nat.c: Ditto. | |
7804 | ||
636a6dfc JT |
7805 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
7806 | ||
abf22e64 | 7807 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
7808 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
7809 | (REGISTER_NAME): Define. | |
7810 | ||
acceddb6 JT |
7811 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
7812 | ||
7813 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
7814 | ||
ec32e4be JT |
7815 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
7816 | ||
7817 | * alpha-tdep.c: Update copyright years. | |
7818 | (alpha_next_pc): New function. | |
7819 | (alpha_software_single_step): Ditto. | |
7820 | * config/alpha/tm-alpha.h: Add prototype for | |
7821 | alpha_software_single_step. | |
7822 | ||
e771a871 JT |
7823 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
7824 | ||
7825 | * alphabsd-nat.c: Update copyright years. | |
7826 | (fill_gregset): Use regcache_collect. | |
7827 | (fill_fpregset): Likewise. | |
7828 | (fetch_inferior_registers): Only fetch integer registers | |
7829 | if requested to do so. | |
7830 | (store_inferior_registers): Only store integer registers | |
7831 | if requested to do so. | |
7832 | ||
7708fa01 AC |
7833 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
7834 | ||
7835 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
7836 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
7837 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
7838 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
7839 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
7840 | * config/arm/linux.mh (XDEPFILES): Delete. | |
7841 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
7842 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
7843 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
7844 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
7845 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
7846 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
7847 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
7848 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
7849 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
7850 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
7851 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
7852 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
7853 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
7854 | * config/i386/go32.mh (XDEPFILES): Delete. | |
7855 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
7856 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
7857 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
7858 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
7859 | * config/i386/linux.mh (XDEPFILES): Delete. | |
7860 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
7861 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
7862 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
7863 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
7864 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
7865 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
7866 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
7867 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
7868 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
7869 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
7870 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
7871 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
7872 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
7873 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
7874 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
7875 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
7876 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
7877 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
7878 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
7879 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
7880 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
7881 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
7882 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
7883 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
7884 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
7885 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
7886 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
7887 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
7888 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
7889 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
7890 | * config/mips/linux.mh (XDEPFILES): Delete. | |
7891 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
7892 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
7893 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
7894 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
7895 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
7896 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
7897 | (NATDEPFILES): Move core-aout.o to here. | |
7898 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
7899 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
7900 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
7901 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
7902 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
7903 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
7904 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
7905 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
7906 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
7907 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
7908 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
7909 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
7910 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
7911 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
7912 | * config/s390/s390.mh (XDEPFILES): Delete. | |
7913 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
7914 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
7915 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
7916 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
7917 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
7918 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
7919 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
7920 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
7921 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
7922 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
7923 | ||
375fc983 AC |
7924 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
7925 | ||
7926 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
7927 | Update queries to match. Default to quit and dump core. | |
7928 | ||
8926118c AC |
7929 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
7930 | ||
7931 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
7932 | copyright. | |
7933 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
7934 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
7935 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
7936 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
7937 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
7938 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
7939 | * mi/mi-main.c:Ditto. | |
7940 | ||
7941 | * stack.c, symfile.c: Update copyright. | |
7942 | ||
45b7b345 DJ |
7943 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
7944 | ||
db728ff7 DJ |
7945 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
7946 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
7947 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
7948 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 7949 | |
db728ff7 DJ |
7950 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
7951 | ||
7952 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
7953 | * gdbserver/low-lynx.c (myattach): Likewise. | |
7954 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
7955 | * gdbserver/low-sim.c (myattach): Likewise. | |
7956 | * gdbserver/low-sparc.c (myattach): Likewise. | |
7957 | * gdbserver/low-sun3.c (myattach): Likewise. | |
7958 | ||
7959 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 7960 | |
db728ff7 | 7961 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
7962 | (main): Handle "--attach". |
7963 | ||
8de3c354 AC |
7964 | 2002-01-16 Andrew Cagney <ac131313@redhat.com> |
7965 | ||
7966 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
7967 | maintainer. | |
7968 | ||
b0129042 DJ |
7969 | 2002-01-15 Daniel Jacobowitz <drow@mvista.com> |
7970 | ||
7971 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
7972 | check for non-conversion operators. | |
7973 | ||
ba8679fb | 7974 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
2bf543a6 MS |
7975 | |
7976 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
7977 | (read_mapping): New function, abstract and re-use code. | |
7978 | (linux_find_memory_regions): Use new func read_mapping. | |
7979 | (linux_info_proc_cmd): New function, implement "info proc". | |
7980 | (_initialize_linux_proc): Add new command "info proc". | |
7981 | ||
e4f9b4d5 MS |
7982 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
7983 | ||
7984 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
7985 | instead of manipulating bfd structure members directly. | |
7986 | (add_section_size_callback): New function, bfd sections callback | |
7987 | used by generic_load. | |
7988 | (load_sections_callback): New function, bfd sections callback | |
7989 | used by generic_load. | |
7990 | ||
08cf96df EZ |
7991 | 2002-01-15 Elena Zannoni <ezannoni@redhat.com> |
7992 | ||
abf22e64 | 7993 | [Based on work by Jim Blandy] |
08cf96df EZ |
7994 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
7995 | (builtin_type_vec128): Export. | |
7996 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
7997 | types. | |
7998 | (builtin_type_vec128): New builtin type for 128 bit vector | |
7999 | registers. | |
8000 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
8001 | builtin_type_v8hi. Create the vec128 register builtin type | |
8002 | structure. | |
8003 | (build_builtin_type_vec128): New function. | |
abf22e64 | 8004 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
8005 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
8006 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
8007 | AltiVec register to new builtin type. | |
8008 | ||
d7242108 DJ |
8009 | 2001-01-15 Daniel Jacobowitz <drow@mvista.com> |
8010 | ||
8011 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
8012 | to make_cv_type. | |
8013 | ||
4ee3352d AC |
8014 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
8015 | ||
8016 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
8017 | CLEAN_UP_REGISTER_VALUE. | |
8018 | * regcache.c (supply_register): Update only call. | |
8019 | ||
f015b2e7 AC |
8020 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
8021 | ||
8022 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
8023 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
8024 | a29k-*-vxworks* targets as obsolete. | |
8025 | ||
356ae49d MS |
8026 | 2002-01-14 Michael Snyder <msnyder@redhat.com> |
8027 | ||
8028 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
8029 | until we can resolve portability issues. | |
8030 | * gregset.h: Remove references to fpxregs. | |
8031 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
8032 | ||
ade8f45e AC |
8033 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
8034 | ||
8035 | * signals.c (target_signal_to_name): Rewrite. Only use | |
8036 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 8037 | |
89c49e7a AC |
8038 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
8039 | ||
8040 | From Petr Ledvina <ledvinap@kae.zcu.cz>: | |
8041 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
8042 | bounds of the signals array. | |
8043 | ||
4daa9f9f AC |
8044 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
8045 | ||
8046 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
8047 | ||
ba4bbdcb KS |
8048 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
8049 | ||
8050 | * stack.c (print_frame_info_base): Print the frame's pc | |
8051 | only if when print_frame_info_listing_hook is not defined. | |
8052 | ||
575bbeb6 KS |
8053 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
8054 | ||
8055 | * varobj.c (varobj_set_value): Make sure that there were no | |
8056 | errors evaluating the object before attempting to set its | |
8057 | value. | |
8058 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
8059 | so this offset adjustment is no longer necessary. | |
8060 | (create_child): Don't set the error flag if the child is | |
8061 | a CPLUS_FAKE_CHILD. | |
8062 | (value_of_child): If value_fetch_lazy fails, return NULL | |
8063 | so that callers will be notified that an error occurred. | |
8064 | (c_value_of_variable): Delay check of variable's validity | |
8065 | until later. We actually want all structs and unions to have | |
8066 | the value "{...}". | |
8067 | Do not return "???" for variables which could not be evaluated. | |
8068 | This error condition must be returned to the caller so that it | |
8069 | can get the error condition from gdb. | |
8070 | (cplus_name_of_child): Adjust index for vptr before figuring | |
8071 | out the name of the child. | |
8072 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
8073 | don't even bother trying to give a value for it. Just return | |
8074 | an error. Change all instances in this function. | |
8075 | (cplus_type_of_child): If our parent is one of the "fake" | |
8076 | parents, we need to get at the type of the real parent, and | |
8077 | derive the child's true type using this information. | |
8078 | ||
b76898ab AC |
8079 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
8080 | ||
8081 | From 2002-01-09 John Marshall <johnm@falch.net>: | |
8082 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
8083 | sources.redhat.com, and tweak some related URLs which had | |
8084 | suffered from linkrot. | |
8085 | ||
b6649e88 AC |
8086 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
8087 | ||
8088 | From Jeff law: | |
8089 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
8090 | structures passed in registers. | |
8091 | ||
82cc5033 EZ |
8092 | 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il> |
8093 | ||
8094 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
8095 | white space which prevented compilation. Reported by DSK | |
8096 | <dsk@student.unsw.edu.au>. | |
8097 | ||
ba5f2f8a MS |
8098 | 2002-01-11 Michael Snyder <msnyder@redhat.com> |
8099 | ||
fbd35540 MS |
8100 | * symfile.c (build_section_addr_info_from_section_tab): |
8101 | Use bfd access method instead of manipulating bfd directly. | |
8102 | (syms_from_objfile): Ditto. | |
8103 | (simple_overlay_update_1): Ditto. | |
8104 | (simple_overlay_update): Ditto. | |
8105 | (generic_load): Ditto. | |
8106 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
8107 | (sections_overlap): FIXME comment, bfd access methods. | |
8108 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
8109 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
8110 | (section_is_mapped): FIXME comment, bfd access methods. | |
8111 | (section_is_overlay): FIXME comment, bfd access methods. | |
8112 | ||
ba5f2f8a MS |
8113 | * symfile.c (generic_load): Whitespace and long line cleanups. |
8114 | Remove duplicate variable, change several local variables to | |
8115 | more appropriate data types. | |
8116 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
8117 | ||
17df2af6 AC |
8118 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
8119 | ||
8120 | From Peter Schauer: | |
8121 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
8122 | convert NUM to a hex string. | |
8123 | ||
ec920329 EZ |
8124 | 2002-01-12 Elena Zannoni <ezannoni@redhat.com> |
8125 | ||
8126 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
8127 | the function. | |
538a76d6 | 8128 | Update Copyright year. |
ec920329 | 8129 | |
3abd2e01 AC |
8130 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
8131 | ||
8132 | * language.c (longest_raw_hex_string): Delete unused function. | |
8133 | ||
b21b22e0 PS |
8134 | 2002-01-11 Petr Sorfa <petrs@caldera.com> |
8135 | ||
8136 | * MAINTAINERS (write-after-approval): Add myself. | |
8137 | * dwarf2read.c (read_tag_string_type): Handling of | |
8138 | DW_AT_byte_size. | |
8139 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
8140 | first string size. | |
8141 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
8142 | ||
747fe712 RE |
8143 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
8144 | ||
8145 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
8146 | GETPID(inferior_ptid). | |
8147 | (store_inferior_registers): Likewise. | |
8148 | ||
f1bea926 JM |
8149 | 2002-01-10 Jason Merrill <jason@redhat.com> |
8150 | ||
8151 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
8152 | Fix DW_OP_minus. | |
8153 | ||
ae940673 AC |
8154 | 2002-01-10 Andrew Cagney <ac131313@redhat.com> |
8155 | ||
8156 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
8157 | and bfd/elf32-sh-nbsd.c. | |
8158 | ||
00546b04 MS |
8159 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
8160 | ||
352ed7b4 MS |
8161 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
8162 | ||
c18be923 MS |
8163 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
8164 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
8165 | ||
00546b04 MS |
8166 | * main.c (captured_main): Add new command line option "--pid". |
8167 | If the second command line argument (following the symbol-file) | |
8168 | begins with a digit, try to attach to it before trying to open | |
8169 | it as a corefile. | |
8170 | (print_gdb_help): Document the "--pid" argument. | |
8171 | ||
db60ec62 EZ |
8172 | 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il> |
8173 | ||
8174 | * completer.c (command_completer): New function. | |
8175 | ||
8176 | * completer.h <command_completer>: Add prototype. | |
8177 | ||
8178 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
8179 | completer for the "help" command. | |
8180 | ||
39c22d1a JM |
8181 | 2002-01-09 Jason Merrill <jason@redhat.com> |
8182 | ||
8183 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
8184 | ||
c564377f MS |
8185 | 2002-01-09 Michael Snyder <msnyder@redhat.com> |
8186 | ||
975aec09 MS |
8187 | * i386-linux-nat.c (fill_fpxregset): Make global. |
8188 | (store_fpxregset): Ditto. | |
8189 | ||
db4a10fa MS |
8190 | * gregset.h (gdb_fpxregset_t): Define. |
8191 | (supply_fpxregset): Prototype. | |
8192 | (fill_fpxregset): Prototype. | |
8193 | ||
c564377f MS |
8194 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
8195 | ||
c3d45d70 RE |
8196 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
8197 | ||
8198 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
8199 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
8200 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
8201 | ||
fcc87af1 AC |
8202 | 2002-01-09 Andrew Cagney <ac131313@redhat.com> |
8203 | ||
8204 | * MAINTAINERS: Update target maintainer rules so that any | |
8205 | Maintainer can approve a tested patch for a maintenance-only | |
8206 | target. | |
8207 | ||
dd96c05b RE |
8208 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
8209 | ||
d4297db9 | 8210 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 8211 | |
d4297db9 | 8212 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
8213 | IN_SIGTRAMP. |
8214 | ||
145fdc6e MS |
8215 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
8216 | ||
8217 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
8218 | real name of the executable, rather than the /proc name. | |
8219 | ||
be4d1333 MS |
8220 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
8221 | ||
8222 | Implement a "generate-core-file" command in gdb, save target state. | |
8223 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
8224 | Save a corefile image of the current state of the inferior. | |
8225 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
8226 | * target.h (struct target_ops): Add new target vectors for saving | |
8227 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
8228 | (target_find_memory_regions): New macro. | |
8229 | (target_make_corefile_notes): New macro. | |
8230 | * target.c (update_current_target): Inherit new target methods. | |
8231 | (dummy_find_memory_regions): New place-holder method. | |
8232 | (dummy_make_corefile_notes): New place-holder method. | |
8233 | (init_dummy_target): Initialize new dummy target vectors. | |
8234 | * exec.c (exec_set_find_memory_regions): New function. | |
8235 | Allow the exec_ops vector for memory regions to be taken over. | |
8236 | (exec_make_note_section): New function, target vector method. | |
8237 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
8238 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
8239 | (procfs_make_note_section): New function, corefile method. | |
8240 | (init_procfs_ops): Set new target vector pointers. | |
8241 | (find_memory_regions_callback): New function. | |
8242 | (procfs_do_thread_registers): New function. | |
8243 | (procfs_corefile_thread_callback): New function. | |
8244 | * sol-thread.c (sol_find_memory_regions): New function. | |
8245 | (sol_make_note_section): New function. | |
8246 | (init_sol_thread_ops): Initialize new target vectors. | |
8247 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
8248 | Allow to_find_memory_regions vector to be taken over. | |
8249 | (inftarg_set_make_corefile_notes): New function. | |
8250 | Allow to_make_corefile_notes vector to be taken over. | |
8251 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
8252 | interface layer if not target_has_execution (may be a corefile). | |
8253 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
8254 | * config/sparc/sun4sol2.mh: Ditto. | |
8255 | * config/alpha/alpha-linux.mh: Ditto. | |
8256 | * config/arm/linux.mh: Ditto. | |
8257 | * config/i386/x86-64linux.mh: Ditto. | |
8258 | * config/ia64/linux.mh: Ditto. | |
8259 | * config/m68k/linux.mh: Ditto. | |
8260 | * config/mips/linux.mh: Ditto. | |
8261 | * config/powerpc/linux.mh: Ditto. | |
8262 | * config/sparc/linux.mh: Ditto. | |
8263 | ||
c6b92abd MS |
8264 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
8265 | ||
8266 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
8267 | (registers[] and register_valid[]). | |
8268 | ||
4b09dc8c MS |
8269 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
8270 | ||
abf22e64 AJ |
8271 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
8272 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
8273 | symbol file and shlibs. |
8274 | * Makefile.in: Add rule for linux-proc.o. | |
8275 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
8276 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
8277 | * config/arm/linux.mh: Ditto. | |
8278 | * config/i386/linux.mh: Ditto. | |
8279 | * config/i386/x86-64linux.mh: Ditto. | |
8280 | * config/ia64/linux.mh: Ditto. | |
8281 | * config/m68k/linux.mh: Ditto. | |
8282 | * config/mips/linux.mh: Ditto. | |
8283 | * config/powerpc/linux.mh: Ditto. | |
8284 | * config/sparc/linux.mh: Ditto. | |
8285 | ||
c25b74ac PM |
8286 | 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr> |
8287 | ||
8288 | * win32-nat.c: Add i386-tdep.h dependency. | |
8289 | ||
94cd915f MS |
8290 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
8291 | ||
c7cccb76 MS |
8292 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
8293 | instead of bfd_get_arch_size. Don't bail out just because | |
8294 | there's no exec_bfd. | |
abf22e64 | 8295 | |
34c0bd93 MS |
8296 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
8297 | * p-valprint.c (pascal_object_print_value): Ditto. | |
8298 | * somread.c (som_symtab_read): Ditto. | |
8299 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
8300 | * valops.c (value_assign): Ditto. | |
8301 | ||
21c1c920 MS |
8302 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
8303 | use tilde_expand and strerror for opening save-tracepoints file. | |
8304 | ||
5bbd998e MS |
8305 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
8306 | ||
94cd915f MS |
8307 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
8308 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 8309 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
8310 | can be overridden with whatever value is appropriate to the host). |
8311 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
8312 | alloca to allocate potentially large buffer. | |
8313 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
8314 | * symm-nat.c (child_xfer_memory): Ditto. | |
8315 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
8316 | ||
494e8a93 JSC |
8317 | 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com> |
8318 | ||
8319 | From Nick Clifton <nickc@redhat.com> | |
8320 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
8321 | ||
d0e1d48e MS |
8322 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
8323 | ||
abf22e64 | 8324 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
8325 | Don't use exec_bfd if it's NULL. |
8326 | ||
290b2c7a MK |
8327 | 2002-01-06 Mark Kettenis <kettenis@gnu.org> |
8328 | ||
abf22e64 | 8329 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 8330 | |
aef21287 AC |
8331 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
8332 | ||
8333 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
8334 | * gnu-nat.c: Ditto. | |
8335 | ||
30efa627 AC |
8336 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
8337 | ||
8338 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
8339 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
8340 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
8341 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
8342 | z8k-coff have not been multi-arched. Update z8k-coff build | |
8343 | status. | |
8344 | ||
9b4ff276 AC |
8345 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
8346 | ||
8347 | * MAINTAINERS: Mark a29k target as obsolete. | |
8348 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
8349 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
8350 | comments. | |
8351 | * NEWS: Note that a29k targets are obsolete. | |
8352 | * a29k-tdep.c: Mark as obsolete. | |
8353 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
8354 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
8355 | a29k-*-vxworks* targets as obsolete. | |
8356 | * remote-adapt.c: Obsolete. | |
8357 | * remote-eb.c: Obsolete. | |
8358 | * remote-mm.c: Obsolete. | |
8359 | * remote-udi.c: Obsolete. | |
8360 | * config/a29k/a29k-udi.mt: Obsolete. | |
8361 | * config/a29k/a29k.mt: Obsolete. | |
8362 | * config/a29k/tm-a29k.h: Obsolete. | |
8363 | * config/a29k/tm-vx29k.h: Obsolete. | |
8364 | * config/a29k/vx29k.mt: Obsolete. | |
8365 | ||
a9011d31 AC |
8366 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
8367 | ||
8368 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
8369 | with BFD_ENDIAN_BIG. | |
8370 | ||
9299404e AC |
8371 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
8372 | ||
8373 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
8374 | * configure, config.in: Re-generate. | |
8375 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
8376 | * defs.h: Do not include <endian.h>. | |
8377 | ||
7e89e357 JT |
8378 | 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com> |
8379 | ||
8380 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
8381 | * config.in: Regenerate. | |
8382 | * configure.in: Update copyright years. | |
8383 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
8384 | * configure: Regenerate. | |
8385 | * i386bsd-nat.c: Update copyright years. | |
8386 | (fill_gregset): Use regcache_collect. | |
8387 | (fetch_inferior_registers): Only fetch integer registers | |
8388 | if requested to do so. Add support for XMM registers | |
8389 | using PT_GETXMMREGS. | |
8390 | (store_inferior_registers): Only store integer registers | |
8391 | if requested to do so. Add support for XMM registers | |
8392 | using PT_SETXMMREGS. | |
8393 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
8394 | (store_inferior_registers): Remove. | |
8395 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
8396 | (fetch_elfcore_registers): New function. | |
8397 | (i386nbsd_elfcore_fns): New. | |
8398 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
8399 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
8400 | i386bsd-nat.o. | |
8401 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
8402 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
8403 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
8404 | * config/i386/tm-nbsd.h: Update copyright years. | |
8405 | (HAVE_SSE_REGS): Define. | |
8406 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
8407 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
8408 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
8409 | (SIGCONTEXT_PC_OFFSET): Remove. | |
8410 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
8411 | ||
a752853e AC |
8412 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
8413 | ||
8414 | * configure.tgt: Remove powerpc-*-macos* target. | |
8415 | * config/m68k/xm-mpw.h: Delete file. | |
8416 | * config/xm-mpw.h: Delete file. | |
8417 | * ser-mac.c: Delete file. | |
8418 | * mpw-make.sed: Delete file. | |
8419 | * mpw-config.in: Delete file. | |
8420 | * mac-xdep.c: Delete file. | |
8421 | * mac-gdb.r: Delete file. | |
8422 | * mac-defs.h: Delete file. | |
8423 | * mac-nat.c: Delete file. | |
8424 | * config/powerpc/macos.mh: Delete file. | |
8425 | * config/powerpc/macos.mt: Delete file. | |
8426 | * config/powerpc/nm-macos.h: Delete file. | |
8427 | * config/powerpc/tm-macos.h: Delete file. | |
8428 | * source.c (openp, open_source_file): Remove obsolete code. | |
8429 | * top.c (gdb_readline): Ditto. | |
8430 | * utils.c (query): Ditto. | |
8431 | * event-top.c (display_gdb_prompt): Ditto. | |
8432 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
8433 | * NEWS: Update. | |
8434 | ||
d7449b42 AC |
8435 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
8436 | ||
8437 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
8438 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
8439 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
8440 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
8441 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
8442 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
8443 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
8444 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
8445 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
8446 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
8447 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
8448 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
8449 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
8450 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
8451 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
8452 | * gdbarch.c: Re-generate. | |
8453 | ||
356374e8 DJ |
8454 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
8455 | ||
8456 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
8457 | for core files. | |
8458 | ||
a2b8f8f8 JT |
8459 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
8460 | ||
8461 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
8462 | ||
12466af9 AC |
8463 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
8464 | ||
8465 | * value.h (value_ptr): Delete typedef. | |
8466 | ||
3549ab40 JT |
8467 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
8468 | ||
8469 | * i386nbsd-nat.c: Update copyright years. | |
8470 | Include i386-tdep.h. | |
8471 | ||
fedbd091 EZ |
8472 | 2002-01-04 Elena Zannoni <ezannoni@redhat.com> |
8473 | ||
8474 | * stabsread.c: Update copyright years. | |
8475 | ||
8476 | From Debashis Mahata <debashis.mahata@wipro.com>: | |
8477 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
8478 | output for structs and unions. | |
fec8b34f | 8479 | Fix PR gdb/269. |
fedbd091 | 8480 | |
eb43544b DJ |
8481 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
8482 | ||
8483 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
8484 | prototype. | |
8485 | ||
1514d34e DJ |
8486 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
8487 | ||
8488 | * cp-abi.c: Fix whitespace. | |
8489 | (baseclass_offset): New wrapper function. | |
8490 | * cp-abi.h (baseclass_offset): Add prototype. | |
8491 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
8492 | ||
8493 | * valops.c (vb_match): Move to... | |
8494 | * gnu-v2-abi.c (vb_match): here. | |
8495 | * valops.c (baseclass_offset): Move to... | |
8496 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
8497 | ||
8498 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
8499 | ||
8500 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
8501 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
8502 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
8503 | ||
7f8c9282 DJ |
8504 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
8505 | ||
8506 | * valops.c (find_overload_match): Accept obj as a | |
8507 | reference parameter. Update it before returning. | |
8508 | * value.h (find_overload_match): Update prototype. | |
8509 | * eval.c (evaluate_subexp_standard): Pass object to | |
8510 | find_overload_match by reference. | |
8511 | ||
f23631e4 AC |
8512 | 2002-01-03 Andrew Cagney <ac131313@redhat.com> |
8513 | ||
8514 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
8515 | register attribute from value declarations. | |
8516 | * valops.c: Ditto. | |
8517 | * value.h: Ditto. | |
8518 | * scm-lang.c (scm_lookup_name): Ditto. | |
8519 | ||
79e10fab | 8520 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
abf22e64 | 8521 | |
79e10fab AC |
8522 | Abstract the functionality of iterating over mapped memory |
8523 | regions into a general purpose iterator function. | |
abf22e64 | 8524 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
8525 | iterator for memory sections. |
8526 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
8527 | (solib_mappings_callback): New function, callback for above. | |
8528 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
8529 | (info_mappings_callback): New function, callback for above. | |
8530 | ||
8531 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
8532 | ||
c5ad026a MK |
8533 | 2002-01-01 Mark Kettenis <kettenis@gnu.org> |
8534 | ||
d2a7c97a MK |
8535 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
8536 | * i386-tdep.c: Include "elf-bfd.h". | |
8537 | (process_note_abi_tag_sections): New function. | |
8538 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
8539 | combinations. | |
8540 | ||
c5ad026a MK |
8541 | * maint.c (_initialize_maint_cmds): Add missing \ in |
8542 | string-literal. | |
8543 | ||
a1a5b71e | 8544 | For older changes see ChangeLog-2001 |
c906108c SS |
8545 | \f |
8546 | Local Variables: | |
8547 | mode: change-log | |
8548 | left-margin: 8 | |
8549 | fill-column: 74 | |
8550 | version-control: never | |
8551 | End: |