]>
Commit | Line | Data |
---|---|---|
a534e424 AC |
1 | 2002-07-08 Andrew Cagney <[email protected]> |
2 | ||
3 | * config.in, configure: Regenerate. | |
4 | ||
9b94f7bf MK |
5 | 2002-07-08 Mark Kettenis <[email protected]> |
6 | ||
7 | * dwarf2cfi.c: Include "gcore.h". | |
8 | (execute_stack_op): Fix implementation of the | |
9 | DW_OP_deref and DW_OP_deref_size operators by letting do their | |
10 | lookup in the target. | |
11 | ||
1d34db41 MK |
12 | 2002-07-07 Mark Kettenis <[email protected]> |
13 | ||
14 | From Peter Schauer <[email protected]>: | |
15 | * i386-sol2-tdep.c (i386_sol2_init_abi): Correct value for | |
16 | tdep->sc_sp_offset. | |
17 | ||
79d5b63a DJ |
18 | 2002-07-05 Daniel Jacobowitz <[email protected]> |
19 | ||
20 | Fix PR gdb/595, gdb/602 | |
21 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Remove unused variables. | |
22 | Don't call value_cast, just read the vtable pointer; update comments | |
23 | to match. | |
24 | ||
3bb912e8 GS |
25 | 2002-07-05 Grace Sainsbury <[email protected]> |
26 | ||
27 | * config/mcore/tm-mcore.h: Remove file. | |
28 | * config/mcore/mcore.mt: Remove definition of TM_FILE | |
29 | * configure.tgt: Set gdb_multi_arch to yes for the mcore target. | |
30 | ||
ca39387d MK |
31 | 2002-07-05 Mark Kettenis <[email protected]> |
32 | ||
33 | * i386bsd-tdep.c: Include "gdb_string.h". | |
34 | ||
efdc1108 GS |
35 | 2002-07-04 Grace Sainsbury <[email protected]> |
36 | ||
37 | * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Set to 2. | |
38 | (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG,RETVAL_REGNUM): Move to | |
39 | mcore-tdep. | |
40 | (REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER) | |
41 | (TARGET_VIRTUAL_FRAME_POINTER, BELIEVE_PCC_PROMOTION): Remove. | |
42 | * mcore-tdep.c (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG) | |
43 | (RETVAL_REGNUM): Move macros from tm-mcore.h | |
44 | (mcore_reg_struct_has_addr): New function. | |
45 | (mcore_gdbarch_init): Added initializations for the macros removed | |
46 | from tm-mcore.h. | |
47 | ||
bb21884d MK |
48 | 2002-07-04 Mark Kettenis <[email protected]> |
49 | ||
50 | * osabi.c (generic_elf_osabi_sniffer): Add check for FreeBSD 3.x's | |
51 | traditonal string branding within the ELF header. | |
52 | ||
228c6d41 DJ |
53 | 2002-07-04 Daniel Jacobowitz <[email protected]> |
54 | ||
55 | * symtab.c (remove_params): New function. | |
56 | (make_symbol_overload_list): Use it instead of cplus_demangle. | |
57 | (overload_list_add_symbol): Likewise. Reorder. Fix memory leak. | |
58 | ||
2404952e MK |
59 | 2002-07-04 Mark Kettenis <[email protected]> |
60 | ||
e5e4acad MK |
61 | * i386obsd-nat.c (_initialize_i386obsd_nat): Fix typo in prototype. |
62 | ||
baadce09 MK |
63 | * i386bsd-tdep.c (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): |
64 | New variables. | |
65 | (i386nbsd_init_abi): Use these to initialize tdep->sigtramp_start | |
66 | and tdep->sigtramp_end. | |
67 | * i386obsd-nat.c: New file. | |
68 | * config/i386/obsd.mh (NATDEPFILES): Add i386obsd-nat.o. | |
69 | ||
2404952e MK |
70 | * dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf. |
71 | Don't call get_current_frame(). | |
72 | ||
9b4f1ba7 PM |
73 | 2002-07-04 Pierre Muller <[email protected]> |
74 | ||
75 | * i386-nat.c (child_post_startup_inferior): New function | |
76 | calling i386_cleanup_dregs if | |
77 | I386_USE_GENERIC_WATCHPOINTS is defined. | |
78 | * config/i386/nm-i386.h: define CHILD_POST_STARTUP_INFERIOR | |
79 | conditional to acknowledge that i386-nat.c has its | |
80 | own child_post_startup_inferior function. | |
81 | ||
c0d1d883 MK |
82 | 2002-07-04 Mark Kettenis <[email protected]> |
83 | ||
00f8375e MK |
84 | * i386-tdep.h (I386_MAX_REGISTER_SIZE): New define. |
85 | * i386-tdep.c (i386_do_pop_frame): Use I386_MAX_REGISTER_SIZE | |
86 | instead of MAX_REGISTER_RAW_SIZE. | |
87 | (i386_extract_return_value, i386_extract_struct_value_address): | |
88 | Convert to use regcache. | |
89 | (i386_gdbarch_init): Set max_register_raw_size and | |
90 | max_register_virtual_size to I386_MAX_REGISTER_SIZE. | |
91 | Set extract_return_value and extract_struct_value_address instead | |
92 | of their deprecated variants. | |
93 | ||
c0d1d883 MK |
94 | Convert i386 target to generic dummy frames. |
95 | * i386-tdep.c: Include "symfile.h". | |
96 | (i386_frameless_signal_p): Consider a function to be frameless if | |
97 | the pc points at the first instruction of the function. | |
98 | (i386_frame_chain): Handle (generic) call dummies. | |
99 | (i386_frame_saved_pc): Likewise. | |
100 | (i386_frame_init_saved_regs): Remove code dealing with call | |
101 | dummies on the stack. | |
102 | (i386_push_dummy_frame): Removed. | |
103 | (i386_call_dummy_words): Removed. | |
104 | (i386_fix_call_dummy): Removed. | |
105 | (i386_push_return_address): New function. | |
106 | (i386_do_pop_frame): Renamed from i386_pop_frame. Add FRAME | |
107 | parameter, and don't call get_current_frame. | |
108 | (i386_pop_frame): New function. | |
109 | (i386_gdbarch_init): Set use_generic_dummy_frames to 1, set | |
110 | call_dummy_location to AT_ENTRY_POINT, set call_dummy_address to | |
111 | entry_point_address, set call_dummy_breakpoint_offset to 0, set | |
112 | call_dummy_length to 0, set call_dummy_words to NULL, set | |
113 | sizeof_call_dummy_words to 0, set fix_call_dummy to | |
114 | generic_fix_call_dummy, set pc_in_call_dummy to | |
115 | pc_in_call_dummy_at_entry_point, set push_dummy_frame to | |
116 | generic_push_dummy_frame, set push_return_address to | |
117 | i386_push_return_address and set frame_chain_valid to | |
118 | generic_file_frame_chain_valid. | |
119 | ||
638c1580 ML |
120 | 2002-07-04 Michal Ludvig <[email protected]> |
121 | ||
122 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Make it an array of | |
123 | byte offsets instead of an array of indexes. | |
124 | (x86_64_store_gregset, x86_64_store_fpregset): Parameter made const. | |
125 | ||
049ee0e4 AC |
126 | 2002-07-03 Andrew Cagney <[email protected]> |
127 | ||
128 | * gdbarch.sh (struct regcache): Add opaque declaration. | |
129 | (EXTRACT_RETURN_VALUE): New architecture method. | |
130 | (EXTRACT_STRUCT_VALUE_ADDRESS): Ditto. | |
131 | * gdbarch.h, gdbarch.c: Regenerate. | |
132 | * arch-utils.c (legacy_extract_return_value): New function. | |
133 | * arch-utils.h (legacy_extract_return_value): Declare. | |
134 | * values.c (value_being_returned): Re-enable code handling | |
135 | EXTRACT_STRUCT_VALUE_ADDRESS. Move | |
136 | deprecated_grub_regcache_for_registers call to block handling | |
137 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
138 | (EXTRACT_RETURN_VALUE): Do not define. | |
139 | ||
4e0d9804 GS |
140 | 2002-07-03 Grace Sainsbury <[email protected]> |
141 | ||
142 | * config/mcore/tm-mcore.h (REGISTER_BYTES, NUM_REGS, PC_REGNUM) | |
143 | (SP_REGNUM, FP_REGNUM, FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK) | |
144 | (BREAKPOINT_FROM_PC, INNER_THAN, SAVED_PC_AFTER_CALL) | |
145 | (INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS, INIT_FRAME_PC) | |
146 | (FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC) | |
147 | (STORE_RETURN_VALUE, DEPRECATED_EXTRACT_RETURN_VALUE) | |
148 | (STORE_STRUCT_RETURN, DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS) | |
149 | (SKIP_PROLOGUE, FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS) | |
150 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, POP_FRAME) | |
151 | (PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME, PUSH_ARGUMENTS): Remove. | |
152 | * mcore-tdep.c (mcore_init_extra_frame_info): Add fromleaf | |
153 | argument so the function fits the prototype in the architecture | |
154 | vector. | |
155 | (mcore_pop_frame): Remove argument so the function fits the | |
156 | prototype. Use get_current_frame instead of the argument. | |
157 | (mcore_push_arguments): Change type of struct_return so the | |
158 | function can be used in the architecture vector. | |
159 | (mcore_store_struct_return): Add. | |
160 | (mcore_frame_init_saved_regs): Add. | |
161 | (mcore_gdbarch_init): Add function calls to replace the macros | |
162 | removed from tm-mcore.h | |
163 | ||
36160dc4 AC |
164 | 2002-07-03 Andrew Cagney <[email protected]> |
165 | ||
166 | * infcmd.c (print_return_value): Remove compatibility code calling | |
167 | deprecated_grub_regcache_for_registers. | |
168 | ||
169 | * values.c: Include "regcache.h". | |
170 | (value_being_returned): Update. Use | |
171 | deprecated_grub_regcache_for_registers to extract the register | |
172 | buffer address. | |
173 | * value.h (value_being_returned): Change ``retbuf'' parameter to a | |
174 | ``struct regcache''. | |
175 | * Makefile.in (values.o): Add dependency on $(regcache_h). | |
176 | ||
177 | * inferior.h (run_stack_dummy): Change type of second parameter to | |
178 | a ``struct regcache''. | |
179 | * valops.c (hand_function_call): Change type of retbuf to ``struct | |
180 | regcache''. Allocate using regcache_xmalloc, clean using | |
181 | make_cleanup_regcache_xfree. | |
182 | * infcmd.c (run_stack_dummy): Update. Use | |
183 | regcache_cpu_no_passthrough instead of memcpy to copy the buffer. | |
184 | ||
185 | * regcache.c (do_regcache_xfree): New function. | |
186 | (make_cleanup_regcache_xfree): New function. | |
187 | * regcache.h (make_cleanup_regcache_xfree): Declare. | |
188 | ||
e64d9b3d MH |
189 | 2002-07-03 Martin M. Hunt <[email protected]> |
190 | ||
4dd79c29 MH |
191 | * event-top.c (command_line_handler): Don't read past |
192 | beginning of buffer. | |
e64d9b3d | 193 | |
4dd79c29 MH |
194 | 2002-07-03 Martin M. Hunt <[email protected]> |
195 | ||
e64d9b3d MH |
196 | * varobj.c (struct varobj_root): Change frame from CORE_ADDR to |
197 | struct frame_id. | |
198 | (varobj_create): Store frame_id for root. | |
199 | (varobj_gen_name): Use xasprintf. | |
200 | (varobj_update): Save and restore frame using get_frame_id() and | |
201 | frame_find_by_id(). | |
202 | (create_child): Use xasprintf. | |
203 | (new_root_variable): Initialize frame_id. | |
204 | (c_name_of_child): Use xasprintf. Call find_frame_by_id(). | |
205 | (c_value_of_variable): Use xasprintf. Move mem_fileopen call | |
206 | to prevent memory leak. | |
207 | ||
26e6c56a AC |
208 | 2002-07-03 Andrew Cagney <[email protected]> |
209 | ||
210 | * valops.c (hand_function_call): Move declaration of retbuf to | |
211 | start of function, allocate using malloc, add a cleanup but before | |
212 | the inf_status cleanup, cleanup the buffer. Rename local variable | |
213 | old_chain to inf_status_cleanup. | |
214 | ||
f436dd25 MH |
215 | 2002-07-03 Martin M. Hunt <[email protected]> |
216 | ||
217 | * top.c (execute_command): Use cmd_func() and cmd_func_p(). | |
218 | ||
219 | * cli/cli-decode.c (cmd_func_p): New function. | |
220 | (cmd_func): New function. | |
221 | ||
222 | * command.h: Add cmd_func() and cmd_func_p(). | |
223 | ||
4cfe2084 GS |
224 | 2002-07-03 Grace Sainsbury <[email protected]> |
225 | ||
226 | * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Add macro. Set to 0. | |
227 | (REGISTER_SIZE): Remove. | |
228 | (MAX_REGISTER_RAW_SIZE): Remove. | |
229 | (REGISTER_VIRTUAL_TYPE): Remove. | |
230 | (MAX_REGISTER_VIRTUAL_SIZE): Remove. | |
231 | (REGISTER_NAME): Remove. | |
232 | (USE_GENERIC_DUMMY_FRAMES): Remove. | |
233 | (CALL_DUMMY): Remove. | |
234 | (CALL_DUMMY_START_OFFSET): Remove. | |
235 | (CALL_DUMMY_BREAKPOINT_OFFSET): Remove. | |
236 | (CALL_DUMMY_LOCATION): Remove. | |
237 | (FIX_CALL_DUMMY): Remove. | |
238 | (CALL_DUMMY_ADDRESS): Remove. | |
239 | (SIZEOF_CALL_DUMMY_WORDS): Remove. | |
240 | (SAVE_DUMMY_FRAME_TOS): Remove. | |
241 | * mcore-tdep.c (MCORE_REG_SIZE, MCORE_NUM_REGS): Add macros. | |
242 | (mcore_register_virtual_type): New function. | |
243 | (mcore_register_byte): New function. | |
244 | (mcore_register_size): New function. | |
245 | (mcore_register_name): New function. | |
246 | (mcore_gdbarch_init): New function. Add set_gdbarch calls for | |
247 | macros removed from tm-mcore.h. | |
248 | (mcore_dump_tdep): Add. | |
249 | (_initialize_mcore_tdep): Add gdbarch_register call. | |
250 | ||
4fd667e9 MK |
251 | 2002-07-03 Mark Kettenis <[email protected]> |
252 | ||
253 | * i386-tdep.c (i386_frameless_signal_p): Provide an argument in to | |
254 | frameless_look_for_prologue, such that we actually call this | |
255 | function. | |
256 | ||
42f99ac2 JB |
257 | 2002-07-02 Joel Brobecker <[email protected]> |
258 | ||
259 | * frame.h (frame_address_in_block): New function. | |
260 | ||
261 | * blockframe.c (frame_address_in_block): New function extracted | |
262 | from get_frame_block(). | |
263 | (get_frame_block): Use frame_address_in_block(). | |
264 | (block_innermost_frame): Use frame_address_in_block() to match | |
265 | the frame pc address against the block boundaries rather than | |
266 | the frame pc directly. This prevents a failure when a frame pc | |
267 | is actually a return-address pointing immediately after the end | |
268 | of the given block. | |
269 | ||
103a1597 | 270 | 2002-07-02 Grace Sainsbury <[email protected]> |
83b4a0fe GS |
271 | |
272 | * MAINTAINERS: Add self under write after approval. | |
273 | ||
274 | 2002-07-02 Grace Sainsbury <[email protected]> | |
275 | ||
103a1597 GS |
276 | * m68k-tdep.c (m68k_remote_breakpoint_from_pc): Add. Currently not |
277 | used in architecture vector. The default is | |
278 | m68k_local_breakpoint_from_pc. | |
279 | (m68k_local_breakpoint_from_pc): Add. | |
280 | (enum): Add register numbers from tm-m68k.h. | |
281 | (m68k_gdbarch_init): Add breakpoint_from_pc to architecture | |
282 | vector. | |
283 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Set to | |
284 | GDB_MULTI_ARCH_PARTIAL. | |
285 | (BPT_VECTOR, REGISTER_BYTES_FP, REGISTER_BYTES_NOFP) | |
286 | (NUM_FREGS, SIG_PC_FP_OFFSET, SP_ARG0, REMOTE_BPT_VECTOR): Move to | |
287 | m68k-tdep.c. | |
288 | (BREAKPOINT, REMOTE_BREAKPOINT): Remove. | |
289 | (A1_REGNUM, FP0_REGNUM, FPC_REGNUM, FPS_REGNUM, FPI_REGNUM): Move | |
290 | to enum in m68k-tdep.c | |
291 | ||
7a5a0534 JB |
292 | 2002-07-02 Joel Brobecker <[email protected]> |
293 | ||
294 | * solib-osf.c (open_map): Compute the list of shared libraries | |
295 | loaded by the inferior, rather than the list of libraries loaded | |
296 | by GDB itself. Otherwise, GDB ends up reading the symbols from | |
297 | the wrong shared libraries... | |
298 | ||
6f558d74 MK |
299 | 2002-07-02 Mark Kettenis <[email protected]> |
300 | ||
b7d15bf7 MK |
301 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Make static. |
302 | (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONEXT_SP_OFFSET): Remove | |
303 | macros. | |
304 | (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp): | |
305 | Remove functions. | |
306 | (FRAMELESS_SIGNAL): Remove function. | |
307 | (i386_linux_frame_chain, i386_linux_frame_saved_pc, | |
308 | i386_linux_saved_pc_after_call): Removed. | |
309 | (i386_linux_init_abi): Initialize tdep->sigcontext_addr, | |
310 | tdep->sc_pc_offset and tdep->sc_sp_offset. Don't override | |
311 | frame_chain, frame_saved_pc and saved_pc_after_call any longer. | |
312 | ||
6bff26de MK |
313 | * i386-tdep.c (i386_frameless_signal_p): New function. |
314 | (i386_frame_chain): Deal with frameless signals. | |
315 | (i386_sigtramp_saved_sp): New function. | |
316 | (i386_frame_saved_pc): Deal with frameless signals. | |
317 | (i386_saved_pc_after_call): Make sure the correct value is | |
318 | returned just after entry into a sigtramp. | |
319 | * i386bsd-tdep.c (i386bsd_sc_sp_offset, i386nbsd_sc_sp_offset, | |
320 | i386fbsd4_sc_sp_offset): New variables. | |
321 | (i386bsd_init_abi, i386nbsd_init_abi, i386fbsd4_init_abi): Use | |
322 | these variables to initialize tdep->sc_sp_offset. * i386bsd-nat.c | |
323 | (_initialize_i386bsd_nat): Add sanity check for sc_sp_offset | |
324 | similiar to what we already did for sc_pc_offset. | |
325 | * i386-sol2-tdep.c (i386_sol2_init_abi): Initialize | |
326 | tdep->sc_sp_offset. | |
327 | ||
6f558d74 MK |
328 | * i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line. |
329 | ||
145564b7 ML |
330 | 2002-07-02 Michal Ludvig <[email protected]> |
331 | ||
332 | * config/i386/tm-x86-64linux.h: New. | |
333 | * config/i386/x86-64linux.mt: Add GDB_MULTI_ARCH and TM_FILE | |
334 | definitions. | |
335 | * config/i386/nm-x86-64.h: Rename to ... | |
336 | * config/i386/nm-x86-64linux.h: ... this one. | |
337 | * config/i386/x86-64linux.mh: Reflect the above change. | |
338 | ||
3a1e71e3 MK |
339 | 2002-07-01 Mark Kettenis <[email protected]> |
340 | ||
21d0e8a4 MK |
341 | * i386-tdep.h (struct gdbarch_tdep): Replace sigtramp_saved_pc |
342 | with sigcontext_addr. Add sc_sp_offset. | |
343 | (i386bsd_sigtramp_saved_pc): Remove prototype. | |
344 | (i386bsd_sicontext_addr): Add prototype. | |
345 | * i386-tdep.c (i386_sigtramp_saved_pc): New function. | |
346 | (i386_frame_saved_pc): Rewrite to call i386_sigtramp_saved_pc. | |
347 | (i386_svr4_sigtramp_saved_pc): Removed. | |
348 | (i386_svr4_sigcontext_addr): New function. | |
349 | (i386_svr4_init_abi): Don't initialize tdep->sigtramp_saved_pc. | |
350 | Initialize tdep->sigcontext_addr instead. Initialize | |
351 | tdep->sc_pc_offset and tdep->sc_sp_offset. | |
352 | (i386_gdbarch_init): Likewise. | |
353 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Don't make it static | |
354 | any more. | |
355 | (i386bsd_sigtramp_saved_pc): Remove function. | |
356 | (i386bsd_init_abi): Don't initialize tdep->sigtramp_saved_pc. | |
357 | Initialize tdep->sigcontext_addr instead. Initialize | |
358 | tdep->sc_pc_offset. | |
359 | * i386-linux-tdep.c (i386_linux_init_abi): Remove initialization | |
360 | of tdep->sigtramp_saved_pc. | |
361 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't initialize | |
362 | tdep->sigtramp_saved_pc. Initialize tdep->sigcontext_addr | |
363 | instead. | |
364 | ||
3a1e71e3 MK |
365 | * i386-tdep.c (i386_frameless_function_invocation, |
366 | i386_frame_num_args, i386_frame_init_saved_regs, | |
367 | i386_skip_prologue, i386_push_dummy_frame, i386_fix_call_dummy, | |
368 | i386_pop_frame, i386_push_arguments, i386_store_struct_return, | |
369 | i386_extract_return_value, i386_store_return_value, | |
370 | i386_extract_struct_value_address, i386_register_virtual_type, | |
371 | i386_register_convertible, i386_register_convert_to_virtual, | |
372 | i386_register_convert_to_raw, i386_svr4_sigtramp_saved_pc, | |
373 | i386_go32_init_abi, i386_nw_init_abi, i386_gdbarch_init): Make | |
374 | static. | |
375 | ||
52e9098c MK |
376 | 2002-07-01 Mark Kettenis <[email protected]> |
377 | ||
77b13a25 MK |
378 | * i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed. |
379 | ||
52e9098c MK |
380 | * config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed. |
381 | * i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of | |
382 | this macro. Include "value.h". | |
383 | ||
1b372fff AS |
384 | 2002-06-30 Aidan Skinner <[email protected]> |
385 | ||
386 | * ada-exp.tab.c: remove as it's a generated file | |
387 | * ada-lex.c: remove as it's a generated file | |
388 | ||
9c5045b5 MK |
389 | 2002-06-30 Mark Kettenis <[email protected]> |
390 | ||
4a93c5bb MK |
391 | * config/i386/tm-i386.h (struct frame_info, struct |
392 | frame_saved_regs, struct value, struct type): Remove forward | |
393 | declarations. | |
394 | ||
322d4fe0 MK |
395 | * config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS] |
396 | (FILL_FPXREGSET, HAVE_SSE_REGS): Remove define. | |
397 | * config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS] | |
398 | (FILL_FPXREGSET): Define. | |
399 | ||
fdd8263d MK |
400 | * config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define. |
401 | ||
482e577b MK |
402 | * configure.tgt (i[3456]86-*-openbsd*): Fold into |
403 | i[3456]86-*-netbsd* case. | |
404 | * config/i386/tm-obsd.h: Removed. | |
405 | * config/i386/obsd.mt: Removed. | |
406 | * config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and | |
407 | core-aout.o. | |
408 | (MH_CFLAGS): Add -DYYDEBUG=0. | |
409 | ||
6916549a MK |
410 | * i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to |
411 | i386nbsd_sc_pc_offset on OpenBSD too. | |
412 | ||
9c5045b5 MK |
413 | * config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS] |
414 | (IN_SOLIB_CALL_TRAMPOLINE): Remove define. | |
415 | * config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove | |
416 | define. | |
417 | * i386bsd-tdep.c: Include "arch-utils.h". | |
418 | (i386bsd_aout_in_solib_call_trampoline): New function. | |
419 | (i386bsd_init_abi): Set in_solib_call_trampoline to | |
420 | i386bsd_aout_in_solib_call_trampoline. | |
421 | (i386nbsdelf_init_abi, i386fbsd_init_abi): Set | |
422 | in_solib_call_trampoline to generic_in_solib_call_trampoline. | |
423 | ||
aa84d1bb AC |
424 | 2002-06-28 Andrew Cagney <[email protected]> |
425 | ||
426 | * macrotab.h: Do not include "obstack.h" or "bcache.h". | |
427 | (struct obstack, struct bcache): Add opaque declarations. | |
428 | * Makefile.in (macrotab_h): Update | |
429 | ||
b4d83933 AC |
430 | 2002-06-28 Andrew Cagney <[email protected]> |
431 | ||
432 | * blockframe.c (generic_find_dummy_frame): Change return type to | |
433 | ``struct regcache''. | |
434 | (struct dummy_frame): Replace field ``registers'' with regcache, a | |
435 | struct regcache object. | |
436 | (generic_find_dummy_frame): Update. | |
437 | (generic_push_dummy_frame): Update. Use regcache_xfree, | |
438 | regcache_xmalloc and regcache_cpy. | |
439 | (generic_pop_dummy_frame): Update. Use regcache_cpy and | |
440 | regcache_xfree. | |
441 | (deprecated_generic_find_dummy_frame): Update. | |
442 | (generic_read_register_dummy): Update. Use | |
443 | regcache_read_as_address. | |
444 | (generic_call_dummy_register_unwind): Update. Use regcache_read. | |
445 | (generic_get_saved_register): Update. Use regcache_read. | |
446 | ||
08c0b5bc AC |
447 | 2002-06-28 Andrew Cagney <[email protected]> |
448 | ||
449 | * Makefile.in (objfiles_h): Add $(bcache_h). | |
450 | * objfiles.h: Include "bcache.h". | |
451 | ||
452 | * Makefile.in (symtab_h): Remove $(bcache_h). | |
453 | * symtab.h: Do not include "bcache.h". | |
454 | ||
1f89801a AC |
455 | 2002-06-28 Andrew Cagney <[email protected]> |
456 | ||
457 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to | |
458 | generic_func_frame_chain_valid. | |
459 | ||
b9644b58 DB |
460 | 2002-06-28 David O'Brien <[email protected]> |
461 | ||
462 | * config/i386/nm-fbsd.h: Include <sys/param.h>. | |
463 | * config/i386/tm-fbsd.h: Likewise. | |
464 | ||
dd486634 AC |
465 | 2002-06-28 Andrew Cagney <[email protected]> |
466 | ||
467 | * rs6000-tdep.c (rs6000_gdbarch_init): Use | |
468 | generic_unwind_get_saved_register. | |
469 | ||
0b434a00 AC |
470 | 2002-06-27 Andrew Cagney <[email protected]> |
471 | ||
472 | From 2002-06-27 John David Anglin <[email protected]>: | |
473 | * regcache.c (supply_register): Add missing argument to | |
474 | register_buffer call. | |
475 | ||
f30e5a77 AC |
476 | 2002-06-27 Andrew Cagney <[email protected]> |
477 | ||
478 | * Makefile.in (init.c): Drop -e option to grep. Not necessary and | |
479 | Solaris /bin/grep does not not like it. From Peter Schauer. | |
480 | ||
9f064c95 TT |
481 | 2002-06-26 Tom Tromey <[email protected]> |
482 | ||
483 | * command.h (add_setshow_cmd): Declare. | |
484 | (add_setshow_cmd_full): Declare. | |
485 | * cli/cli-decode.c (add_setshow_cmd): No longer static. Now | |
486 | returns void. Use add_setshow_cmd_full. | |
487 | (add_setshow_cmd_full): New function. | |
488 | (add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full. | |
489 | (add_setshow_boolean_cmd): Likewise. | |
490 | ||
099c7589 JT |
491 | 2002-06-26 Jason Thorpe <[email protected]> |
492 | ||
493 | * config/vax/tm-vax.h: Protect from multiple inclusion. | |
494 | (TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR) | |
495 | (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to... | |
496 | * config/vax/tm-vaxbsd.h: ...here. New file. | |
497 | * config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h. | |
498 | ||
1d049c5e JT |
499 | 2002-06-26 Jason Thorpe <[email protected]> |
500 | ||
501 | * config/vax/tm-vax.h (BREAKPOINT): Remove. | |
502 | (BELIEVE_PCC_PROMOTION): Remove. | |
503 | (AP_REGNUM): Move to... | |
504 | * config/vax/nm-vax.h: ...here. | |
505 | * vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM. | |
506 | (vax_breakpoint_from_pc): New function. | |
507 | (vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc | |
508 | and gdbarch_believe_pcc_promotion. | |
509 | ||
4791e091 JT |
510 | 2002-06-26 Jason Thorpe <[email protected]> |
511 | ||
512 | * Makefile.in (vax_tdep_h): Define. | |
513 | (vax-tdep.o): Use $(vax_tdep_h). | |
514 | * vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework. | |
515 | (vax_dump_tdep): New function. | |
516 | (_initialize_vax_tdep): Register vax_dump_tdep. | |
517 | * vax-tdep.h: Include osabi.h. | |
518 | (struct gdbarch_tdep): New. | |
519 | ||
da130f98 AC |
520 | 2002-06-26 Andrew Cagney <[email protected]> |
521 | ||
522 | * frame.h (deprecated_generic_find_dummy_frame): Rename | |
523 | generic_find_dummy_frame. | |
524 | * blockframe.c (generic_find_dummy_frame): Make static. | |
525 | (deprecated_generic_find_dummy_frame): New function. | |
526 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace | |
527 | generic_find_dummy_frame with deprecated_find_dummy_frame. | |
528 | (sh64_nofp_frame_init_saved_regs): Ditto. | |
529 | (sh_fp_frame_init_saved_regs): Ditto. | |
530 | * s390-tdep.c (s390_frame_saved_pc_nofix): Ditto. | |
531 | (s390_frame_chain): Ditto. | |
532 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. | |
533 | ||
6300c360 GS |
534 | 2002-06-26 Grace Sainsbury <[email protected]> |
535 | ||
536 | * config/m68k/tm-m68k.h: Rearrange code so macros not in the | |
537 | gdbarch vector are at the top. | |
538 | (NUM_REGS): Remove. | |
539 | (FP_REGNUM, SP_REGNUM, PS_REGNUM, PC_REGNUM, FP0_REGNUM): Remove. | |
540 | (FRAME_ARGS_ADDRESS): Remove. | |
541 | (FRAME_LOCALS_ADDRESS): Remove. | |
542 | (FRAME_NUM_ARGS): Remove. | |
543 | (FRAME_ARGS_SKIP): Remove. | |
544 | * m68k-tdep.c (enum): Add eumeration of special register numbers. | |
545 | (m68k_gdbarch_init): Add gdbarch initializations for macros | |
546 | undefined in tm-m68k.h | |
547 | ||
1c617db8 GS |
548 | 2002-06-26 Grace Sainsbury <[email protected]> |
549 | ||
550 | * monitor.h: Add the function regname to monitor_ops | |
551 | structure. This way NUM_REGS does not have to be a constant. | |
552 | * monitor.c (monitor_fetch_register): Added support for regname | |
553 | function. The function is called if the array regnames is NULL. | |
554 | (monitor_store_register): Same. | |
da130f98 AC |
555 | * cpu32bug-rom.c (cpu32bug_regname): Add function. Replaces |
556 | regnames array. | |
1c617db8 GS |
557 | (init_cpu32bug_cmds): set cpu32bug_cmds.regnames to NULL, |
558 | cpu32bug_cmds.regname to point to new function. | |
559 | * abug-rom.c (abug_regname): Same as above. | |
560 | (init_abug_cmds): Same. | |
561 | * dbug-rom.c (dbug_regname): Same as above. | |
562 | (init_dbug_cmds): Same. | |
563 | * remote-est.c (est_regname): Same. | |
564 | (init_est_cmds): Same. | |
565 | * rom68k-rom.c (rom68k_regname): Same. | |
566 | (init_rom68k_cmds): Same. | |
567 | ||
ea9365bb TT |
568 | 2002-06-25 Tom Tromey <[email protected]> |
569 | ||
570 | * breakpoint.c (delete_command): Don't repeat `delete' commands. | |
571 | ||
72cec141 AC |
572 | 2002-06-25 Andrew Cagney <[email protected]> |
573 | ||
574 | * infrun.c (stop_registers): Change variable's type to ``struct | |
575 | regcache'''. | |
576 | (xmalloc_inferior_status): Delete function. | |
577 | (free_inferior_status): Delete function. | |
578 | (normal_stop): Use regcache_cpy. | |
579 | (struct inferior_status): Change type of fields ``stop_registers'' | |
580 | and ``registers'' to ``struct regcache''. | |
581 | (write_inferior_status_register): Use regcache_write. | |
582 | (save_inferior_status): Instead of calling | |
583 | xmalloc_inferior_status, allocate the inf_status buffer directly. | |
584 | Use regcache_dup_no_passthrough and regcache_dup to save the | |
585 | buffers. | |
586 | (restore_inferior_status): Use regcache_xfree and regcache_cpy. | |
587 | Replace the stop_registers regcache instead of overriding it. Use | |
588 | regcache_xfree. Instead of calling free_inferior_status, xfree | |
589 | the buffer directly. | |
590 | (discard_inferior_status): Use regcache_xfree. Instead of calling | |
591 | free_inferior_status, xfree the buffer directly. | |
592 | (build_infrun): Use regcache_xmalloc. | |
593 | (_initialize_infrun): Delete redundant call to build_infrun. | |
594 | ||
595 | * Makefile.in (infcmd.o): Add $(regcache_h). | |
596 | ||
597 | * infcmd.c: Include "regcache.h". | |
598 | (run_stack_dummy): Use deprecated_grub_regcache_for_registers to | |
599 | obtain the address of `stop_registers' register buffer. | |
600 | (print_return_value): Ditto. | |
601 | ||
602 | * inferior.h (struct regcache): Add opaque declaration. | |
603 | (stop_registers): Change variable's declared type to ``struct | |
604 | regcache''. | |
605 | ||
defc6f8c TT |
606 | 2002-06-24 Tom Tromey <[email protected]> |
607 | ||
c0e624e7 TT |
608 | * cli/cli-decode.c (add_show_from_set): Fixed typo in comment. |
609 | * target.c (initialize_targets): Fixed typo in | |
610 | trust-readonly-sections `show' documentation. | |
611 | ||
defc6f8c TT |
612 | * main.c: Marked all strings with _(). |
613 | ||
2b236d82 DH |
614 | 2002-06-24 Don Howard <[email protected]> |
615 | ||
616 | * memattr.c (create_mem_region): Treat hi == 0 as a special case | |
617 | that means max CORE_ADDR+1. | |
618 | (lookup_mem_region): Ditto. | |
619 | (mem_info_command): Ditto. | |
620 | ||
942dc0e9 GS |
621 | 2002-06-24 Grace Sainsbury <[email protected]> |
622 | ||
623 | * config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove. | |
624 | (REGISTER_BYTES_OK): Remove. | |
625 | (REGISTER_BYTES): Remove. | |
626 | (STORE_STRUCT_RETURN): Remove. | |
627 | (DEPRECATED_EXTRACT_RETURN_VALUE): Remove. | |
628 | (STORE_RETURN_VALUE): Remove. | |
629 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
630 | (FRAME_CHAIN): Remove. | |
631 | (FRAMELESS_FUNCTION_INVOCATION): Remove. | |
632 | (FRAME_SAVED_PC): Remove. | |
633 | * m68k-tdep.c (m68k_register_bytes_ok):Add. | |
634 | (m68k_store_struct_return): Add. | |
635 | (m68k_deprecated_extract_return_value): Add. | |
636 | (m68k_deprecated_extract_struct_value_address): Add. | |
637 | (m68k_store_return_value): Add. | |
638 | (m68k_frame_chain): Add. | |
639 | (m68k_frameless_function_invocation): Add. | |
640 | (m68k_frame_saved_pc): Add. | |
641 | (m68k_gdbarch_init): added set_gdbarch calls for new | |
642 | functions and deleted macros. | |
643 | ||
03c30d4d TT |
644 | 2002-06-23 Tom Tromey <[email protected]> |
645 | ||
646 | * Makefile.in (HFILES_NO_SRCDIR): Remove old files. | |
647 | (ALLDEPFILES): Likewise. | |
648 | (udiheaders): Removed. | |
649 | (udip2soc.o): Likewise. | |
650 | (udi2go32.o): Likewise. | |
651 | (udr.o): Likewise. | |
652 | (HFILES_WITH_SRCDIR): Don't mention udiheaders. | |
653 | ||
37e71372 AC |
654 | 2002-06-22 Andrew Cagney <[email protected]> |
655 | ||
06a6ac57 AC |
656 | * infrun.c (_initialize_infrun): Delete unnecessary call to |
657 | build_infrun. | |
658 | ||
37e71372 AC |
659 | * regcache.h: Update comments describing the regcache_cpy family |
660 | of functions. | |
661 | (regcache_save, regcache_restore): Delete declaration. | |
662 | (regcache_save_no_passthrough): Delete declaration. | |
663 | (regcache_restore_no_passthrough): Delete declaration. | |
664 | * regcache.c (regcache_save): Delete function. | |
665 | (regcache_save_no_passthrough): Delete function. | |
666 | (regcache_restore): Delete function. | |
667 | (regcache_restore_no_passthrough): Delete function. | |
668 | ||
78f6d055 AC |
669 | 2002-06-21 Andrew Cagney <[email protected]> |
670 | ||
671 | * config/m68k/tm-m68k.h: Fix typo. | |
672 | (FRAME_INIT_SAVED_REGS): Define when non-multi-arch. | |
673 | (m68k_frame_init_saved_regs): Declare. | |
674 | ||
78b119cb JB |
675 | 2002-06-21 Jim Blandy <[email protected]> |
676 | ||
677 | Remove some vestiges of Harris 88k support. | |
678 | * dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k | |
679 | register numbering quirk. | |
680 | * elfread.c (elf_symtab_read): Remove `#if' block for skipping | |
681 | odd symbols occurring in Harris 88k ELF targets. | |
682 | ||
0fbb3da7 TT |
683 | 2002-06-21 Tom Tromey <[email protected]> |
684 | ||
685 | * gdb_locale.h: New file. | |
686 | * Makefile.in (GDB_CFLAGS): Define LOCALEDIR. | |
687 | (defs_h): Added gdb_locale.h. | |
688 | * configure, config.in: Rebuilt. | |
689 | * configure.in (PACKAGE): Define. | |
690 | * defs.h: Include gdb_locale.h. | |
691 | * main.c (captured_main): Call setlocale, bindtextdomain, | |
692 | textdomain. | |
693 | ||
456f8b9d DB |
694 | 2002-06-21 Dave Brolley <[email protected]> |
695 | ||
696 | From Stan Shebs, Jim Blandy, Mark Salter, Kevin Buettner: | |
697 | * config/frv/frv.mt: New file. | |
698 | * config/frv/tm-frv.h: New file. | |
699 | * configure.tgt: Support frv-*-*. | |
700 | * Makefile.in (frv-tdep.o): New target. | |
701 | * frv-tdep.c: New file. | |
702 | * NEWS: Mention frv. | |
703 | ||
cdd463f9 DB |
704 | 2002-06-21 Dave Brolley <[email protected]> |
705 | ||
706 | * MAINTAINERS: Add self to "Write After Approval" list. | |
707 | ||
5d3ed2e3 GS |
708 | 2002-06-21 Grace Sainsbury <[email protected]> |
709 | ||
710 | * config/m68k/tm-m68k.h (REGISTER_BYTE, REGISTER_RAW_SIZE) | |
711 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
712 | (REGISTER_VIRTUAL_TYPE, REGISTER_NAMES, TARGET_LONG_DOUBLE_FORMAT) | |
713 | (FUNCTION_START_OFFSET, SKIP_PROLOGUE, SAVED_PC_AFTER_CALL) | |
714 | (INNER_THAN, STACK_ALIGN, REGISTER_SIZE): Remove macros. | |
715 | ||
716 | * m68k-tdep.c: Include arch-utils.h | |
717 | (m68k_register_raw_size): Add. | |
718 | (m68k_register_virtual_size): Add. | |
719 | (m68k_register_virtual_type): Add. | |
720 | (m68k_register_name): Add. | |
721 | (m68k_stack_align): Add. | |
722 | (m68k_register_byte): Add. | |
723 | (m68k_gdbarch_init): Add set_gdbarch calls for macros removed in | |
724 | tm-m68k.h. | |
725 | ||
7f8e7424 GS |
726 | 2002-06-21 Grace Sainsbury <[email protected]> |
727 | ||
a2c6a6d5 | 728 | * m68k-tdep.c (m68k_frame_init_saved_regs): Replace |
7f8e7424 GS |
729 | m68k_find_saved_regs. |
730 | (m68k_pop_frame): Removed saved_regs structure, and replaced | |
5d3ed2e3 | 731 | references to it with frame->saved_regs. |
7f8e7424 GS |
732 | (m68k_gdbarch_init): Added function calls to initialize the |
733 | gdbarch structure. | |
a2c6a6d5 GS |
734 | (m68k_fix_call_dummy): Add. |
735 | * config/m68k/tm-m68k.h: (FRAME_FIND_SAVED_REGS): Remove. | |
736 | (CALL_DUMMY): Remove. | |
737 | (CALL_DUMMY_LENGTH): Remove. | |
738 | (CALL_DUMMY_START_OFFSET): Remove. | |
739 | (CALL_DUMMY_BREAKPOINT_OFFSET): Remove. | |
740 | (FIX_CALL_DUMMY): Remove. | |
741 | (PUSH_DUMMY_FRAME): Remove. | |
742 | (POP_FRAME): Remove. | |
7f8e7424 | 743 | |
f461f5cf PM |
744 | 2002-06-19 Pierre Muller <[email protected]> |
745 | ||
746 | * parse.c (parse_fprintf): New function used to avoid calls to | |
747 | fprintf in bison parser generated debug code. | |
748 | * parser-defs.h: Declaration of new parse_fprintf function. | |
749 | * ada-exp.y, c-exp.y, f-exp.y, jv-exp.y, m2-exp.y, p-exp.y: | |
750 | Set YYDEBUG to 1 by default. | |
751 | Set YYFPRINTF as parse_fprintf. | |
752 | ||
7f0c12ed ML |
753 | 2002-06-21 Michal Ludvig <[email protected]> |
754 | ||
755 | * dwarf2cfi.c (read_encoded_pointer): Don't handle pointer | |
756 | encoding anymore. | |
757 | (pointer_encoding, enum ptr_encoding): New. | |
758 | (execute_cfa_program): Take care about pointer encoding. | |
759 | (dwarf2_build_frame_info): Only call parse_frame_info for | |
760 | .debug_frame and .eh_frame. | |
761 | (parse_frame_info): New, derived from former dwarf2_build_frame_info. | |
762 | fixed augmentation handling, added relative addressing, | |
763 | ignore duplicate FDEs. Added comments. | |
19d833a2 | 764 | * dwarf2cfi.c: Reindented. |
7f0c12ed | 765 | |
87c4a039 EZ |
766 | 2002-06-20 Elena Zannoni <[email protected]> |
767 | ||
768 | * event-top.c (command_handler): Don't use space_at_cmd_start | |
769 | unless there is sbrk() on the host. Assign time and space data | |
770 | to union fields of the appropriate length. | |
771 | ||
1cf877ad ML |
772 | 2002-06-20 Michal Ludvig <[email protected]> |
773 | ||
774 | * x86-64-tdep.c (x86_64_register_nr2name): Rename to | |
775 | x86_64_register_name. Return type changed to 'const char *'. | |
776 | (x86_64_register_name2nr): Rename to x86_64_register_number. | |
777 | (x86_64_gdbarch_init): Update to reflect the change. | |
778 | * x86-64-tdep.h: Ditto. | |
779 | * x86-64-linux-nat.c (x86_64_fxsave_offset) | |
780 | (supply_fpregset): Ditto. | |
781 | ||
3fadccb3 AC |
782 | 2002-06-19 Andrew Cagney <[email protected]> |
783 | ||
784 | * regcache.h: Update copyright. | |
785 | (struct regcache, struct gdbarch): Add opaque declarations. | |
786 | (current_regcache): Declare global variable. | |
787 | (regcache_read, regcache_write): Add gdbarch parameter. | |
788 | (regcache_save, regcache_save_no_passthrough) | |
789 | (regcache_restore, regcache_restore_no_passthrough) | |
790 | (regcache_dup, regcache_dup_no_passthrough) | |
791 | (regcache_cpy, regcache_cpy_no_passthrough) | |
792 | (deprecated_grub_regcache_for_registers) | |
793 | (deprecated_grub_regcache_for_register_valid) | |
794 | (regcache_valid_p): Add function declarations. | |
795 | ||
796 | * regcache.c: Update copyright. | |
797 | (regcache_descr_handle): New global variable. | |
798 | (struct regcache_descr): Define. | |
799 | (init_legacy_regcache_descr, init_regcache_descr): New functions. | |
800 | (regcache_descr, xfree_regcache_descr): New functions. | |
801 | (struct regcache): Define. | |
802 | (regcache_xmalloc, regcache_xfree): New functions. | |
803 | (regcache_cpy, regcache_cpy_no_passthrough): New functions. | |
804 | (regcache_dup, regcache_dup_no_passthrough): New functions. | |
805 | (regcache_valid_p, regcache_read_as_address): New functions. | |
806 | (deprecated_grub_regcache_for_registers): New function. | |
807 | (deprecated_grub_regcache_for_register_valid): New function. | |
808 | (current_regcache): New global variable. | |
809 | (register_buffer): Add regcache parameter. Update calls. | |
810 | (regcache_read, regcache_write): Add regcache parameter. Rewrite. | |
811 | (read_register_gen, write_register_gen): Update register_buffer | |
812 | call. Test for legacy_p instead of gdbarch_register_read_p or | |
813 | gdbarch_register_write_p. | |
814 | (regcache_collect): Update register_buffer call. | |
815 | (build_regcache): Rewrite. Use deprecated grub functions. | |
816 | (regcache_save, regcache_save_no_passthrough): New functions. | |
817 | (regcache_restore, regcache_restore_no_passthrough): New | |
818 | functions. | |
819 | (_initialize_regcache): Create the regcache_data_handle. Swap | |
820 | current_regcache global variable. | |
821 | ||
822 | * sh-tdep.c (sh_pseudo_register_read): Add current_regcache | |
823 | parameter to regcache_read and regcache_write calls. | |
824 | (sh4_register_read): Ditto. | |
825 | (sh64_pseudo_register_read): Ditto. | |
826 | (sh64_register_read): Ditto. | |
827 | (sh_pseudo_register_write): Ditto. | |
828 | (sh4_register_write): Ditto. | |
829 | (sh64_pseudo_register_write): Ditto. | |
830 | (sh64_register_write): Ditto. | |
831 | ||
832 | * defs.h (XCALLOC): Define. | |
833 | ||
152d9db6 GS |
834 | 2002-06-19 Grace Sainsbury <[email protected]> |
835 | ||
836 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Added (set to 0). | |
837 | * m68k-tdep.c (m68k_gdbarch_init): Added. | |
838 | (m68k_dump_tdep): Added. | |
839 | ||
170911c7 DJ |
840 | 2002-06-19 Daniel Jacobowitz <[email protected]> |
841 | ||
842 | * ada-lang.c (fill_in_ada_prototype): Update comment. | |
843 | ||
2e4ebe70 DJ |
844 | 2002-06-19 Daniel Jacobowitz <[email protected]> |
845 | ||
846 | * mips-tdep.c (enum mips_abi): Explicitly start at 0. Add | |
847 | MIPS_ABI_LAST. | |
848 | (mips_abi_string, mips_abi_strings): New. | |
849 | (struct gdbarch_tdep): Remove mips_abi_string, add found_abi. | |
850 | (mips_gdbarch_init): Set tdep->found_abi. Don't set | |
851 | tdep->mips_abi_string. Honor mips_abi_string. Default to | |
852 | O32 if no ABI is found. | |
853 | (mips_dump_tdep): Use mips_abi_strings. | |
854 | (mips_abi_update): New function. | |
855 | (_initialize_mips_tdep): Initialize mips_abi_string. Add | |
856 | ``set mips abi'' and ``show mips abi''. Check the size of | |
857 | mips_abi_strings. | |
858 | ||
16775908 AC |
859 | 2002-06-19 Andrew Cagney <[email protected]> |
860 | ||
861 | * i386-linux-tdep.c (i386_linux_register_name): Make return type | |
862 | constant. | |
863 | ||
5051bfa4 | 864 | 2002-06-18 Joel Brobecker <[email protected]> |
16775908 | 865 | |
5051bfa4 JB |
866 | * alpha-tdep.c (heuristic_proc_desc): Compute the size of the |
867 | current frame using only the first stack size adjustment. All | |
868 | subsequent size adjustments are not considered to be part of | |
869 | the "static" part of the current frame. | |
870 | Compute the address of the saved registers relative to the | |
871 | Frame Pointer ($fp) instead of the Stack Pointer if $fp is | |
872 | in use in this frame. | |
873 | ||
56468235 DH |
874 | 2002-06-18 Don Howard <[email protected]> |
875 | ||
876 | * valops.c (value_ind): Use value_at_lazy() when dereferencing | |
877 | type int expressions. Thanks to Jim Blandy <[email protected]> for | |
878 | suggesting this solution. | |
879 | ||
0b624158 AC |
880 | 2002-06-18 Andrew Cagney <[email protected]> |
881 | ||
882 | * config/romp/xm-rtbsd.h: Delete file. | |
883 | * config/romp/rtbsd.mh: Delete file. | |
884 | ||
221ea385 KS |
885 | 2002-06-18 Keith Seitz <[email protected]> |
886 | ||
887 | * breakpoint.c (condition_command): Post breakpoint_modify | |
888 | when a condition is added to an existing breakpoint. | |
889 | (commands_command): Likewise for commands. | |
890 | (set_ignore_count): Likewise for ignore counts. | |
891 | If no tty, do not simply return, still need to send event | |
892 | notification. | |
893 | (ignore_command): Only print a newline if the command came | |
894 | from a tty. | |
895 | Don't call breakpoints_changed, since this is now properly | |
896 | handled by set_ignore_count. | |
897 | ||
5402eed1 AC |
898 | 2002-06-18 Andrew Cagney <[email protected]> |
899 | ||
900 | * MAINTAINERS: Note that cris-elf target can be compiled with | |
901 | -Werror. | |
902 | * cris-tdep.c (cris_register_name): Make return type constant. | |
903 | (cris_breakpoint_from_pc): Ditto. | |
904 | ||
cc22880b ML |
905 | 2002-06-18 Michal Ludvig <[email protected]> |
906 | ||
907 | * frame.h (struct frame_info): Change type of context to | |
908 | 'struct context'. | |
909 | ||
fa88f677 AC |
910 | 2002-06-17 Andrew Cagney <[email protected]> |
911 | ||
912 | * gdbarch.sh (REGISTER_NAME): Change return type a constant string | |
913 | pointer. | |
914 | * gdbarch.h, gdbarch.c: Regenerate. | |
915 | * config/mips/tm-mips.h (mips_register_name): Update. | |
916 | * i386-tdep.h (i386_register_name): Update. | |
917 | * mips-tdep.c (mips_register_name): Update | |
918 | * alpha-tdep.c (alpha_register_name): Update. | |
919 | * arch-utils.c (legacy_register_name): Update. | |
920 | * arch-utils.h (legacy_register_name): Update. | |
921 | * avr-tdep.c (avr_register_name): Update. | |
922 | * ia64-tdep.c (ia64_register_name): Update. | |
923 | * i386-tdep.c (i386_register_name): Update. | |
924 | * sparc-tdep.c (sparc32_register_name): Update. | |
925 | (sparc64_register_name): Update. | |
926 | (sparclite_register_name): Update. | |
927 | (sparclet_register_name): Update. | |
928 | * sh-tdep.c (sh_generic_register_name): Update. | |
929 | (sh_sh_register_name): Update. | |
930 | (sh_sh3_register_name): Update. | |
931 | (sh_sh3e_register_name): Update. | |
932 | (sh_sh_dsp_register_name): Update. | |
933 | (sh_sh3_dsp_register_name): Update. | |
934 | (sh_sh4_register_name): Update. | |
935 | (sh_sh64_register_name): Update. | |
936 | * s390-tdep.c (s390_register_name): Update. | |
937 | * rs6000-tdep.c (rs6000_register_name): Update. | |
938 | * ns32k-tdep.c (ns32k_register_name_32082): Update. | |
939 | (ns32k_register_name_32382): Update. | |
940 | * d10v-tdep.c (d10v_ts2_register_name): Update. | |
941 | (d10v_ts3_register_name): Update. | |
942 | * xstormy16-tdep.c (xstormy16_register_name): Update. | |
943 | * vax-tdep.c (vax_register_name): Update. | |
944 | * v850-tdep.c (v850_register_name): Update. | |
945 | * m68hc11-tdep.c (m68hc11_register_name): Update. | |
946 | * mn10300-tdep.c (mn10300_generic_register_name): Update. | |
947 | (am33_register_name): Update. | |
948 | ||
ea1e7ef6 GS |
949 | 2002-06-17 Grace Sainsbury <[email protected]> |
950 | ||
951 | * m68k-tdep.c: Reindented. | |
952 | ||
9b02dd1b AC |
953 | 2002-06-17 Andrew Cagney <[email protected]> |
954 | ||
955 | * gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to the | |
956 | list of predefined types. | |
957 | ||
8758dec1 MK |
958 | 2002-06-16 Mark Kettenis <[email protected]> |
959 | ||
b6197528 MK |
960 | * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE, |
961 | REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, | |
962 | REGISTER_CONVERT_TO_RAW): Remove defines. | |
963 | (i386_register_virtual_type, i386_register_convertible, | |
964 | i386_register_convert_to_virtual, i386_register_convert_to_raw): | |
965 | Remove prototypes. | |
966 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
967 | macros mentioned above. | |
968 | ||
82b47e62 MK |
969 | * config/i386/tm-i386lynx.h (SAVED_PC_AFTER_CALL): Remove define. |
970 | (i386lynx_saved_pc_after_call): Remove prototype. | |
971 | * i386ly-tdep.c: Include "i386-tdep.h". | |
972 | (i386lynx_saved_pc_after_call): Make static. Use | |
973 | read_memory_nobpt instead of read_memory. Use | |
974 | read_memory_unsigned_integer instead of read_memory_integer. | |
975 | (i386lynx_init_abi): New function. | |
976 | (i386lynx_coff_osabi_sniffer): New function. | |
977 | (_initialize_i386bsd_tdep): New function. | |
978 | ||
8758dec1 MK |
979 | * config/i386/tm-i386.h (PARM_BOUNDARY, CALL_DUMMY, |
980 | CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET, | |
981 | CALL_DUMMY_BREAKPOINT_OFFSET, FIX_CALL_DUMMY): Remove defines. | |
982 | (i386_fix_call_dummy): Remove prototype. | |
983 | * i386-tdep.c (i386_call_dummy_words): New variable. | |
984 | (i386_gdbarch_init): Adjust for removal of the | |
985 | macros mentioned above. | |
986 | ||
e9e68a56 AC |
987 | 2002-06-15 Andrew Cagney <[email protected]> |
988 | ||
989 | * command.h (add_setshow_auto_boolean_cmd): Replace | |
990 | add_set_auto_boolean_cmd. | |
991 | * cli/cli-decode.c (add_setshow_auto_boolean_cmd): Replace | |
992 | add_set_auto_boolean_cmd. | |
993 | * cli/cli-decode.h (add_set_auto_boolean_cmd): Delete declaration. | |
994 | * mips-tdep.c (_initialize_mips_tdep): Update ``set mips | |
995 | mask-address'' command. | |
996 | (show_mask_address): Add cmd parameter. | |
997 | * remote.c (add_packet_config_cmd): Update. Change type of | |
998 | set_func and show_func to cmd_sfunc_ftype. | |
999 | (_initialize_remote): Update `set remote Z-packet' | |
1000 | (show_remote_protocol_qSymbol_packet_cmd): Add cmd parameter. | |
1001 | (show_remote_protocol_e_packet_cmd): Ditto. | |
1002 | (show_remote_protocol_E_packet_cmd): Ditto. | |
1003 | (show_remote_protocol_P_packet_cmd): Ditto. | |
1004 | (show_remote_protocol_Z_software_bp_packet_cmd): Ditto. | |
1005 | (show_remote_protocol_Z_hardware_bp_packet_cmd): Ditto. | |
1006 | (show_remote_protocol_Z_write_wp_packet_cmd): Ditto. | |
1007 | (show_remote_protocol_Z_read_wp_packet_cmd): Ditto. | |
1008 | (show_remote_protocol_Z_access_wp_packet_cmd): Ditto. | |
1009 | (show_remote_protocol_Z_packet_cmd): Ditto. | |
1010 | (show_remote_protocol_binary_download_cmd): Ditto. | |
1011 | (show_remote_cmd): Pass NULL to all of above. | |
1012 | ||
fc08ec52 MK |
1013 | 2002-06-15 Mark Kettenis <[email protected]> |
1014 | ||
1015 | * config/i386/tm-i386.h (PUSH_ARGUMENTS, STORE_STRUCT_RETURN, | |
1016 | DEPRECATED_EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, | |
1017 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS, PUSH_DUMMY_FRAME, | |
1018 | POP_FRAME): Remove defines. | |
1019 | (i386_push_arguments, i386_store_struct_return, | |
1020 | i386_extract_return_value, i386_store_return_value, | |
1021 | i386_extract_struct_value_address, i386_push_dummy_frame, | |
1022 | i386_pop_frame): Renove prototypes. | |
1023 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
1024 | macros mentioned above. | |
1025 | ||
e707bbc2 AC |
1026 | 2002-06-15 Andrew Cagney <[email protected]> |
1027 | ||
1028 | * cli/cli-decode.c (add_setshow_boolean_cmd): Replace | |
1029 | add_set_boolean_cmd. | |
1030 | (add_setshow_cmd): New function. | |
1031 | * command.h (add_setshow_boolean_cmd): Replace | |
1032 | add_set_boolean_cmd. | |
1033 | * remote-rdi.c (_initialize_remote_rdi): Update ``set rdiheartbeat'' | |
1034 | and ``set rdiromatzero''. | |
1035 | * maint.c (_initialize_maint_cmds): Update commented out code. | |
1036 | * cli/cli-decode.h (add_set_boolean_cmd): Delete declaration. | |
1037 | * target.c (initialize_targets): Update `set | |
1038 | trust-readonly-sections'. | |
1039 | * remote.c (_initialize_remote): Update `set remotebreak'. | |
1040 | ||
42fdc8df MK |
1041 | 2002-06-15 Mark Kettenis <[email protected]> |
1042 | ||
93924b6b MK |
1043 | * config/i386/tm-i386.h (FUNCTION_START_OFFSET, INNER_THAN, |
1044 | BREAKPOINT, DECR_PC_AFTER_BREAK): Removed. | |
1045 | * i386-tdep.c (i386_skip_prologue): Adjust function signature to | |
1046 | fit into multi-arch framework. | |
1047 | (i386_breakpoint_from_pc): New function. | |
1048 | (i386_gdbarch_init): Adjust for removal of the macros mentioned | |
1049 | above. | |
1050 | ||
42fdc8df MK |
1051 | * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION, |
1052 | FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, | |
1053 | FRAME_ARGS_SKIP, FRAME_INIT_SAVED_REGS): Remove defines. | |
1054 | (i386_frameless_function_invocation, i386_frame_num_args, | |
1055 | i386_frame_init_saved_regs): Remove prototypes. | |
1056 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the | |
1057 | macros mentioned above. | |
1058 | ||
9773a94b AC |
1059 | 2002-06-15 Andrew Cagney <[email protected]> |
1060 | ||
1061 | * cli/cli-decode.c (set_cmd_cfunc): Update. | |
1062 | (set_cmd_sfunc): Update. | |
1063 | * command.h (cmd_cfunc_ftype, cmd_sfunc_ftype): Declare. | |
1064 | (set_cmd_sfunc, set_cmd_cfunc): Update. | |
1065 | * cli/cli-decode.h: Update. | |
1066 | ||
6e157172 MK |
1067 | 2002-06-15 Mark Kettenis <[email protected]> |
1068 | ||
1069 | * i386-sol2-tdep.c (i386_sol2_osabi_sniffer): New function. | |
1070 | (_initialize_i386_sol2_tdep): Register i386_sol2_osabi_sniffer. | |
1071 | ||
7f19b9a2 AC |
1072 | 2002-06-15 Andrew Cagney <[email protected]> |
1073 | ||
1074 | * defs.h (auto_boolean): Declare enum. | |
1075 | * command.h (cmd_auto_boolean): Delete enum. | |
1076 | * mips-tdep.c (mask_address_var): Update. | |
1077 | (mips_mask_address_p): Update. | |
1078 | (show_mask_address): Update. | |
1079 | * remote.c (struct packet_config): Update. | |
1080 | (update_packet_config): Update. | |
1081 | (show_packet_config_cmd): Update. | |
1082 | (packet_ok): Update. | |
1083 | (add_packet_config_cmd): Update. | |
1084 | (_initialize_remote): | |
1085 | * command.h: Update. | |
1086 | * cli/cli-setshow.c (parse_auto_binary_operation): Update. | |
1087 | (do_setshow_command): Update. | |
1088 | * cli/cli-decode.c (add_set_auto_boolean_cmd): Update. | |
1089 | * cli/cli-decode.h: Update. | |
1090 | ||
1cf88de5 MK |
1091 | 2002-06-15 Mark Kettenis <[email protected]> |
1092 | ||
22ba8cf2 MK |
1093 | * config/i386/tm-cygwin.h, config/i386/tm-fbsd.h, |
1094 | config/i386/tm-go32.h, config/i386/tm-i386gnu.h, | |
1095 | config/i386/tm-i386sol2.h, config/i386/tm-i386v4.h, | |
1096 | config/i386/tm-linux.h, config/i386/tm-nbsd.h, | |
1097 | config/i386/tm-obsd.h (HAVE_I387_REGS): Remove define. | |
1098 | * config/i386/tm-i386.h: Unconditionally define FLOAT_INFO. | |
1099 | ||
762c5349 MK |
1100 | * i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the |
1101 | list of DJGPP COFF targets. | |
1102 | ||
091198bb MK |
1103 | * config/i386/tm-i386.h (REGISTER_SIZE): Remove define. |
1104 | (NUM_GREGS, NUM_FREGS, NUM_SSE_REGS): Remove defines. | |
1105 | (FP_REGNUM, SP_REGNUM, PC_REGNUM, PS_REGNUM): Remove defines. | |
1106 | (FP0_REGNUM): Remove define. | |
1107 | (MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE, | |
1108 | MAX_REGISTER_VIRTUAL_SIZE): Remove define. | |
1109 | (i386_register_virtual_size): Remove protoype. | |
1110 | * i386-tdep.c (i386_register_virtual_size): Removed. | |
1111 | (i386_extract_return_value, i386_store_return_value): Use | |
1112 | FP0_REGNUM instead of NUM_FREGS to determine whether the | |
1113 | floating-point registers are available. | |
1114 | (i386_gdbarch_init): Tweak FIXME about FPU registers. | |
1115 | Adjust for removal of macros mentioned above. | |
1116 | ||
1117 | 2002-06-15 Mark Kettenis <[email protected]> | |
1118 | ||
fcc9bf01 MK |
1119 | * i386v4-nat.c: Include "i386-tdep.h". Reformat and tweak various |
1120 | comments. | |
1121 | (fill_gregset, supply_gregset, supply_fpregset, fill_fpregset): | |
1122 | Remove prototypes. | |
1123 | (supply_gregset, fill_gregset): Remove use of register keyword and | |
1124 | remove declaration for regmap. Use I386_NUM_GREGS instead of | |
1125 | NUM_REGS and NUM_FREGS. | |
1126 | (FPREGSET_FSAVE_OFFSET): Remove. | |
1127 | (supply_fpregset, fill_fpregset): Use FPO_REGNUM instead of | |
1128 | NUM_FREGS to determine whether the floating-point registers are | |
1129 | available. | |
1130 | ||
65e78234 MK |
1131 | * i386gnu-nat.c (supply_gregset, gnu_fetch_registers, |
1132 | gnu_store_registers): Replace usage of NUM_GREGS with | |
1133 | I386_NUM_GREGS. | |
1134 | ||
98df6387 MK |
1135 | * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER, |
1136 | OLD_CANNOT_STORE_REGISTER, supply_gregset, fill_gregset): Replace | |
1137 | usage of NUM_GREGS with I386_NUM_GREGS. | |
1138 | ||
099a9414 MK |
1139 | * i386-linux-nat.c (fill_gregset): Remove redundant parentheses. |
1140 | ||
57976e88 MK |
1141 | * i386bsd-nat.c: Include "i386-tdep.h". |
1142 | (supply_gregset, fill_gregset): Replace usage of NUM_GREGS with | |
1143 | I386_NUM_GREGS. | |
1144 | ||
b335f4a6 MK |
1145 | * i386v-nat.c: Remove copnditional inclusion of <asm/debugreg.h>, |
1146 | and associated comment. They no longer make any sense, since we | |
1147 | don't use this file anymore on Linux. | |
1148 | ||
1cf88de5 MK |
1149 | * config/i386/tm-i386.h (MAX_NUM_REGS): Removed. |
1150 | * i386-tdep.c (i386_register_offset, i386_register_size): Use | |
1151 | I386_SSE_NUM_REGS instead of MAX_NUM_REGS for the number of | |
1152 | elements in these arrays. | |
1153 | (_initialize_i386_tdep): Use I386_SSE_NUM_REGS instead of | |
1154 | MAX_NUM_REGS. | |
1155 | ||
daa66587 MK |
1156 | 2002-06-15 Mark Kettenis <[email protected]> |
1157 | ||
1158 | * osabi.h (gdb_osabi): Add GDB_OSABI_LYNXOS. | |
1159 | * osabi.c (gdb_osabi_names): Add entry for "LynxOS". | |
1160 | ||
26e9b323 AC |
1161 | 2002-06-14 Andrew Cagney <[email protected]> |
1162 | ||
1163 | * gdbarch.sh (DEPRECATED_EXTRACT_RETURN_VALUE): Rename | |
1164 | EXTRACT_RETURN_VALUE. | |
1165 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Rename | |
1166 | EXTRACT_STRUCT_VALUE_ADDRESS. | |
1167 | * gdbarch.h, gdbarch.c: Regenerate. | |
1168 | ||
1169 | * values.c (value_being_returned): Handle | |
1170 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. | |
1171 | (EXTRACT_RETURN_VALUE): Define as DEPRECATED_EXTRACT_RETURN_VALUE. | |
1172 | ||
1173 | * arm-linux-tdep.c (arm_linux_init_abi): Update. | |
1174 | * arm-tdep.c (arm_gdbarch_init): Update. | |
1175 | * avr-tdep.c (avr_gdbarch_init): Update. | |
1176 | * cris-tdep.c (cris_gdbarch_init): Update. | |
1177 | * d10v-tdep.c (d10v_gdbarch_init): Update. | |
1178 | * ia64-tdep.c (ia64_gdbarch_init): Update. | |
1179 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. | |
1180 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. | |
1181 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1182 | * sh-tdep.c (sh_gdbarch_init): Update. | |
1183 | * s390-tdep.c (s390_gdbarch_init): Update. | |
1184 | * sparc-tdep.c (sparc_gdbarch_init): Update. | |
1185 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. | |
1186 | * v850-tdep.c (v850_gdbarch_init): Update. | |
1187 | * vax-tdep.c (vax_gdbarch_init): Update. | |
1188 | * x86-64-tdep.c (x86_64_gdbarch_init): Update. | |
1189 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. | |
1190 | ||
1191 | * config/arc/tm-arc.h: Update. | |
1192 | * config/d30v/tm-d30v.h: Update. | |
1193 | * config/fr30/tm-fr30.h: Update. | |
1194 | * config/h8300/tm-h8300.h: Update. | |
1195 | * config/h8500/tm-h8500.h: Update. | |
1196 | * config/i386/tm-i386.h: Update. | |
1197 | * config/i386/tm-ptx.h: Update. | |
1198 | * config/i386/tm-symmetry.h: Update. | |
1199 | * config/i960/tm-i960.h: Update. | |
1200 | * config/m32r/tm-m32r.h: Update. | |
1201 | * config/m68k/tm-delta68.h: Update. | |
1202 | * config/m68k/tm-linux.h: Update. | |
1203 | * config/m68k/tm-m68k.h: Update. | |
1204 | * config/m88k/tm-m88k.h: Update. | |
1205 | * config/mcore/tm-mcore.h: Update. | |
1206 | * config/mips/tm-mips.h: Update. | |
1207 | * config/mn10200/tm-mn10200.h: Update. | |
1208 | * config/pa/tm-hppa.h: Update. | |
1209 | * config/pa/tm-hppa64.h: Update. | |
1210 | * config/sparc/tm-sp64.h: Update. | |
1211 | * config/sparc/tm-sparc.h: Update. | |
1212 | * config/sparc/tm-sparclet.h: Update. | |
1213 | * config/z8k/tm-z8k.h: Update. | |
1214 | ||
5179e78f AC |
1215 | 2002-06-14 Andrew Cagney <[email protected]> |
1216 | ||
1217 | * Makefile.in (i386_linux_tdep_h): Define. | |
1218 | (i386_tdep_h, i387_tdep_h): Define. | |
1219 | (i386-linux-nat.o): Add $(i386_linux_tdep_h), | |
1220 | $(i386_tdep_h) and $(i387_tdep_h). | |
1221 | * i386-linux-nat.c: Include "i386-linux-tdep.h". | |
1222 | ||
8201327c MK |
1223 | 2002-06-14 Mark Kettenis <[email protected]> |
1224 | ||
edf393ac MK |
1225 | * config/i386/tm-i386.h (START_INFERIOR_TRAPS_EXPECTED): Removed. |
1226 | Already covered by the default. | |
1227 | ||
896fb97d MK |
1228 | * config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT, |
1229 | TARGET_LONG_DOUBLE_BIT): Remove. * i386-tdep.c | |
1230 | (i386_gdbarch_init): Initialize long_double_format and long_double | |
1231 | bit. | |
1232 | ||
8201327c MK |
1233 | * config/i386/i386sol2.mt (TDEPFILES): Add i386-sol2-tdep.o and |
1234 | i386bsd-tdep.o. Remove solib.o, solib-svr4.o and solib-legacy.o. | |
1235 | Move these to ... | |
1236 | * config/i386/i386sol2.mh: ... here. | |
1237 | * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Remove define. | |
1238 | (sigtramp_saved_pc, I386V4_SIGTRAMP_SAVED_PC): Don't #undef. | |
1239 | (SIGCONTEXT_PC_OFFSET): Remove define. | |
1240 | (IN_SIGTRAMP): Remove define. | |
1241 | * i386-sol2-tdep.c: New file. | |
1242 | ||
1243 | * config/i386/i386nw.mt (TM_FILE): Change to tm-i386.h. | |
1244 | * config/i386/tm-i386nw.h: Removed. | |
1245 | ||
1246 | * config/i386/tm-fbsd.h (STAB_REG_TO_REGNUM, | |
1247 | USE_STRUCT_CONVENTION): Remove defines. | |
1248 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
1249 | (get_longjmp_target): Remove prototype. | |
1250 | (IN_SIGTRAMP): Remove define. | |
1251 | (i386bsd_in_sigtramp): Remove prototype. | |
1252 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a | |
1253 | function. Update comment accordingly | |
1254 | (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly. | |
1255 | (FRAME_SAVED_PC): Remove define. | |
1256 | (i386bsd_frame_saved_pc): Remove prototype. | |
1257 | * config/i386/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC, | |
1258 | GET_LONGJMP_TARGET): Remove defines. | |
1259 | (get_longjmp_target): Remove prototype. | |
1260 | (IN_SIGTRAMP): Remove define. | |
1261 | (i386bsd_in_sigtramp): Remove prototype. | |
1262 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a | |
1263 | function. Update comment accordingly | |
1264 | (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly. | |
1265 | (FRAME_SAVED_PC): Remove define. | |
1266 | (i386bsd_frame_saved_pc): Remove prototype. | |
1267 | * config/i386/tm-nbsdaout.h (i386nbsd_aout_use_struct_convention): | |
1268 | Remove prototype. | |
1269 | (USE_STRUCT_CONVENTION): Remove prototype. | |
1270 | * i386bsd-nat.c (i386bsd_sigcontext_pc_offset): Remove | |
1271 | declaration. | |
1272 | (_initialize_i386bsd_nat): Revise logic to determine some | |
1273 | constants at compile time when compiling a native GDB. Warn if | |
1274 | things don't match up with what we expect. | |
1275 | * i386bsd-tdep.c (i386bsd_sigtramp_start, i386bsd_sigtramp_end): | |
1276 | Remove variables. | |
1277 | (i386bsd_in_sigtramp): Rename tp i386bsd_pc_in_sigtramp. Rewrite | |
1278 | to use date stored in `struct gdbarch_tdep'. | |
1279 | (i386bsd_sigcontext_offset): Remove varaible. | |
1280 | (i386bsd_sigtramp_saved_pc): Make public. Rewrite to use data | |
1281 | stored in `struct gdbarch_tdep'. | |
1282 | (i386bsd_frame_saved_pc): Make static. | |
1283 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): New functions. | |
1284 | (i386bsd_sc_pc_offset, i386nbsd_sc_pc_offset, | |
1285 | i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, | |
1286 | i386fbsd4_sc_pc_offset): New variables. | |
1287 | (i386bsd_init_abi, i386nbsd_init_abi, i386nbsdelf_init_abi, | |
1288 | i386fbsdaout_init_abi, i386fbsd_init_abi, i386fbsd4_init_abi): New | |
1289 | functions. | |
1290 | (i386bsd_aout_osabi_sniffer, _initialize_i386bsd_tdep): New | |
1291 | functions. | |
1292 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Fix type in comment. | |
1293 | Modify the value of i386fbsd_sigtramp_start and | |
1294 | i386fbsd_sigtramp_end instead of i386bsd_sigtramp_start and | |
1295 | i386fbsd_sigtramp_end. | |
1296 | * i386nbsd-tdep.c: (i386nbsd_aout_use_struct_convention): Remove | |
1297 | function. | |
1298 | ||
1299 | * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Move | |
1300 | define to i386-linux-tdep.h. | |
1301 | (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME, | |
1302 | REGISTER_BYTE, REGISTER_RAW_SIZE, STAB_REG_TO_REGNUM): Remove | |
1303 | defines. | |
1304 | (i386_linux_register_name, i386_linux_register_byte, | |
1305 | i386_linux_register_raw_size): Remove prototypes. | |
1306 | (i386_linux_svr4_fetch_link_map_offsets): Remove prototype. | |
1307 | (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define. | |
1308 | (IN_SIGTRAMP, FRAME_CHAIN, FRAME_SAVED_PC, SAVED_PC_AFTER_CALL, | |
1309 | TARGET_WRITE_PC): Remove defines. | |
1310 | (i386_linux_in_sigtramp, i386_linux_frame_chain, | |
1311 | i386_linux_frame_saved_pc, i386_linux_saved_pc_after_call, | |
1312 | i386_linux_write_pc): Remove prototypes. | |
1313 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
1314 | (get_longjmp_target): Remove prototype. | |
1315 | * i386-linux-tdep.h: New file. | |
1316 | * i386-linux-nat.c: Include "i386-linux-tdep.h". | |
1317 | * i386-linux-tdep.c: Include "i386-tdep.h" and | |
1318 | "i386-linux-tdep.h". | |
1319 | (i386_linux_register_name, i386_linux_register_byte, | |
1320 | i386_linux_register_raw_size, i386_linux_in_sigtramp, | |
1321 | i386_linux_write_pc, i386_linux_svr4_fetch_link_map_offsets): | |
1322 | Make static. | |
1323 | (i386_linux_init_abi): New function. | |
1324 | (_initialize_i386_linux_tdep): New function. | |
1325 | ||
1326 | * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Remove define. | |
1327 | (i386_saved_pc_after_call): Remove prototype. | |
1328 | (MAX_NUM_REGS): Increase to deal with Linux's orig_eax "register". | |
1329 | (REGISTER_NAME, STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM, | |
1330 | DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): Remove defines. | |
1331 | (i386_register_name, i386_stab_reg_to_regnum, | |
1332 | i386_dwarf_reg_to_regnum): Remove prototypes. | |
1333 | (SIZEOF_GREGS, SIZEOF_FPU_REGS, SIZEOF_FPU_CTL_REGS, | |
1334 | SIZEOF_SSE_REGS): Remove defines. | |
1335 | (REGISTER_BYTES): Remove define. | |
1336 | (REGISTER_BYTE, REGISTER_RAW_SIZE): Remove defines. | |
1337 | (i386_register_byte, i386_register_raw_size): Remove prototypes. | |
1338 | (FRAME_CHAIN, FRAME_SAVED_PC): Remove defines. | |
1339 | (i386_frame_chain, i386_frame_saved_pc): Remove prototypes. | |
1340 | * config/i386/tm-i386v4.h (FRAME_CHAIN_VALID): Remove define. | |
1341 | (JB_ELEMENT_SIZE, JB_PC, JB_EBX, JB_ESI, JB_EDI, JB_EBP, JB_ESP, | |
1342 | JB_EDX, GET_LONGJMP_TARGET): Remove defines. | |
1343 | (get_longjmp_target): Remove prototype. | |
1344 | (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP): Remove defines. | |
1345 | (sigtramp_saved_pc): Remove define. | |
1346 | (i386v4_sigtramp_saved_pc): Remove prototype. | |
1347 | * config/i386/tm-go32.h (FRAME_CHAIN, | |
1348 | FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): Remove defines. | |
1349 | (i386go32_frame_saved_pc): Remove prototype. | |
1350 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. | |
1351 | (get_longjmp_target): Remove prototype. | |
1352 | * i386-tdep.h: Include "osabi.h". | |
1353 | (enum i386_abi): Removed. | |
1354 | (enum struct_return): New enum. | |
1355 | (struct gdbarch_tdep): Remove abi member, add osabi, jb_pc_offset, | |
1356 | struct_return, sigtramp_saved_pc, sigtramp_start, sigtramp_end and | |
1357 | sc_pc_offset members. | |
1358 | (i386_gdbarch_register_os_abi): Remove prototype. | |
1359 | (I386_NUM_GREGS, I386_NUM_FREGS, I386_NUM_XREGS, | |
1360 | I386_SSE_NUM_REGS): New defines. | |
1361 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS, | |
1362 | I386_SSE_SIZEOF_REGS): New defines. | |
1363 | (i386_register_name, i386_register_byte, i386_register_raw_size): | |
1364 | New prototypes. | |
1365 | (i386_elf_init_abi, i386_svr4_init_abi): New prototypes. | |
1366 | (i386bsd_sigtramp_saved_pc): New prototype. | |
1367 | * i386-tdep.c: Don't include "elf-bfd.h". | |
1368 | (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum, | |
1369 | i386_frame_chain, i386_saved_pc_after_call): Make static. | |
1370 | (i386_frame_saved_pc): Rewrite to call architecture dependent | |
1371 | function to deal with signal handlers. Make static. | |
1372 | (i386go32_frame_saved_pc): Removed. | |
1373 | [GET_LONGJMP_TARGET] (JB_PC, JB_ELEMENT_SIZE, get_longjmp_target): | |
1374 | Removed. | |
1375 | (i386_get_longjmp_target): New function. | |
1376 | (default_struct_convention, pcc_struct_convention, | |
1377 | reg_struct_convention, valid_conventions, struct_convention): New | |
1378 | variables. | |
1379 | (i386_use_struct_convention): New function. | |
1380 | (i386v4_sigtramp_saved_pc): Renamed to | |
1381 | i386_svr4_sigtramp_saved_pc. Made static. Moved. | |
1382 | (i386_pc_in_sigtramp): New function. | |
1383 | (i386_abi_names): Removed. | |
1384 | (ABI_TAG_OS_GNU_LINUX, ABI_TAG_OS_GNU_HURD, | |
1385 | ABI_TAG_OS_GNU_SOLARIS, ABI_TAG_OS_FREEBSD, ABI_TAG_OS_NETBSD): | |
1386 | Removed. | |
1387 | (process_note_sections, i386_elf_abi_from_note, i386_elf_abi, | |
1388 | i386_gdbarch_register_os_abi): Removed. | |
1389 | (struct i386_abi_handler): Removed. | |
1390 | (i386_abi_handler_list): Removed. | |
1391 | (i386_svr4_pc_in_sigtramp, i386_go32_pc_in_sigtramp): New | |
1392 | functions. | |
1393 | (i386_elf_init_abi, i386_svr4_init_abi, i386_go32_init_abi, | |
1394 | i386_nw_init_abi): New functions. | |
1395 | (i386_gdbarch_init): Rewritten to use generic OS ABI framework. | |
1396 | Use set_gdbarch_xxx() calls instead of relying on macros for a | |
1397 | number of calls. | |
1398 | (i386_coff_osabi_sniffer, i386_nlm_osabi_sniffer): New functions. | |
1399 | (_initialize_i386_tdep): Add new 'struct-convcention' command. | |
1400 | Register the various architecture variants defined in this file. | |
1401 | ||
ad2f7632 DJ |
1402 | 2002-06-14 Daniel Jacobowitz <[email protected]> |
1403 | ||
1404 | * gdbtypes.h (TYPE_FLAG_VARARGS): Update comment. | |
1405 | (struct main_type): Remove arg_types member. Update comments for | |
1406 | struct field. | |
1407 | (TYPE_ARG_TYPES): Remove. | |
1408 | (TYPE_FN_FIELD_ARGS): Update. | |
1409 | (smash_to_method_type): Update prototype. | |
1410 | ||
1411 | * c-typeprint.c (cp_type_print_method_args): Take method type | |
1412 | instead of argument list. Use new argument layout. Simplify. | |
1413 | (c_type_print_args): Use new argument layout. Simplify. | |
1414 | (c_type_print_base): Update call to cp_type_print_method_args. | |
1415 | * dwarf2read.c (dwarf2_add_member_fn): Remove unneeded type | |
1416 | argument; use die->type instead. Update call to | |
1417 | smash_to_method_type. | |
1418 | (read_structure_scope): Update call to dwarf2_add_member_fn. | |
1419 | * gdbtypes.c (allocate_stub_method): Update comment. | |
1420 | (smash_to_method_type): Take new NARGS and VARARGS arguments. | |
1421 | Use new argument layout. | |
1422 | (check_stub_method): Use new argument layout. Don't count | |
1423 | void as an argument. | |
1424 | (print_arg_types): Update comments. Use new argument layout. | |
1425 | (recursive_dump_type): Don't print arg_types member. | |
1426 | * hpread.c (hpread_read_struct_type): Use new argument layout. | |
1427 | (fixup_class_method_type): Likewise. | |
1428 | (hpread_type_lookup): Likewise. | |
1429 | * stabsread.c (read_type): Update calls to read_args and | |
1430 | smash_to_method_type. | |
1431 | (read_args): Use new argument layout. Simplify. | |
1432 | * valops.c (typecmp): Use new argument layout. Update parameters | |
1433 | and comments. Simplify. | |
1434 | (hand_function_call): Use new argument layout. | |
1435 | (search_struct_method): Update call to typecmp. | |
1436 | (find_overload_match): Use new argument layout. | |
1437 | ||
6da02953 DJ |
1438 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
1439 | ||
1440 | * NEWS: Mention multithreaded debug support for gdbserver. | |
1441 | ||
519b2366 DJ |
1442 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
1443 | ||
1444 | * MAINTAINERS: Mention NEWS. | |
1445 | ||
a7f48742 DJ |
1446 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
1447 | ||
1448 | * gdbserver/regcache.c: Add comment. | |
1449 | ||
6c0d6680 DJ |
1450 | 2002-06-13 Daniel Jacobowitz <[email protected]> |
1451 | ||
1452 | * mips-tdep.c (PROC_SYMBOL): Add warning comment. | |
1453 | (struct mips_objfile_private, compare_pdr_entries): New. | |
1454 | (non_heuristic_proc_desc): Read the ".pdr" section if it | |
1455 | is present. | |
1456 | ||
6529d2dd AC |
1457 | 2002-06-12 Andrew Cagney <[email protected]> |
1458 | ||
1459 | * arm-tdep.c (arm_push_arguments): Rewrite using a two-pass loop. | |
1460 | (arm_debug): New static variable. | |
1461 | (_initialize_arm_tdep): Add ``set debug arm'' command. | |
1462 | ||
26216b98 AC |
1463 | 2002-06-12 Andrew Cagney <[email protected]> |
1464 | ||
1465 | * Makefile.in (sim_arm_h): Define. | |
1466 | (arm-tdep.o): Add $(sim_arm_h) and $(gdb_assert_h). | |
1467 | * arm-tdep.c: Include "gdb/sim-arm.h" and "gdb_assert.h". | |
1468 | (arm_register_sim_regno): New function, map an internal REGNUM | |
1469 | onto a simulator register number. | |
1470 | (arm_gdbarch_init): Set register_sim_regno. | |
1471 | ||
814b3ba0 AH |
1472 | 2002-06-09 Aldy Hernandez <[email protected]> |
1473 | ||
1474 | * MAINTAINERS: Add self. | |
1475 | ||
475b0867 JB |
1476 | 2002-06-11 Jim Blandy <[email protected]> |
1477 | ||
919d772c JB |
1478 | * source.c (source_info): Mention whether the symtab has |
1479 | information about preprocessor macros. | |
1480 | ||
475b0867 JB |
1481 | Call the command `info macro', not `show macro'. |
1482 | * macrocmd.c (info_macro_command): Renamed from `show_macro_command'. | |
1483 | Fix error message. | |
1484 | (_initialize_macrocmd): Register `info_macro_command' in | |
1485 | `infolist', not `showlist'. | |
1486 | ||
9e364162 DJ |
1487 | 2002-06-11 Daniel Jacobowitz <[email protected]> |
1488 | ||
1489 | * mips-tdep.c (MIPS_FPU_TYPE, FP_REGISTER_DOUBLE, MIPS_EABI) | |
1490 | (MIPS_LAST_FP_ARG_REGNUM, MIPS_LAST_ARG_REGNUM) | |
1491 | (MIPS_DEFAULT_SAVED_REGSIZE, MIPS_REGS_HAVE_HOME_P) | |
1492 | (MIPS_DEFAULT_STACK_ARGSIZE, GDB_TARGET_IS_MIPS64) | |
1493 | (MIPS_DEFAULT_MASK_ADDRESS_P): Remove obsolete definitions. Define | |
1494 | unconditionally. | |
1495 | (set_mipsfpu_single_command, set_mipsfpu_double_command) | |
1496 | (set_mipsfpu_none_command): Remove if (GDB_MULTI_ARCH). | |
1497 | (_initialize_mips_tdep): Remove dead code. | |
1498 | * config/mips/tm-irix5.h (MIPS_LAST_ARG_REGNUM) | |
1499 | (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove. | |
1500 | * config/mips/tm-irix6.h (MIPS_LAST_ARG_REGNUM) | |
1501 | (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove. | |
1502 | * config/mips/tm-mips.h (MIPS_EABI, MIPS_LAST_ARG_REGNUM, | |
1503 | MIPS_LAST_FP_ARG_REGNUM): Remove. | |
1504 | ||
1505 | 2002-06-11 Daniel Jacobowitz <[email protected]> | |
1506 | ||
1507 | * gdbserver/thread-db.c: New file. | |
1508 | * gdbserver/proc-service.c: New file. | |
1509 | * gdbserver/acinclude.m4: New file. | |
1510 | * gdbserver/Makefile.in: Add GDBSERVER_LIBS, gdb_proc_service_h, | |
1511 | proc-service.o, and thread-db.o. | |
1512 | (linux-low.o): Add USE_THREAD_DB. | |
1513 | * gdbserver/acconfig.h: Add HAVE_PRGREGSET_T, HAVE_PRFPREGSET_T, | |
1514 | HAVE_LWPID_T, HAVE_PSADDR_T, and PRFPREGSET_T_BROKEN. | |
1515 | * gdbserver/aclocal.m4: Regenerated. | |
1516 | * gdbserver/config.in: Regenerated. | |
1517 | * gdbserver/configure: Regenerated. | |
1518 | * gdbserver/configure.in: Check for proc_service.h, sys/procfs.h, | |
1519 | thread_db.h, and linux/elf.h headrs. | |
1520 | Check for lwpid_t, psaddr_t, prgregset_t, prfpregset_t, and | |
1521 | PRFPREGSET_T_BROKEN. Introduce srv_thread_depfiles and USE_THREAD_DB. | |
1522 | Check for -lthread_db and thread support. | |
1523 | * gdbserver/configure.srv: Enable thread_db support for ARM, i386, MIPS, | |
1524 | PowerPC, and SuperH. | |
1525 | * gdbserver/i387-fp.c: Constify arguments. | |
1526 | * gdbserver/i387-fp.h: Likewise. | |
1527 | * gdbserver/inferiors.c: (struct thread_info): Renamed from | |
1528 | `struct inferior_info'. Remove PID member. Use generic inferior | |
1529 | list header. All uses updated. | |
1530 | (inferiors, signal_pid): Removed. | |
1531 | (all_threads): New variable. | |
1532 | (get_thread): Define. | |
1533 | (add_inferior_to_list): New function. | |
1534 | (for_each_inferior): New function. | |
1535 | (change_inferior_id): New function. | |
1536 | (add_inferior): Removed. | |
1537 | (remove_inferior): New function. | |
1538 | (add_thread): New function. | |
1539 | (free_one_thread): New function. | |
1540 | (remove_thread): New function. | |
1541 | (clear_inferiors): Use for_each_inferior and free_one_thread. | |
1542 | (find_inferior): New function. | |
1543 | (find_inferior_id): New function. | |
1544 | (inferior_target_data): Update argument type. | |
1545 | (set_inferior_target_data): Likewise. | |
1546 | (inferior_regcache_data): Likewise. | |
1547 | (set_inferior_regcache_data): Likewise. | |
1548 | * gdbserver/linux-low.c (linux_bp_reinsert): Remove. | |
1549 | (all_processes, stopping_threads, using_thrads) | |
1550 | (struct pending_signals, debug_threads, pid_of): New. | |
1551 | (inferior_pid): Replace with macro. | |
1552 | (struct inferior_linux_data): Remove. | |
1553 | (get_stop_pc, add_process): New functions. | |
1554 | (linux_create_inferior): Restore SIGRTMIN+1 before calling exec. | |
1555 | Use add_process and add_thread. | |
1556 | (linux_attach_lwp): New function, based on old linux_attach. Use | |
1557 | add_process and add_thread. Set stop_expected for new threads. | |
1558 | (linux_attach): New function. | |
1559 | (linux_kill_one_process): New function. | |
1560 | (linux_kill): Kill all LWPs. | |
1561 | (linux_thread_alive): Use find_inferior_id. | |
1562 | (check_removed_breakpoints, status_pending_p): New functions. | |
1563 | (linux_wait_for_process): Renamed from linux_wait_for_one_inferior. | |
1564 | Update. Use WNOHANG. Wait for cloned processes also. Update process | |
1565 | struct for the found process. | |
1566 | (linux_wait_for_event): New function. | |
1567 | (linux_wait): Use it. Support LWPs. | |
1568 | (send_sigstop, wait_for_sigstop, stop_all_processes) | |
1569 | (linux_resume_one_process, linux_continue_one_process): New functions. | |
1570 | (linux_resume): Support LWPs. | |
1571 | (REGISTER_RAW_SIZE): Remove. | |
1572 | (fetch_register): Use register_size instead. Call supply_register. | |
1573 | (usr_store_inferior_registers): Likewise. Call collect_register. | |
1574 | Fix recursive case. | |
1575 | (regsets_fetch_inferior_registers): Improve error message. | |
1576 | (regsets_store_inferior_registers): Add debugging. | |
1577 | (linux_look_up_symbols): Call thread_db_init if USE_THREAD_DB. | |
1578 | (unstopped_p, linux_signal_pid): New functions. | |
1579 | (linux_target_ops): Add linux_signal_pid. | |
1580 | (linux_init_signals): New function. | |
1581 | (initialize_low): Call it. Initialize using_threads. | |
1582 | * gdbserver/regcache.c (inferior_regcache_data): Add valid | |
1583 | flag. | |
1584 | (get_regcache): Fetch registers lazily. Add fetch argument | |
1585 | and update all callers. | |
1586 | (regcache_invalidate_one, regcache_invalidate): New | |
1587 | functions. | |
1588 | (new_register_cache): Renamed from create_register_cache. | |
1589 | Return the new regcache. | |
1590 | (free_register_cache): Change argument to a void *. | |
1591 | (registers_to_string, registers_from_string): Call get_regcache | |
1592 | with fetch flag set. | |
1593 | (register_data): Make static. Pass fetch flag to get_regcache. | |
1594 | (supply_register): Call get_regcache with fetch flag clear. | |
1595 | (collect_register): Call get_regcache with fetch flag set. | |
1596 | (collect_register_as_string): New function. | |
1597 | * gdbserver/regcache.h: Update. | |
1598 | * gdbserver/remote-utils.c (putpkt): Flush after debug output and use | |
1599 | stderr. | |
1600 | Handle input interrupts while waiting for an ACK. | |
1601 | (input_interrupt): Use signal_pid method. | |
1602 | (getpkt): Flush after debug output and use stderr. | |
1603 | (outreg): Use collect_register_as_string. | |
1604 | (new_thread_notify, dead_thread_notify): New functions. | |
1605 | (prepare_resume_reply): Check using_threads. Set thread_from_wait | |
1606 | and general_thread. | |
1607 | (look_up_one_symbol): Flush after debug output. | |
1608 | * gdbserver/server.c (step_thread, server_waiting): New variables. | |
1609 | (start_inferior): Don't use signal_pid. Update call to mywait. | |
1610 | (attach_inferior): Update call to mywait. | |
1611 | (handle_query): Handle qfThreadInfo and qsThreadInfo. | |
1612 | (main): Don't fetch/store registers explicitly. Use | |
1613 | set_desired_inferior. Support proposed ``Hs'' packet. Update | |
1614 | calls to mywait. | |
1615 | * gdbserver/server.h: Update. | |
1616 | (struct inferior_list, struct_inferior_list_entry): New. | |
1617 | * gdbserver/target.c (set_desired_inferior): New. | |
1618 | (write_inferior_memory): Constify. | |
1619 | (mywait): New function. | |
1620 | * gdbserver/target.h: Update. | |
1621 | (struct target_ops): New signal_pid method. | |
1622 | (mywait): Removed macro, added prototype. | |
1623 | ||
1624 | * gdbserver/linux-low.h (regset_func): Removed. | |
1625 | (regset_fill_func, regset_store_func): New. | |
1626 | (enum regset_type): New. | |
1627 | (struct regset_info): Add type field. Use new operation types. | |
1628 | (struct linux_target_ops): stop_pc renamed to get_pc. | |
1629 | Add decr_pc_after_break and breakpoint_at. | |
1630 | (get_process, get_thread_proess, get_process_thread) | |
1631 | (strut process_info, all_processes, linux_attach_lwp) | |
1632 | (thread_db_init): New. | |
1633 | ||
1634 | * gdbserver/linux-arm-low.c (arm_get_pc, arm_set_pc, | |
1635 | arm_breakpoint, arm_breakpoint_len, arm_breakpoint_at): New. | |
1636 | (the_low_target): Add new members. | |
1637 | * gdbserver/linux-i386-low.c (i386_store_gregset, i386_store_fpregset) | |
1638 | (i386_store_fpxregset): Constify. | |
1639 | (target_regsets): Add new kind identifier. | |
1640 | (i386_get_pc): Renamed from i386_stop_pc. Simplify. | |
1641 | (i386_set_pc): Add debugging. | |
1642 | (i386_breakpoint_at): New function. | |
1643 | (the_low_target): Add new members. | |
1644 | * gdbserver/linux-mips-low.c (mips_get_pc, mips_set_pc) | |
1645 | (mips_breakpoint, mips_breakpoint_len, mips_reinsert_addr) | |
1646 | (mips_breakpoint_at): New. | |
1647 | (the_low_target): Add new members. | |
1648 | * gdbserver/linux-ppc-low.c (ppc_get_pc, ppc_set_pc) | |
1649 | (ppc_breakpoint, ppc_breakpoint_len, ppc_breakpoint_at): New. | |
1650 | (the_low_target): Add new members. | |
1651 | * gdbserver/linux-sh-low.c (sh_get_pc, sh_set_pc) | |
1652 | (sh_breakpoint, sh_breakpoint_len, sh_breakpoint_at): New. | |
1653 | (the_low_target): Add new members. | |
1654 | * gdbserver/linux-x86-64-low.c (target_regsets): Add new kind | |
1655 | identifier. | |
1656 | ||
23aa4c72 ML |
1657 | 2002-06-11 Michal Ludvig <[email protected]> |
1658 | ||
1659 | * dwarf2cfi.c (unwind_tmp_obstack_init): New. | |
1660 | (unwind_tmp_obstack_free, parse_frame_info) | |
1661 | (update_context, cfi_read_fp, cfi_write_fp) | |
1662 | (cfi_frame_chain, cfi_init_extra_frame_info) | |
1663 | (cfi_virtual_frame_pointer): Use the above function. | |
264d1763 | 1664 | * dwarf2cfi.c: Reindented (using 'indent dwarf2cfi.c'). |
23aa4c72 | 1665 | |
70eb15a4 CV |
1666 | 2002-06-11 Corinna Vinschen <[email protected]> |
1667 | ||
1668 | * v850-tdep.c (v850_type_is_scalar): New function. | |
1669 | (v850_use_struct_convention): Match current gcc implementation | |
1670 | as close as possible. | |
1671 | (v850_push_arguments): Fix stack_offset handling. Don't write | |
1672 | struct_addr into register. This is done by v850_store_struct_return. | |
1673 | (v850_extract_return_value): Care for structs. | |
1674 | (v850_store_return_value): Ditto. | |
1675 | (v850_store_struct_return): Actually write address. | |
1676 | ||
482a4d06 ML |
1677 | 2002-06-11 Michal Ludvig <[email protected]> |
1678 | ||
1679 | * x86-64-tdep.c (x86_64_skip_prologue): Fix to work on functions | |
1680 | without debug information too. | |
1681 | ||
d855c300 AC |
1682 | 2002-06-10 Andrew Cagney <[email protected]> |
1683 | ||
1684 | * gdbarch.sh (PRINT_FLOAT_INFO): Add frame and ui_file parameters. | |
1685 | Make multi-arch pure. | |
1686 | * gdbarch.h, gdbarch.c: Re-generate. | |
1687 | * arm-tdep.c (arm_print_float_info): Update. | |
1688 | * arch-utils.h (default_print_float_info): Update. | |
1689 | * arch-utils.c (default_print_float_info): Update. | |
1690 | * infcmd.c (float_info): Update call. | |
1691 | ||
dd12a101 AC |
1692 | 2002-06-10 Andrew Cagney <[email protected]> |
1693 | ||
1694 | * Makefile.in (init.c): Move the call to _initialize_gdbtypes to | |
1695 | the front of the initialize list. | |
1696 | ||
101dcfbe AC |
1697 | 2002-06-10 Andrew Cagney <[email protected]> |
1698 | ||
1699 | * infrun.c (struct inferior_status): Replace fields | |
1700 | selected_frame_address and selected_level with field | |
1701 | selected_frame_id. | |
1702 | (save_inferior_status): Update. Use get_frame_id. | |
1703 | (struct restore_selected_frame_args): Delete. | |
1704 | (restore_selected_frame): Update. Use frame_find_by_id. | |
1705 | (restore_inferior_status): Update. | |
1706 | ||
1707 | * breakpoint.h (struct breakpoint): Change type of | |
1708 | watchpoint_frame to frame_id. | |
1709 | * breakpoint.c (insert_breakpoints): Use frame_find_by_id. Remove | |
1710 | call to get_current_frame. | |
1711 | (do_enable_breakpoint): Use frame_find_by_id. Remove call to | |
1712 | get_current_frame. | |
1713 | (watchpoint_check): Use frame_find_by_id. | |
1714 | ||
1715 | * frame.h (record_selected_frame): Delete declaration. | |
1716 | * stack.c (record_selected_frame): Delete function. | |
1717 | ||
1718 | * frame.h (struct frame_id): Define. | |
1719 | (get_frame_id): Declare. | |
1720 | (frame_find_by_id): Declare. | |
1721 | * frame.c (frame_find_by_id): New function. | |
1722 | (get_frame_id): New function. | |
1723 | ||
304270b6 AV |
1724 | 2002-06-10 Andrey Volkov <[email protected]> |
1725 | ||
1726 | * ser-e7kpc.c: Fix duplicated define and call of | |
1727 | _initialize_ser_e7000pc | |
1728 | ||
2f2cf184 DJ |
1729 | 2002-06-09 Daniel Jacobowitz <[email protected]> |
1730 | ||
1731 | * signals/signals.c (target_signal_from_host): Fix #ifdef | |
1732 | SIGRTMIN case. | |
1733 | (do_target_signal_to_host): Likewise. | |
1734 | ||
caaa3122 DJ |
1735 | 2002-06-09 Daniel Jacobowitz <[email protected]> |
1736 | ||
1737 | * mips-tdep.c (mips_find_abi_section): New function. | |
1738 | (mips_gdbarch_init): Call it. | |
1739 | ||
6ac5df3a MK |
1740 | 2002-06-09 Mark Kettenis <[email protected]> |
1741 | ||
1742 | * solib-svr4.c (init_fetch_link_map_offsets): Simply return | |
1743 | legacy_fetch_link_map_offsets. Adjust comment to reflect reality | |
1744 | after Andrew's 2002-06-08 gdbarch change. | |
1745 | ||
82ea117a MK |
1746 | 2002-06-09 Mark Kettenis <[email protected]> |
1747 | ||
1748 | * i386-linux-nat.c (suppy_gregset): Don't supply | |
1749 | I386_LINUX_ORIG_EAX_REGNUM if there isn't room for it in GDB's | |
1750 | register cache. | |
1751 | (fill_gregset): Don't fetch it under the same circumstances. | |
1752 | ||
3c25f8c7 AC |
1753 | 2002-06-09 Andrew Cagney <[email protected]> |
1754 | ||
1755 | * Makefile.in (callback_h): Define. | |
1756 | (remote_sim_h): Update path to remote-sim.h. | |
1757 | (remote-rdp.o): Add $(callback_h). | |
1758 | (remote-sim.o): Use $(callback_h). | |
1759 | * remote-sim.c: Include "gdb/callback.h" and "gdb/remote-sim.h". | |
1760 | * remote-rdp.c: Include "gdb/callback.h". | |
1761 | ||
1029b7fa MK |
1762 | 2002-06-09 Mark Kettenis <[email protected]> |
1763 | ||
1764 | * osabi.h (gdb_osabi): Add GDB_OSABI_GO32 and GDB_OSABI_NETWARE. | |
1765 | * osabi.c (gdb_osabi_names): Add "DJGPP" and "NetWare". | |
1766 | ||
616675d3 AC |
1767 | 2002-06-08 Andrew Cagney <[email protected]> |
1768 | ||
a3efda28 AC |
1769 | * sparcl-tdep.c: Use __CYGWIN__ instead of __CYGWIN32__. |
1770 | * rdi-share/serpardr.c: Ditto. | |
1771 | * rdi-share/unixcomm.c: Ditto. | |
1772 | * rdi-share/serdrv.c: Ditto. | |
1773 | * rdi-share/hostchan.h: Ditto. | |
1774 | * rdi-share/hostchan.c: Ditto. | |
1775 | * rdi-share/host.h: Ditto. | |
1776 | * rdi-share/devsw.c: Ditto. | |
1777 | ||
c5f10366 AC |
1778 | * objfiles.h: Change type of obj_private to void pointer. |
1779 | * pa64solib.c: Update copyright. Don't include "assert.h", use | |
1780 | strcmp instead of STREQ, use LONGEST, do not use PTR | |
1781 | * somsolib.c: Ditto. | |
1782 | ||
616675d3 AC |
1783 | * config/djgpp/fnchange.lst: Fix problems with bfd/elf32-i386.c, |
1784 | bfd/elf32-i386qnx.c, bfd/elf32-sh.c, bfd/elf32-sh64-nbsd.c, | |
1785 | bfd/elf64-sh64-nbsd.c bfd/elf64-sh64.c. | |
1786 | ||
e4b415d9 AC |
1787 | 2002-06-08 Andrew Cagney <[email protected]> |
1788 | ||
1789 | * frame.c (GET_SAVED_REGISTER): Delete macro definition. | |
1790 | (default_get_saved_register): Delete function. | |
1791 | * gdbarch.sh (GET_SAVED_REGISTER): Set default to | |
1792 | generic_unwind_get_saved_register. | |
1793 | * gdbarch.h, gdbarch.c: Re-generate. | |
1794 | ||
ca0d0b52 AC |
1795 | 2002-06-08 Andrew Cagney <[email protected]> |
1796 | ||
1797 | * gdbarch.sh (FRAME_CHAIN_VALID): Set default to | |
1798 | generic_func_frame_chain_valid. | |
1799 | * gdbarch.h, gdbarch.c: Re-generate. | |
1800 | * blockframe.c (generic_func_frame_chain_valid): Only check | |
1801 | PC_IN_CALL_DUMMY when generic dummy frames. Don't worry about | |
1802 | passing FP to PC_IN_CALL_DUMMY. | |
1803 | Fix PR gdb/360. | |
1804 | ||
76860b5f AC |
1805 | 2002-06-08 Andrew Cagney <[email protected]> |
1806 | ||
1807 | * gdbarch.sh (struct gdbarch_data): Add field init_p. | |
1808 | (register_gdbarch_data): Initialize init_p. | |
1809 | (gdbarch_data): Initialize data pointer using the init function. | |
1810 | (init_gdbarch_data): Delete function. | |
1811 | (gdbarch_update_p): Update. | |
1812 | (initialize_non_multiarch): Update. | |
1813 | (struct gdbarch): Add field initialized_p. | |
1814 | * gdbarch.h, gdbarch.c: Re-generate. | |
1815 | ||
8dda9770 ML |
1816 | 2002-06-07 Michal Ludvig <[email protected]> |
1817 | ||
1818 | * x86-64-linux-nat.c (x86_64_fxsave_offset): New. | |
1819 | (supply_fpregset, fill_fpregset): Don't call i387_*_fxsave, | |
1820 | better do the things actually here. | |
1821 | * x86-64-tdep.c (x86_64_register_name2nr): New. | |
1822 | (x86_64_register_name): Renamed to x86_64_register_nr2name. | |
1823 | (x86_64_gdbarch_init): Respect the above change. | |
1824 | * x86-64-tdep.h (x86_64_register_name2nr) | |
1825 | (x86_64_register_nr2name): Add prototypes. | |
1826 | * config/i386/x86-64linux.mt (TDEPFILES): Remove i387-tdep.o. | |
1827 | ||
3d79a47c MS |
1828 | 2002-06-06 Michael Snyder <[email protected]> |
1829 | ||
7bd91a28 MS |
1830 | * d10v-tdep.c (d10v_push_arguments): Handle struct_return. |
1831 | Delete extra braces and re-indent. | |
1832 | (d10v_store_return_value): Char return values | |
3d79a47c MS |
1833 | must be shifted over by one byte in R0. |
1834 | (d10v_extract_return_value): Delete extra braces, re-indent. | |
1835 | ||
095a4c96 EZ |
1836 | 2002-06-06 Elena Zannoni <[email protected]> |
1837 | ||
1838 | * d10v-tdep.c (d10v_read_sp, d10v_read_fp): Add prototype. | |
1839 | (d10v_register_virtual_type): Make $fp and $sp be pointer to data. | |
1840 | (d10v_integer_to_address): Rewrite. | |
1841 | (d10v_frame_init_saved_regs): When reading fp and sp registers use | |
1842 | the d10v specific functions which take care of converting to the | |
1843 | correct space. | |
1844 | ||
e8a77ca4 EZ |
1845 | 2002-06-06 Elena Zannoni <[email protected]> |
1846 | ||
1847 | * config/djgpp/fnchange.lst: Add testsuite files altivec-abi.c, | |
1848 | altivec-abi.exp, altivec-regs.c, altivec-regs.exp. | |
1849 | ||
4f2e4a4f AC |
1850 | 2002-06-02 Andrew Cagney <[email protected]> |
1851 | ||
1852 | * config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xm | |
1853 | includes. | |
1854 | * config/tm-linux.h: Ditto. | |
1855 | * config/alpha/tm-alphalinux.h: Ditto. | |
1856 | * config/arm/nm-linux.h, config/arm/tm-linux.h: Ditto. | |
1857 | * config/arm/xm-nbsd.h, config/i386/nm-gnu.h: Ditto. | |
1858 | * config/i386/nm-i386lynx.h, config/i386/nm-i386sol2.h: Ditto. | |
1859 | * config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h: Ditto. | |
1860 | * config/i386/nm-linux.h, config/i386/nm-m3.h: Ditto. | |
1861 | * config/i386/nm-ptx4.h, config/i386/nm-x86-64.h: Ditto. | |
1862 | * config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h: Ditto. | |
1863 | * config/i386/tm-i386m3.h, config/i386/tm-i386sco5.h: Ditto. | |
1864 | * config/i386/tm-i386v4.h, config/i386/tm-linux.h: Ditto. | |
1865 | * config/i386/tm-ptx4.h, config/i386/tm-vxworks.h: Ditto. | |
1866 | * config/i386/xm-i386v4.h, config/i386/xm-nbsd.h: Ditto. | |
1867 | * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. | |
1868 | * config/i960/tm-vx960.h, config/ia64/nm-aix.h: Ditto. | |
1869 | * config/ia64/nm-linux.h, config/ia64/tm-aix.h: Ditto. | |
1870 | * config/ia64/tm-linux.h, config/ia64/xm-aix.h: Ditto. | |
1871 | * config/m68k/nm-linux.h, config/m68k/nm-m68klynx.h: Ditto. | |
1872 | * config/m68k/nm-sysv4.h, config/m68k/tm-linux.h: Ditto. | |
1873 | * config/m68k/tm-m68klynx.h, config/m68k/tm-m68kv4.h: Ditto. | |
1874 | * config/m68k/tm-sun2os4.h, config/m68k/tm-sun3os4.h: Ditto. | |
1875 | * config/m68k/tm-vx68.h, config/m68k/xm-m68kv4.h: Ditto. | |
1876 | * config/m68k/xm-nbsd.h, config/m88k/nm-delta88v4.h: Ditto. | |
1877 | * config/m88k/tm-delta88v4.h, config/m88k/xm-delta88v4.h: Ditto. | |
1878 | * config/mips/nm-irix5.h, config/mips/nm-linux.h: Ditto. | |
1879 | * config/mips/tm-linux.h, config/mips/tm-mips64.h: Ditto. | |
1880 | * config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h: Ditto. | |
1881 | * config/mips/tm-vxmips.h, config/mips/xm-irix5.h: Ditto. | |
1882 | * config/mips/xm-mipsv4.h, config/ns32k/xm-nbsd.h: Ditto. | |
1883 | * config/pa/nm-hppao.h, config/powerpc/nm-linux.h: Ditto. | |
1884 | * config/powerpc/tm-linux.h, config/powerpc/tm-vxworks.h: Ditto. | |
1885 | * config/powerpc/xm-aix.h, config/rs6000/nm-rs6000ly.h: Ditto. | |
1886 | * config/rs6000/tm-rs6000ly.h, config/rs6000/xm-aix4.h: Ditto. | |
1887 | * config/sh/tm-linux.h, config/sparc/nm-linux.h: Ditto. | |
1888 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4sol2.h: Ditto. | |
1889 | * config/sparc/tm-linux.h, config/sparc/tm-sp64linux.h: Ditto. | |
1890 | * config/sparc/tm-sp64sim.h, config/sparc/tm-sparclynx.h: Ditto. | |
1891 | * config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h: Ditto. | |
1892 | * config/sparc/tm-vxsparc.h, config/sparc/xm-sun4sol2.h: Ditto. | |
1893 | ||
ae2ab2ce AS |
1894 | 2002-05-04 Aidan Skinner <[email protected]> |
1895 | ||
1896 | * ada-exp.tab.c: New file | |
1897 | * ada-exp.y: New file | |
1898 | * ada-lang.c: New file | |
1899 | * ada-lang.h: New file | |
1900 | * ada-lex.c: New file | |
1901 | * ada-lex.l: New file | |
1902 | * ada-tasks.c: New file | |
1903 | * ada-typeprint.c: New file | |
1904 | * ada-valprint.c: New file | |
1905 | ||
0ddd0135 JT |
1906 | 2002-06-02 Jason Thorpe <[email protected]> |
1907 | ||
1908 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set | |
1909 | use_struct_convention to ppc_sysv_abi_broken_use_struct_convention. | |
1910 | ||
750fbacc JT |
1911 | 2002-06-02 Jason Thorpe <[email protected]> |
1912 | ||
1913 | * config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o | |
1914 | insetead of ppc-linux-tdep.o. | |
1915 | * config/rs6000/rs6000.mt (TDEPFILES): Likewise. | |
1916 | * config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise. | |
1917 | ||
df94e18a AC |
1918 | 2002-06-02 Andrew Cagney <[email protected]> |
1919 | ||
1920 | 2002-05-07 Christian Groessler <[email protected]> | |
1921 | * z8k-tdep.c (z8k_print_register_hook): Fix display of 32 and 64 | |
1922 | bit register contents for little endian hosts. | |
1923 | ||
1a38ab75 AC |
1924 | 2002-06-01 Andrew Cagney <[email protected]> |
1925 | ||
1926 | * MAINTAINERS: Mention that any `HP/UX reader' can be changed by | |
1927 | any maintainer. | |
1928 | ||
8b1632ac AC |
1929 | 2002-06-01 Andrew Cagney <[email protected]> |
1930 | ||
1931 | * gdbarch.h: Regenerate. | |
1932 | ||
627054c8 AC |
1933 | 2002-06-01 Andrew Cagney <[email protected]> |
1934 | ||
1935 | * MAINTAINERS: Add everyone to write-after-approval list. | |
1936 | ||
4f460812 AC |
1937 | 2002-06-01 Andrew Cagney <[email protected]> |
1938 | ||
1939 | * stack.c (frame_info): Use frame_register_unwind instead of | |
1940 | saved_regs. Mention when the SP is on the stack or in a register. | |
1941 | ||
1942 | * frame.h (frame_register_unwind_ftype): Define. Document. | |
1943 | (struct frame_info): Add field register_unwind and | |
1944 | register_unwind_cache. | |
1945 | (frame_register_unwind): Declare. | |
1946 | (generic_unwind_get_saved_register): Declare. | |
1947 | ||
1948 | * frame.c (frame_register_unwind): New function. | |
1949 | (generic_unwind_get_saved_register): New function. | |
1950 | ||
1951 | * blockframe.c (generic_call_dummy_register_unwind): New function. | |
1952 | (frame_saved_regs_register_unwind): New function. | |
1953 | (set_unwind_by_pc): New function. | |
1954 | (create_new_frame): New function. | |
1955 | (get_prev_frame): New function. | |
1956 | ||
de888f76 AC |
1957 | 2002-05-30 Andrew Cagney <[email protected]> |
1958 | ||
1959 | * a29k-share/: Delete directory. | |
1960 | * remote-vx29k.c: Delete file. | |
1961 | ||
2f2c3626 JT |
1962 | 2002-05-30 Jason Thorpe <[email protected]> |
1963 | ||
1964 | * config/djgpp/fnchange.lst: Add ns32knbsd-nat.c, ns32knbsd-tdep.c, | |
1965 | ppcnbsd-nat.c, ppcnbsd-tdep.c, sparcnbsd-nat.c, and sparcnbsd-tdep.c. | |
1966 | ||
9ce5c36a JT |
1967 | 2002-05-30 Jason Thorpe <[email protected]> |
1968 | ||
1969 | * Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c, | |
1970 | sparcnbsd-nat.c, and sparcnbsd-tdep.c. | |
1971 | (sparc64nbsd-nat.o) | |
1972 | (sparcnbsd-nat.o) | |
1973 | (sparcnbsd-tdep.o): New dependency lists. | |
1974 | * NEWS: Note new UltraSPARC NetBSD native configuration. | |
1975 | * configure.host (sparc64-*-netbsd*): New host. | |
1976 | * configure.tgt (sparc-*-netbsdelf*) | |
1977 | (sparc-*-netbsd*): Set gdb_target to nbsd. | |
1978 | (sparc64-*-netbsd*): New target. | |
1979 | * sparc64nbsd-nat.c: New file. | |
1980 | * sparcnbsd-nat.c: New file. | |
1981 | * sparcnbsd-tdep.c: New file. | |
1982 | * sparcnbsd-tdep.h: New file. | |
1983 | * config/sparc/nbsd.mt: New file. | |
1984 | * config/sparc/nbsd64.mh: New file. | |
1985 | * config/sparc/nbsd64.mt: New file. | |
1986 | * config/sparc/nbsdaout.mh (NATDEPFILES): Remove corelow.o, | |
1987 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. | |
1988 | (HOST_IPC): Remove. | |
1989 | * config/sparc/nbsdaout.mt: Remove. | |
1990 | * config/sparc/nbsdelf.mh (NATDEPFILES): Remove corelow.o, | |
1991 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. | |
1992 | (HOST_IPC): Remove. | |
1993 | * config/sparc/nbsdelf.mt: Remove. | |
1994 | * config/sparc/nm-nbsd.h: Update copyright years. Remove all | |
1995 | sparc-nat.c compatiblity defines. | |
1996 | * config/sparc/tm-nbsd.h: Update copyright years. Include solib.h. | |
1997 | (GDB_MULTI_ARCH): Set to GDB_MULTI_ARCH_PARTIAL. | |
1998 | * config/sparc/tm-nbsd64.h: New file. | |
1999 | * config/sparc/tm-nbsdaout.h: Remove. | |
2000 | * config/sparc/xm-nbsd.h: Remove. | |
2001 | ||
ef3cf062 JT |
2002 | 2002-05-30 Jason Thorpe <[email protected]> |
2003 | ||
2004 | * Makefile.in (sparc-tdep.o): Add osabi.h to dependency list. | |
2005 | * sparc-tdep.c: Include osabi.h. | |
2006 | (gdbarch_tdep): Add osabi member. | |
2007 | (_initialize_sparc_tdep): Use gdbarch_register. | |
2008 | (sparc_gdbarch_init): Use generic OS ABI framework. | |
2009 | (sparc_dump_tdep): New function. | |
2010 | ||
ee8ff470 KB |
2011 | 2002-05-30 Kevin Buettner <[email protected]> |
2012 | ||
2013 | * corefile.c (do_captured_read_memory_integer): Return non-zero | |
2014 | result. | |
2015 | (safe_read_memory_integer): Copy result of memory read when | |
2016 | status is non-zero. Also, add comments. | |
2017 | ||
7b112f9c JT |
2018 | 2002-05-20 Jason Thorpe <[email protected]> |
2019 | ||
2020 | * Makefile.in (ppc_tdep_h): Define. | |
2021 | (ppc-linux-nat.o) | |
2022 | (ppc-linux-tdep.o) | |
2023 | (rs6000-tdep.o): Use $(ppc_tdep_h). | |
2024 | (ppc-sysv-tdep.o) | |
2025 | (ppcnbsd-nat.o) | |
2026 | (ppcnbsd-tdep.o): New dependency lists. | |
2027 | * ppc-tdep.h: Use generic OS ABI framework. | |
357edbbc JT |
2028 | * ppc-linux-tdep.c (_initialize_ppc_linux_tdep) |
2029 | (ppc_linux_init_abi): New functions. | |
7b112f9c JT |
2030 | (ppc_sysv_abi_broken_use_struct_convention) |
2031 | (ppc_sysv_abi_use_struct_convention) | |
2032 | (ppc_sysv_abi_push_arguments): Move to... | |
2033 | * ppc-sysv-tdep.c: ...here. | |
2034 | * ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h. | |
2035 | * rs6000-tdep.c (process_note_abi_tag_sections) | |
2036 | (get_elfosabi): Remove. | |
2037 | (rs6000_gdbarch_init): Use generic OS ABI framework. | |
2038 | (rs6000_dump_tdep): New function. | |
2039 | (_initialize_rs6000_tdep): Use gdbarch_register. | |
2040 | * config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o. | |
2041 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
2042 | * config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead | |
2043 | of ppc-linux-tdep.o. | |
2044 | * config/powerpc/nbsd.mt (TDEPFILES): Likewise. | |
2045 | * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise. | |
2046 | * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise. | |
2047 | * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise. | |
2048 | * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise. | |
2049 | * config/powerpc/vxworks.mt (TDEPFILES): Likewise. | |
2050 | ||
480dd42a JB |
2051 | 2002-05-29 Jim Blandy <[email protected]> |
2052 | ||
2053 | * macroscope.c (default_macro_scope): Put `void' in empty argument | |
2054 | list. | |
2055 | ||
4182591f AC |
2056 | 2002-05-29 Andrew Cagney <[email protected]> |
2057 | ||
2058 | * Makefile.in (arch-utils.o): Add $(sim_regno_h). | |
2059 | * arch-utils.c: Include "sim-regno.h". | |
2060 | * gdbarch.sh: Don't include "sim-regno.h". | |
2061 | * gdbarch.h, gdbarch.c: Regenerate. | |
2062 | * sim-regno.h (legacy_register_sim_regno): Move declaration from | |
2063 | here. | |
2064 | * arch-utils.h (legacy_register_sim_regno): To here. | |
2065 | * remote-sim.c (legacy_register_sim_regno): Move function from | |
2066 | here. | |
2067 | * arch-utils.c (legacy_register_sim_regno): To here. | |
2068 | ||
8238d0bf AC |
2069 | 2002-05-28 Andrew Cagney <[email protected]> |
2070 | ||
2071 | * sim-regno.h: New file. | |
2072 | * Makefile.in (sim_regno_h): Define. | |
2073 | (d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h). | |
2074 | * remote-sim.c: Include "sim-regno.h" and "gdb_assert.h". | |
2075 | (legacy_register_sim_regno): New function. | |
2076 | (one2one_register_sim_regno): New function. | |
2077 | (gdbsim_fetch_register): Rewrite. | |
2078 | (gdbsim_store_register): Only store a register when | |
2079 | REGISTER_SIM_REGNO is valid. | |
2080 | * d10v-tdep.c: Include "sim-regno.h". | |
2081 | (d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check. | |
2082 | (d10v_ts3_register_sim_regno): Ditto. | |
2083 | * gdbarch.sh: Include "sim-regno.h". | |
2084 | (REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno. | |
2085 | * gdbarch.h, gdbarch.c: Regenerate. | |
2086 | * arch-utils.h (default_register_sim_regno): Delete declaration. | |
2087 | * arch-utils.c (default_register_sim_regno): Delete function. | |
2088 | ||
485721b1 JT |
2089 | 2002-05-28 Jason Thorpe <[email protected]> |
2090 | ||
2091 | * ppcnbsd-nat.c: Rewrite. | |
2092 | * ppcnbsd-tdep.c: New file. | |
2093 | * ppcnbsd-tdep.h: New file. | |
2094 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o, | |
2095 | solib.o, and solib-svr4.o. | |
2096 | * config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o, | |
2097 | nbsd-tdep.o, and corelow.o. | |
2098 | ||
697f244d AC |
2099 | 2002-05-28 Andrew Cagney <[email protected]> |
2100 | ||
2101 | * MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use | |
2102 | `tr' and `sed'. Mention that `broken' targets are not expected to | |
2103 | build. | |
2104 | ||
f08caad1 | 2105 | 2002-05-27 Michal Ludvig <[email protected]> |
b1ab997b ML |
2106 | |
2107 | * x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note. | |
2108 | Let PC point right after the prologue before looking up symbols. | |
2109 | ||
3139facc MH |
2110 | 2002-05-27 Martin M. Hunt <[email protected]> |
2111 | ||
2112 | * i386-tdep.c (i386_register_virtual_type): Return | |
2113 | builtin_type_vec128i for SSE registers. | |
2114 | ||
2115 | * gdbtypes.h (builtin_type_vec128i): Declare. | |
2116 | ||
2117 | * gdbtypes.c (build_builtin_type_vec128i): New function. | |
2118 | (builtin_type_v2_double, builtin_type_v4_int64): New types. | |
2119 | (builtin_type_vec128i): New type for SSE2 128-bit registers. | |
2120 | (build_gdbtypes): Initialize new builtin vector types. | |
2121 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
2122 | ||
6e3ba3b8 JT |
2123 | 2002-05-26 Jason Thorpe <[email protected]> |
2124 | ||
2125 | * MAINTAINERS: ns32k is not longer an obsolete candidate, | |
2126 | since it has been multi-arch'd. | |
2127 | * NEWS: Note that ns32k-*-* is now partial multi-arch. | |
2128 | Move Alpha and VAX multi-arch news entries to same section | |
2129 | as other multi-arch news. | |
2130 | ||
93d5585d JT |
2131 | 2002-05-26 Jason Thorpe <[email protected]> |
2132 | ||
2133 | * ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h, | |
2134 | target.s, arch-utils.h, ns32k-tdep.h. Make many functions | |
2135 | static. Rename some register numbers to put them in ns32k-tdep | |
2136 | private namespace. | |
2137 | (ns32k_get_saved_register, ns32k_gdbarch_init_32082, | |
2138 | ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New | |
2139 | functions. | |
2140 | (_initialize_ns32k_tdep): Use gdbarch_register. | |
2141 | * ns32k-tdep.h: New file. | |
2142 | * ns32knbsd-tdep.c: New file. | |
2143 | * config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o. | |
2144 | * config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h". | |
2145 | (IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS, | |
2146 | REGISTER_BYTES, REGISTER_BYTE): Remove. | |
2147 | * config/ns32k/tm-ns32k.h: New file. | |
2148 | * config/ns32k/tm-umax.h: Remove. | |
2149 | ||
efb2c70e JT |
2150 | 2002-05-26 Jason Thorpe <[email protected]> |
2151 | ||
2152 | * ns32k-tdep.c (ns32k_saved_pc_after_call, | |
2153 | ns32k_store_struct_return, ns32k_extract_return_value, | |
2154 | ns32k_store_return_value, ns32k_extract_struct_value_address): New | |
2155 | functions. | |
2156 | * config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as | |
2157 | ns32k_saved_pc_after_call. | |
2158 | (STORE_STRUCT_RETURN): Define as ns32k_store_struct_return. | |
2159 | (EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value. | |
2160 | (STORE_RETURN_VALUE): Define as ns32k_store_return_value. | |
2161 | (EXTRACT_STRUCT_VALUE_ADDRESS): Define as | |
2162 | ns32k_extract_struct_value_address. | |
2163 | ||
7bcc927b JT |
2164 | 2002-05-26 Jason Thorpe <[email protected]> |
2165 | ||
2166 | * ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words, | |
2167 | ns32k_fix_call_dummy): New. | |
2168 | * config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as | |
2169 | ns32k_call_dummy_words. | |
2170 | (SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words. | |
2171 | (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR, | |
2172 | CALL_DUMMY_NARGS): Remove. | |
2173 | (FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy. | |
2174 | ||
78f9d765 JT |
2175 | 2002-05-26 Jason Thorpe <[email protected]> |
2176 | ||
2177 | * ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain, | |
2178 | ns32k_frame_saved_pc, ns32k_frame_args_address, | |
2179 | ns32k_frame_locals_address, ns32k_frame_init_saved_regs, | |
2180 | ns32k_push_dummy_frame, ns32k_pop_frame): New functions. | |
2181 | * config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove. | |
2182 | * config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan. | |
2183 | (BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc. | |
2184 | (BREAKPOINT): Remove.. | |
2185 | (FRAME_CHAIN): Define as ns32k_frame_chain. | |
2186 | (FRAME_SAVED_PC): Define as ns32k_frame_saved_pc. | |
2187 | (FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address. | |
2188 | (FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address. | |
2189 | (FRAME_FIND_SAVED_REGS): Remove. | |
2190 | (FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs. | |
2191 | (PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame. | |
2192 | (POP_FRAME): Define as ns32k_pop_frame. | |
2193 | ||
f2c762e0 JT |
2194 | 2002-05-26 Jason Thorpe <[email protected]> |
2195 | ||
2196 | * ns32k-tdep.c (ns32k_register_byte_32082, | |
2197 | ns32k_register_byte_32382, ns32k_register_raw_size, | |
2198 | ns32k_register_virtual_size, ns32k_register_virtual_type): New | |
2199 | functions. | |
2200 | * config/ns32k/tm-nbsd.h (REGISTER_BYTE): Define as | |
2201 | ns32k_register_byte_32382. | |
2202 | * config/ns32k/tm-umax.h: Update copyright years. | |
2203 | (REGISTER_BYTE): Define as ns32k_register_byte_32082. | |
2204 | (REGISTER_RAW_SIZE): Define as ns32k_register_raw_size. | |
2205 | (REGISTER_VIRTUAL_SIZE): Define as ns32k_register_virtual_size. | |
2206 | (REGISTER_VIRTUAL_TYPE): Define as ns32k_register_virtual_type. | |
2207 | (ns32k_get_enter_addr): Fix prototype. | |
2208 | ||
af137673 JT |
2209 | 2002-05-26 Jason Thorpe <[email protected]> |
2210 | ||
2211 | * ns32k-tdep.c: Update copyright years. | |
2212 | (ns32k_register_name_32082): New function. | |
2213 | (ns32k_register_name_32382): Ditto. | |
2214 | * config/ns32k/tm-nbsd.h (REGISTER_NAMES): Remove. | |
2215 | (REGISTER_NAME): Define as ns32k_register_name_32382. | |
2216 | * config/ns32k/tm-umax.h (REGISTER_NAMES): Remove. | |
2217 | (REGISTER_NAME): Define as ns32k_register_name_32082. | |
2218 | ||
a8bc7b56 JB |
2219 | 2002-05-24 Jim Blandy <[email protected]> |
2220 | ||
2221 | * dwarf2read.c (free_line_header): Use xfree, not free. | |
2222 | ||
83a45910 JT |
2223 | 2002-05-24 Jason Thorpe <[email protected]> |
2224 | ||
2225 | * config/djgpp/fnchange.lst: Add alphabsd-nat.c, | |
2226 | alphabsd-tdep.c, mipsnbsd-nat.c, and mipsnbsd-tdep.c | |
2227 | ||
0db71247 AC |
2228 | 2002-05-23 Andrew Cagney <[email protected]> |
2229 | ||
2230 | * PROBLEMS: Mention s390 and FreeBSD 4.4 build problems. | |
2231 | ||
b9e5e4dd AC |
2232 | 2002-05-23 Andrew Cagney <[email protected]> |
2233 | ||
2234 | From Ross Alexander at NEC Europe: | |
2235 | * config/pa/hpux11w.mh (NATDEPFILES): Add solib.o. | |
2236 | ||
de530e84 MS |
2237 | 2002-05-23 Michael Snyder <[email protected]> |
2238 | ||
2239 | * cli/cli-dump.c (restore_command): Use parse_and_eval_long | |
2240 | for input, rather than parse_and_eval_address. | |
2241 | ||
b91b96f4 AC |
2242 | 2002-05-23 Andrew Cagney <[email protected]> |
2243 | ||
2244 | * d10v-tdep.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h". | |
2245 | * Makefile.in (sim_d10v_h): Update definition. | |
2246 | ||
8b279e7a AC |
2247 | 2002-05-24 Andrew Cagney <[email protected]> |
2248 | ||
2249 | * d10v-tdep.c (d10v_gdbarch_init): Revert old code included in | |
2250 | change `2002-05-22 Michael Snyder' below. | |
2251 | (d10v_push_arguments): Ditto. | |
2252 | (d10v_extract_return_value): Ditto. | |
2253 | ||
0a3d0425 JB |
2254 | 2002-05-23 Jim Blandy <[email protected]> |
2255 | ||
2256 | * macrotab.c (check_for_redefinition): Don't complain if the new | |
2257 | definition is the same as the previous one. Take more arguments | |
2258 | to allow the comparison. | |
2259 | (macro_define_object, macro_define_function): Pass more arguments | |
2260 | to check_for_redefinition. | |
2261 | ||
78eac43e MS |
2262 | 2002-05-22 Michael Snyder <[email protected]> |
2263 | ||
2264 | * d10v-tdep.c: Change a few macros to enums for ease of debugging. | |
2265 | (d10v_frame_chain_valid): Add PC_IN_CALL_DUMMY clause. | |
2266 | (d10v_frame_saved_pc): Add PC_IN_CALL_DUMMY clause. | |
2267 | (d10v_frame_chain): Bail immediately if PC_IN_CALL_DUMMY. | |
2268 | Don't bail if return_pc is PC_IN_CALL_DUMMY. | |
2269 | Add a temp variable to save a call (and a memory read). | |
2270 | (d10v_init_extra_frame_info): Get fi->pc from callee's return_pc | |
2271 | if possible (so that PC_IN_CALL_DUMMY will work). | |
2272 | ||
9bc1edb8 CV |
2273 | 2002-05-22 Corinna Vinschen <[email protected]> |
2274 | ||
2275 | * MAINTAINERS: Remove status `OBSOLETE' from v850. | |
2276 | ||
005ef3d2 ML |
2277 | 2002-05-22 Michal Ludvig <[email protected]> |
2278 | ||
2279 | * dwarf2cfi.c (frame_state_for): Added safety check for a valid | |
2280 | fde->cie_ptr. | |
2281 | (dwarf2_build_frame_info): Corrected handling of eh_frame. | |
2282 | (dwarf2_build_frame_info): Add offset to fde->initial_location | |
2283 | so that frames of shared libraries are mapped correctly. | |
6c3eb890 ML |
2284 | (execute_stack_op): Change type of 'result' from ULONGEST to |
2285 | CORE_ADDR. | |
005ef3d2 | 2286 | |
fcf4f891 JT |
2287 | 2002-05-22 Jason Thorpe <[email protected]> |
2288 | ||
2289 | * config/alpha/tm-nbsd.h: Include solib.h. | |
2290 | ||
cfef91e4 JT |
2291 | 2002-05-22 Jason Thorpe <[email protected]> |
2292 | ||
2293 | * alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Don't make | |
2294 | assumptions about the host's byte order. | |
2295 | ||
9964235a JT |
2296 | 2002-05-22 Jason Thorpe <[email protected]> |
2297 | ||
2298 | * Makefile.in (alphanbsd-tdep.o, shnbsd-tdep.o): Add solib-svr4.h | |
2299 | to dependency list. | |
2300 | * alphanbsd-tdep.c: Include solib-svr4.h. | |
2301 | * shnbsd-tdep.c: Ditto. | |
2302 | ||
9eeef8ef JT |
2303 | 2002-05-22 Jason Thorpe <[email protected]> |
2304 | ||
2305 | * Makefile.in (armnbsd-tdep.o): Add solib-svr4.h and | |
2306 | nbsd-tdep.h to dependency list. | |
2307 | * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*, | |
2308 | i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*, | |
2309 | ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use | |
2310 | nbsdaout.mh and nbsdelf.mh consistently. | |
2311 | * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*, | |
2312 | ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use | |
2313 | nbsdaout.mt and nbsdelf.mh consistently. | |
2314 | * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h. | |
2315 | (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets | |
2316 | to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
2317 | * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move | |
2318 | a.out shared library stuff from here... | |
2319 | * config/nm-nbsdaout.h: ...to here. | |
2320 | * config/tm-nbsd.h: Remove. | |
2321 | * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove. | |
2322 | * config/arm/nbsd.mh: Remove. | |
2323 | * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add | |
2324 | nbsd-tdep.o. | |
2325 | * config/arm/nbsdaout.mh: New file. | |
2326 | * config/arm/nbsdelf.mh: New file. | |
2327 | * config/arm/nm-nbsdaout.h: New file. | |
2328 | * config/i386/nbsd.mh: Remove. | |
2329 | * config/i386/nbsd.mt: Remove. | |
2330 | * config/i386/nbsdaout.mh: New file. | |
2331 | * config/i386/nbsdaout.mt: New file. | |
2332 | * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. | |
2333 | * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h. | |
2334 | * config/i386/nm-nbsd.h (REGISTER_U_ADDR, | |
2335 | i386_register_u_addr): Remove. | |
2336 | * config/i386/nm-nbsdaout.h: New file. | |
2337 | * config/i386/nm-nbsdelf.h: Remove. | |
2338 | * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2339 | (USE_STRUCT_CONVENTION): Remove. | |
2340 | * config/i386/tm-nbsdaout.h: New file. | |
2341 | * config/i386/tm-nbsdelf.h: Remove. | |
2342 | * config/m68k/nbsd.mh: Remove. | |
2343 | * config/m68k/nbsd.mt: Remove. | |
2344 | * config/m68k/nbsdaout.mh: New file. | |
2345 | * config/m68k/nbsdaout.mt: New file. | |
2346 | * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h. | |
2347 | * config/m68k/nm-nbsdaout.h: New file. | |
2348 | * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2349 | (IN_SOLIB_CALL_TRAMPOLINE): Define. | |
2350 | * config/ns32k/nbsd.mh: Remove. | |
2351 | * config/ns32k/nbsd.mt: Remove. | |
2352 | * config/ns32k/nbsdaout.mh: New file. | |
2353 | * config/ns32k/nbsdaout.mt: New file. | |
2354 | * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h. | |
2355 | * config/ns32k/nm-nbsdaout.h: New file. | |
2356 | * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2357 | (IN_SOLIB_CALL_TRAMPOLINE): Define. | |
2358 | * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h. | |
2359 | (SVR4_SHARED_LIBS): Remove. | |
2360 | * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h. | |
2361 | * config/sparc/nbsd.mh: Remove. | |
2362 | * config/sparc/nbsd.mt: Remove. | |
2363 | * config/sparc/nbsdaout.mh: New file. | |
2364 | * config/sparc/nbsdaout.mt: New file. | |
2365 | * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. | |
2366 | * config/sparc/nbsdelf.mt: New file. | |
2367 | * config/sparc/nm-nbsdaout.h: New file. | |
2368 | * config/sparc/nm-nbsdelf.h: Remove. | |
2369 | * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h. | |
2370 | * config/sparc/tm-nbsdaout.h: New file. | |
2371 | ||
257ce470 JT |
2372 | 2002-05-21 Jason Thorpe <[email protected]> |
2373 | ||
2374 | * Makefile.in (ALLDEPFILES): Add mipsnbsd-nat.c and | |
2375 | mipsnbsd-tdep.c | |
2376 | (mipsnbsd-nat.o, mipsnbsd-tdep.o): New dependency lists. | |
2377 | ||
76a6d5fe JT |
2378 | 2002-05-21 Jason Thorpe <[email protected]> |
2379 | ||
2380 | * Makefile.in (ALLDEPFILES): Add shnbsd-tdep.c and | |
2381 | shnbsd-nat.c. | |
2382 | (shnbsd-tdep.o, shnbsd-nat.o): New dependency lists. | |
2383 | ||
45888261 JT |
2384 | 2002-05-21 Jason Thorpe <[email protected]> |
2385 | ||
2386 | * NEWS: Note new MIPS NetBSD native configuration. | |
2387 | * configure.host (mips*-*-netbsd*): New host. | |
2388 | * configure.tgt (mips*-*-netbsd*): New target. | |
2389 | * mipsnbsd-nat.c: New file. | |
2390 | * mipsnbsd-tdep.c: New file. | |
2391 | * mipsnbsd-tdep.h: New file. | |
2392 | * config/mips/nbsd.mh: New file. | |
2393 | * config/mips/nbsd.mt: New file. | |
2394 | * config/mips/nm-nbsd.h: New file. | |
2395 | * config/mips/tm-nbsd.h: New file. | |
2396 | ||
70f80edf JT |
2397 | 2002-05-21 Jason Thorpe <[email protected]> |
2398 | ||
2399 | * Makefile.in (SFILES): Add osabi.c. | |
2400 | (COMMON_OBS): Add osabi.o. | |
2401 | (osabi.o): New dependency list. | |
2402 | * osabi.c: New file. | |
2403 | * osabi.h: New file. | |
2404 | * doc/gdbint.texinfo: Document new generic OS ABI framework. | |
2405 | ||
2406 | * Makefile.in (alpha_tdep_h): Define and use instead of | |
2407 | alpha-tdep.h. | |
2408 | * alpha-tdep.c (alpha_abi_names, process_note_abi_tag_sections, | |
2409 | get_elfosabi, alpha_abi_handler_list, alpha_gdbarch_register_os_abi): | |
2410 | Remove. | |
2411 | (alpha_gdbarch_init, alpha_dump_tdep): Use generic OS ABI framework. | |
2412 | * alpha-tdep.h: Include osabi.h. | |
2413 | (alpha_abi): Remove. | |
2414 | (gdbarch_tdep): Use generic OS ABI framework. | |
2415 | * alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Use | |
2416 | gdbarch_register_osabi. | |
2417 | * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise. | |
2418 | * alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise. | |
2419 | * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise. | |
2420 | ||
2421 | * Makefile.in (sh_tdep_h): Add osabi.h. | |
2422 | * sh-tdep.h (sh_osabi): Remove. | |
2423 | (gdbarch_tdep): Use generic OS ABI framework. | |
2424 | * sh-tdep.c (sh_osabi_names, process_note_abi_tag_sections, | |
2425 | sh_osabi_handler_list, sh_gdbarch_register_os_abi): Remove. | |
2426 | (sh_gdbarch_init, sh_dump_tdep): Use generic OS ABI framework. | |
2427 | * shnbsd-tdep.c (_initialize_shnbsd_tdep): Use gdbarch_register_osabi. | |
2428 | ||
2429 | * Makefile.in (arm_tdep_h): Define and use instead of arm-tdep.h. | |
2430 | * arm-linux-tdep.c (_initialize_arm_linux_tdep): Use | |
2431 | gdbarch_register_osabi. | |
2432 | * arm-tdep.c (arm_abi_names, process_note_abi_tag_sections, | |
2433 | arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove. | |
2434 | (get_elfosabi): Rename to... | |
2435 | (arm_elf_osabi_sniffer): ...this. Adjust to use generic OS | |
2436 | ABI framework support routines. | |
2437 | (arm_gdbarch_init): Use generic OS ABI framework. | |
2438 | (arm_dump_tdep): Likewise. | |
2439 | (_initialize_arm_tdep): Likewise. | |
2440 | * arm-tdep.h: Include osabi.h. | |
2441 | (arm_abi): Remove. | |
2442 | (gdbarch_tdep): Remove arm_abi and abi_name members. Add | |
2443 | osabi member. | |
2444 | (arm_gdbarch_register_os_abi): Remove prototype. | |
2445 | * armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function. | |
2446 | (_initialize_arm_netbsd_tdep): Use gdbarch_register_osabi. | |
2447 | ||
2448 | * Makefile.in (mips-tdep.o): Add osabi.h to dependency list. | |
2449 | * mips-tdep.c: Include osabi.h. | |
2450 | (gdbarch_tdep, mips_gdbarch_init, mips_dump_tdep): Use generic | |
2451 | OS ABI framework. | |
2452 | ||
d194345b KH |
2453 | 2002-05-20 Kazu Hirata <[email protected]> |
2454 | ||
2455 | * h8300-tdep.c: Fix formatting. | |
2456 | ||
70c6b0d1 EZ |
2457 | 2002-05-20 Elena Zannoni <[email protected]> |
2458 | ||
2459 | * rs6000-tdep.c (rs6000_do_registers_info): Simplify code for | |
2460 | printing vector registers. | |
2461 | ||
165b8e33 AC |
2462 | 2002-05-19 Andrew Cagney <[email protected]> |
2463 | ||
2464 | From Fernando Nasser: | |
2465 | * remote.c (remote_async_open_1): Re-throw the exception when the | |
2466 | connection fails. | |
2467 | (remote_cisco_open): Ditto. | |
2468 | (remote_open_1): Ditto. | |
2469 | ||
36918e70 AC |
2470 | 2002-05-19 Andrew Cagney <[email protected]> |
2471 | ||
2472 | * remote.c (remote_start_remote_dummy): Add uiout parameter. | |
2473 | (remote_start_remote): Add uiout parameter. Pass through to | |
2474 | remote_start_remote_dummy. | |
2475 | (remote_open_1): Use catch_exception instead of catch_errors. | |
2476 | (remote_async_open_1): Ditto. | |
2477 | (remote_cisco_open): Ditto. | |
2478 | ||
ae44c0c4 AC |
2479 | 2002-05-19 Andrew Cagney <[email protected]> |
2480 | ||
2481 | * remote.c (remote_start_remote): Replace PTR with void pointer. | |
2482 | (sigint_remote_twice_token, sigint_remote_token): Ditto. Make | |
2483 | static. | |
2484 | ||
8efe637d AC |
2485 | 2002-05-18 Andrew Cagney <[email protected]> |
2486 | ||
2487 | * gdb_indent.sh: Allow the script to be run in the sim directory. | |
2488 | ||
2f1b5984 MK |
2489 | 2002-05-18 Mark Kettenis <[email protected]> |
2490 | ||
f0f625e2 MK |
2491 | * config/i386/nm-cygwin.h (NO_PTRACE_H): Remove define. |
2492 | * config/i386/nm-go32.h (NO_PTRACE_H): Remove define. | |
2493 | ||
2f1b5984 MK |
2494 | * corelow.c (core_open): Only call set_gdbarch_from_file if |
2495 | exec_bfd is NULL. | |
2496 | ||
fc974602 AV |
2497 | 2002-05-17 Andrey Volkov <[email protected]> |
2498 | ||
2499 | * h8300-tdep.c: Add support of EXR register | |
2500 | * config/h8300/tm-h8300.h: Ditto. | |
2501 | ||
906709f4 AV |
2502 | 2002-05-17 Andrey Volkov <[email protected]> |
2503 | ||
2504 | * h8300-tdep.c: Add additional CCR flags (I,UI,H,U) | |
2505 | ||
6e591d68 AV |
2506 | 2002-05-17 Andrey Volkov <[email protected]> |
2507 | ||
2508 | * h8300-tdep.c: Change literal regnums to REGNO. | |
2509 | ||
84f0252a JB |
2510 | 2002-05-17 Jim Blandy <[email protected]> |
2511 | ||
e0e9281e JB |
2512 | * NEWS: Note addition of macro support. |
2513 | ||
84f0252a JB |
2514 | Expand preprocessor macros in C expressions. |
2515 | * c-lang.h: #include "macroexp.h", for macro_lookup_ftype. | |
2516 | (scan_macro_expansion, scanning_macro_expansion, | |
2517 | finished_macro_expansion): New function declarations. | |
2518 | (expression_macro_lookup_func, expression_macro_lookup_baton): New | |
2519 | variable declarations. | |
2520 | * parser-defs.h (expression_context_pc): New declaration. | |
2521 | * parse.c (expression_context_pc): New variable. | |
2522 | (parse_exp_1): Set expression_context_pc, as well as | |
2523 | expression_context_block. | |
2524 | * c-exp.y (yylex): If we're not already reading the result of a | |
2525 | macro expansion, try to macro-expand the next token. When we're | |
2526 | done scanning a macro expansion, switch back to the mainline text. | |
2527 | Commas and `if's in a macro's expansion don't terminate the input. | |
2528 | * c-lang.c: #include "macroscope.h" and "gdb_assert.h". | |
2529 | (macro_original_text, macro_expanded_text, | |
2530 | expression_macro_lookup_func, expression_macro_lookup_baton): New | |
2531 | variables. | |
2532 | (scan_macro_expansion, scanning_macro_expansion, | |
2533 | finished_macro_expansion, scan_macro_cleanup, null_macro_lookup, | |
2534 | c_preprocess_and_parse): New functions. | |
2535 | (c_language_defn, cplus_language_defn, asm_language_defn): Call | |
2536 | c_preprocess_and_parse, instead of c_parse. | |
2537 | * Makefile.in (c_lang_h): Note that this #includes macroexp.h. | |
2538 | (c-lang.o): Note dependency on macroscope.h and gdb_assert.h. | |
2539 | ||
1c509ca8 JR |
2540 | Fri May 17 14:26:19 2002 J"orn Rennecke <[email protected]> |
2541 | ||
2542 | * sh-tdep.c (gdb_print_insn_sh64): Delete. | |
2543 | (gdb_print_insn_sh): Just set info->endian and use print_insn_sh. | |
2544 | (sh_gdbarch_init): Always use gdb_print_insn_sh. | |
2545 | ||
2250ee0c CV |
2546 | 2002-05-17 Corinna Vinschen <[email protected]> |
2547 | ||
2548 | * NEWS: Add section for multi-arched targets. Add v850 to that section. | |
2549 | ||
ab3b8126 JT |
2550 | 2002-05-17 Jason Thorpe <[email protected]> |
2551 | ||
2552 | * Makefile.in (sh_tdep_h): Define and use. | |
2553 | * config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep, | |
2554 | register enum): Move to... | |
2555 | * * sh-tdep.h: ...here. | |
2556 | * sh-tdep.c: Include sh-tdep.h. | |
2557 | * sh3-rom.c: Likewise. | |
2558 | * shnbsd-tdep.c: Likewise. | |
2559 | ||
ed9d4749 MS |
2560 | 2002-05-16 Michael Snyder <[email protected]> |
2561 | ||
2562 | * arm-tdep.c: Spelling fix in comment. | |
2563 | ||
2e276125 JB |
2564 | 2002-05-16 Jim Blandy <[email protected]> |
2565 | ||
6821892e JB |
2566 | Add commands for manually expanding macros and showing their |
2567 | definitions. | |
2568 | * macrocmd.c, macroscope.c, macroscope.h: New files. | |
2569 | * Makefile.in (SFILES): Add macrocmd.c, macroscope.c. | |
2570 | (macroscope_h): New variable. | |
2571 | (HFILES_NO_SRCDIR): Add macroscope.h. | |
2572 | (COMMON_OBS): Add macrocmd.o, macroscope.o. | |
2573 | (macroscope.o, macrocmd.o): New rules. | |
2574 | ||
2e276125 JB |
2575 | Teach the Dwarf 2 reader to read macro information. |
2576 | * dwarf2read.c: #include "macrotab.h". | |
2577 | (dwarf_macinfo_buffer): New variable. | |
2578 | (struct dwarf2_pinfo): New members: dwarf_macinfo_buffer, and | |
2579 | dwarf_macinfo_size. | |
2580 | (DWARF_MACINFO_BUFFER, DWARF_MACINFO_SIZE): New macros. | |
2581 | (dwarf2_missing_macinfo_section, dwarf2_macros_too_long, | |
2582 | dwarf2_macros_not_terminated, dwarf2_macro_outside_file, | |
2583 | dwarf2_macro_unmatched_end_file, dwarf2_macro_malformed_definition, | |
2584 | dwarf2_macro_spaces_in_definition): New complaints. | |
2585 | (dwarf2_has_info): Initialize dwarf_macinfo_offset. | |
2586 | (dwarf2_build_psymtabs): Read the .dwarf_macinfo section. | |
2587 | (dwarf2_build_psymtabs_hard): Record the buffer and its size in | |
2588 | the partial symbol table. | |
2589 | (psymtab_to_symtab_1): Set the macinfo buffer and size globals | |
2590 | from what's recorded in the partial symbol table. | |
2591 | (read_file_scope): If the compilation unit has a | |
2592 | `DW_AT_macro_info' attribute, read its macro information. | |
2593 | * Makefile.in (dwarf2read.o): Depend on macrotab.h. | |
2594 | ||
2f53fe6c DJ |
2595 | 2002-05-16 Daniel Jacobowitz <[email protected]> |
2596 | ||
2597 | Fix PR gdb/546 | |
2598 | * ser-tcp.c: Don't include <netinet/udp.h>. | |
2599 | ||
2be99286 SC |
2600 | 2002-05-16 Stephane Carrez <[email protected]> |
2601 | ||
2602 | * MAINTAINERS: Update my email address. | |
2603 | ||
c9af212b | 2604 | 2002-05-16 Richard Earnshaw <[email protected]> |
8501bbeb RE |
2605 | |
2606 | * config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include generic | |
2607 | include file of the same name. | |
2608 | ||
bf5f1a52 CV |
2609 | 2002-05-16 Corinna Vinschen <[email protected]> |
2610 | ||
2611 | * configure.tgt: Mark v850 as multi-arched. | |
2612 | * config/v850/tm-v850.h: Remove file. | |
2613 | * config/v850/v850.mt: Eliminate TM_FILE. | |
2614 | ||
435e042a CV |
2615 | 2002-05-16 Corinna Vinschen <[email protected]> |
2616 | ||
2617 | * v850-tdep.c: Full multi-arch. | |
2618 | * config/v850/tm-v850.h: Eliminate or move to v850-tdep.c everything. | |
2619 | Define GDB_MULTI_ARCH to 2. | |
2620 | ||
9819c6c8 PM |
2621 | 2002-05-16 Pierre Muller <[email protected]> |
2622 | ||
2623 | * p-exp.y (current_type): New static variable. | |
2624 | Carries the type of the expression at the position that is parsed. | |
2625 | (push_current_type, pop_current_type): Two new functions. Used | |
2626 | to store/restore current_type in expression on specific tokens. | |
c9af212b RE |
2627 | (search_field): New static variable. Set to one after parsing a point |
2628 | as at that point only a FIELDNAME token should be searched. | |
9819c6c8 PM |
2629 | (FIELDNAME): New token. After a point only a token belonging to |
2630 | current_type type definition is allowed. | |
2631 | (all over token rules): reset and change current_type according | |
2632 | to rules. | |
2633 | (exp '[' rule): insert implicit array index field if | |
2634 | exp is a pascal string type. | |
2635 | ||
3a06899a CV |
2636 | 2002-05-16 Corinna Vinschen <[email protected]> |
2637 | ||
2638 | * v850-tdep.c: Fix comment for v850_scan_prologue. Remove extra | |
2639 | frame info. Use frame_info's saved_regs instead of matching member | |
2640 | in extra_frame_info throughout. | |
2641 | (v850_frame_init_saved_regs): New function. | |
2642 | (v850_init_extra_frame_info): Move most functionality into | |
2643 | v850_frame_init_saved_regs(). | |
2644 | * config/v850/tm-v850.h (EXTRA_FRAME_INFO): Remove definition. | |
2645 | (v850_frame_find_saved_regs): Remove declaration. | |
2646 | (FRAME_FIND_SAVED_REGS): Remove definition. | |
2647 | (v850_frame_init_saved_regs): Add declaration. | |
2648 | (FRAME_INIT_SAVED_REGS): Add definition. | |
2649 | ||
6ed14b0e CV |
2650 | 2002-05-16 Corinna Vinschen <[email protected]> |
2651 | ||
2652 | * v850-tdep.c: Begin multi-arch'ing v850. | |
2653 | (v850_target_architecture_hook): Remove function. | |
2654 | (v850_gdbarch_init): New function. Add code previously in | |
2655 | v850_target_architecture_hook(). | |
2656 | (_initialize_v850_tdep): Don't set target_architecture_hook. | |
2657 | Call register_gdbarch_init() instead. | |
2658 | ||
42725910 DJ |
2659 | 2002-05-16 Daniel Jacobowitz <[email protected]> |
2660 | ||
2661 | * gdbtypes.h (struct cplus_struct_type): Remove args field. | |
2662 | * hpread.c (hpread_read_struct_type): Remove assignments to args. | |
2663 | (fixup_class_method_type): Likewise. | |
2664 | ||
0bc68c49 DJ |
2665 | 2002-05-15 Daniel Jacobowitz <[email protected]> |
2666 | ||
2667 | From Martin Pool <[email protected]>: | |
2668 | * gdbserver/server.c (gdbserver_usage): New function. | |
2669 | (main): Call it. | |
2670 | ||
99d9066e JB |
2671 | 2002-05-15 Jim Blandy <[email protected]> |
2672 | ||
2673 | Add macro structures to GDB's symbol tables. Nobody puts anything | |
2674 | in them yet. | |
2675 | * symtab.h (struct symtab): New member: `macro_table'. | |
2676 | * buildsym.h (pending_macros): New global variable. | |
2677 | * buildsym.c: #include "macrotab.h". | |
2678 | (buildsym_init): Initialize `pending_macros'. | |
2679 | (end_symtab): If we found macro information while reading a CU's | |
2680 | debugging info, do build a symtab structure for it. Make the | |
2681 | symtab point to the macro information, and clear the | |
2682 | `pending_macros' pointer which held it while we were reading the | |
2683 | debug info. | |
2684 | (really_free_pendings): Free any pending macro table. | |
2685 | * objfiles.h (struct objfile): New member: `macro_cache'. | |
2686 | * objfiles.c (allocate_objfile): Set allocate and free functions | |
2687 | for the macro cache's objstack. | |
2688 | (free_objfile): Empty the macro cache's obstack. | |
2689 | * symfile.c (reread_symbols): Empty the macro cache's obstack, and | |
2690 | set new allocate and free functions for it. | |
2691 | * solib-sunos.c (allocate_rt_common_objfile): Set allocate and | |
2692 | free functions for the macro cache's objstack. (Why is this | |
2693 | function building its own objfile?) | |
2694 | * symmisc.c (print_objfile_statistics): Print statistics on the | |
2695 | macro bcache. | |
2696 | * Makefile.in: Note that buildsym.o depends on macrotab.h. | |
2697 | ||
c899585b RE |
2698 | 2002-05-15 Richard Earnshaw <[email protected]> |
2699 | ||
2700 | * config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h. | |
2701 | (REGISTER_U_ADDR): Delete definition. | |
2702 | (arm_register_u_addr): Delete declaration. | |
2703 | ||
a6cdd8c5 RE |
2704 | 2002-05-15 Richard Earnshaw <[email protected]> |
2705 | ||
2706 | * arm-linux-tdep.c (ARM_LINUX_JB_PC): Renamed from JB_PC. | |
2707 | (ARM_LINUX_JB_ELEMENT_SIZE): Likewise. | |
2708 | ||
fd3a5ca1 DJ |
2709 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
2710 | ||
2711 | * gdbserver/mem-break.c (reinsert_breakpoint_by_bp): Correct typo | |
2712 | stop_at -> stop_pc. | |
2713 | ||
c97dcfc7 AC |
2714 | 2002-05-14 Andrew Cagney <[email protected]> |
2715 | ||
2716 | * regcache.c (register_valid): Revise comments refering to "Not | |
2717 | available" and "unavailable". | |
2718 | * frame.c (frame_register_read): Ditto. | |
2719 | * findvar.c (value_of_register): Ditto. | |
2720 | ||
93021b7d AC |
2721 | 2002-05-15 Andrew Cagney <[email protected]> |
2722 | ||
2723 | * Makefile.in (remote_sim_h): Replace remote-sim_h. | |
2724 | (remote-sim.o): Update dependencies. | |
2725 | (d10v-tdep.o): Specify dependencies. | |
2726 | (sim_d10v_h): Define. | |
2727 | ||
a86bc61c JB |
2728 | 2002-05-14 Jim Blandy <[email protected]> |
2729 | ||
2730 | * macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0. | |
2731 | * macrotab.c (macro_lookup_inclusion, find_definition, | |
2732 | new_macro_table): Same. | |
2733 | ||
2734 | * macroexp.c (currently_rescanning, expand): Use `strcmp () == 0', | |
2735 | not `! strcmp ()'. This is a dubious improvement. | |
2736 | * macrotab.c (macro_lookup_inclusion, find_definition): Same. | |
2737 | ||
2738 | * macrotab.c (macro_lookup_inclusion): Initialize `best_depth', | |
2739 | although it's not necessary, to avoid a warning. | |
2740 | ||
2fdde8f8 DJ |
2741 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
2742 | ||
2743 | * gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE. | |
2744 | (TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use | |
2745 | TYPE_INSTANCE_FLAGS. | |
2746 | (struct main_type): New. | |
2747 | (struct type): Move most members to struct main_type. Change | |
2748 | cv_type and as_type to new type_chain member. Add instance_flags. | |
2749 | (TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros. | |
2750 | (TYPE_CV_TYPE, TYPE_AS_TYPE): Remove. | |
2751 | (finish_cv_type): Remove prototype. | |
2752 | * gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE. | |
2753 | Set TYPE_CHAIN. | |
2754 | (alloc_type_instance): New function. | |
2755 | (smash_type): New function. | |
2756 | (make_pointer_type, make_reference_type, make_function_type) | |
2757 | (smash_to_member_type, smash_to_method_type): Call smash_type. | |
2758 | (make_qualified_type): New function. | |
2759 | (make_type_with_address_space): Call make_qualified_type. | |
2760 | (make_cv_type): Likewise. | |
2761 | (finish_cv_type): Remove unnecessary function. | |
2762 | (replace_type): Update comment. Copy TYPE_MAIN_TYPE. | |
2763 | (recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS; | |
2764 | remove TYPE_CV_TYPE and TYPE_AS_TYPE. | |
2765 | * c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS. | |
2766 | * dwarf2read.c (read_structure_scope): Don't call finish_cv_type. | |
2767 | * hpread.c (hpread_read_struct_type): Likewise. | |
2768 | * stabsread.c (read_struct_type): Likewise. | |
2769 | ||
843fedf4 EZ |
2770 | 2002-05-14 Elena Zannoni <[email protected]> |
2771 | ||
2772 | * configure.tgt: Add a catch all sh* target, for cases like | |
2773 | sh[2,3,4]-elf and sh-hms. | |
2774 | ||
05a6c72c KS |
2775 | 2002-05-14 Keith Seitz <[email protected]> |
2776 | ||
2777 | * event-loop.c (create_file_handler): Don't do anything but | |
2778 | update data when we are given a fd which we are already | |
2779 | monitoring. | |
2780 | ||
5d085aaf ML |
2781 | 2002-05-14 Michal Ludvig <[email protected]> |
2782 | ||
2783 | * dwarf2cfi.c (context_cpy): Copy registers correctly. | |
2784 | (update_context): Use __func__ in warnings. | |
2785 | ||
9db8d71f DJ |
2786 | 2002-05-14 Daniel Jacobowitz <[email protected]> |
2787 | ||
2788 | * ser-tcp.c: Include <netinet/udp.h>. Rename tcp_open | |
2789 | and tcp_close to net_open and net_close. | |
2790 | (net_open): Accept "udp:" and "tcp:" specifications. Connect | |
2791 | using UDP if requested. Don't try to disable Nagle on UDP | |
2792 | sockets. | |
2793 | * remote.c (remote_serial_open): New function. Warn about UDP. | |
2794 | (remote_open_1, remote_async_open_1, remote_cisco_open): Call it. | |
2795 | ||
5dbc6baa EZ |
2796 | 2002-05-13 Elena Zannoni <[email protected]> |
2797 | ||
2798 | * MAINTAINERS: List sh-elf as buildable with ,-Werror. | |
2799 | ||
cc3023f7 EZ |
2800 | 2002-05-13 Elena Zannoni <[email protected]> |
2801 | ||
2802 | * configure.tgt: Remove sh-hms target. | |
2803 | * MAINTAINERS: Don't list sh-hms as a separate target. | |
2804 | ||
ec2bcbe7 JB |
2805 | 2002-05-13 Jim Blandy <[email protected]> |
2806 | ||
2807 | Add first preprocessor macro-expansion files. | |
2808 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
2809 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
2810 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
2811 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
2812 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
2813 | (macroexp.o, macrotab.o): New rules. | |
2814 | ||
6d531722 AC |
2815 | 2002-05-13 Andrew Cagney <[email protected]> |
2816 | ||
2817 | * config/m88k/tm-m88k.h: Update copyright. | |
2818 | (m88k_target_write_pc): Declare | |
2819 | (TARGET_WRITE_PC): Redefine using m88k_target_write_pc. | |
2820 | (M88K_NNPC_REGNUM): Rename NNPC_REGNUM. | |
2821 | (SHIFT_INST_REGS): Update definition. | |
2822 | * m88k-tdep.c (m88k_target_write_pc): New function. Implement | |
2823 | using old definition of TARGET_WRITE_PC. | |
2824 | * regcache.c (generic_target_write_pc): Delete code handling | |
2825 | NNPC_REGNUM. | |
2826 | * gdbarch.sh (NNPC_REGNUM): Delete. | |
2827 | * gdbarch.h, gdbarch.c: Regenerate. | |
2828 | ||
3e3f2739 RE |
2829 | 2002-05-13 Richard Earnshaw <[email protected]> |
2830 | ||
2831 | * builtin-regs.c (value_of_builtin_reg): Correctly calculate the | |
2832 | builtin reg number. | |
2833 | ||
0004e5a2 DJ |
2834 | 2002-05-13 Daniel Jacobowitz <[email protected]> |
2835 | ||
2836 | * ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary) | |
2837 | (gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref) | |
2838 | (gen_address_of, gen_struct_ref, gen_repeat): Use type | |
2839 | access macros. | |
2840 | * c-typeprint.c (cp_type_print_method_args): Likewise. | |
2841 | (c_type_print_args): Likewise. | |
2842 | * d10v-tdep.c (d10v_push_arguments): Likewise. | |
2843 | (d10v_extract_return_value): Likewise. | |
2844 | * expprint.c (print_subexp): Likewise. | |
2845 | * gdbtypes.c (lookup_primitive_typename): Likewise. | |
2846 | (lookup_template_type, add_mangled_type, print_arg_types): Likewise. | |
2847 | * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB) | |
2848 | (TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE) | |
2849 | (TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS) | |
2850 | (TYPE_VECTOR): Likewise. | |
2851 | * hpread.c (hpread_read_struct_type) | |
2852 | (fix_static_member_physnames, fixup_class_method_type) | |
2853 | (hpread_type_lookup): Likewise. | |
2854 | * mdebugread.c (parse_symbol, parse_type): Likewise. | |
2855 | * p-lang.c (is_pascal_string_type): Likewise. | |
2856 | * valops.c (hand_function_call): Likewise. | |
2857 | * x86-64-tdep.c (classify_argument): Likewise. | |
2858 | ||
2859 | * hpread.c (hpread_read_function_type) | |
2860 | (hpread_read_doc_function_type): Call replace_type. | |
2861 | * dstread.c (create_new_type): Delete. | |
2862 | (decode_dst_structure, process_dst_function): Call alloc_type. | |
2863 | Use type access macros. | |
2864 | ||
dff95cc7 MK |
2865 | 2002-05-12 Mark Kettenis <[email protected]> |
2866 | ||
2867 | * i387-tdep.c (i387_supply_fxsave): Skip the SSE registers if | |
2868 | the're not supported by the current architecture. | |
2869 | (i387_fill_fxsave): Likewise. | |
2870 | ||
bbcd32ad FF |
2871 | 2002-05-12 Fred Fish <[email protected]> |
2872 | ||
2873 | * symfile.c (default_symfile_offsets): Arrange for uninitialized | |
2874 | sect_index_xxx members to index the first slot in section_offsets | |
2875 | if all of the section_offsets are zero. | |
2876 | ||
89cf4787 MK |
2877 | 2002-05-12 Mark Kettenis <[email protected]> |
2878 | ||
2879 | * configure.tgt (sparc-*openbsd): Remove entry accidentially | |
2880 | checked in with last change. | |
2881 | ||
1f77ffc5 MK |
2882 | 2002-05-12 Mark Kettenis <[email protected]> |
2883 | ||
2884 | * configure.tgt (i[3456]86-*-unixware*, i[3456]86-*-unixware2*): | |
2885 | Remove targets. These are canonicalized to i386-*-sysv4.2uw by | |
2886 | config.sub. | |
2887 | ||
89b8b4a9 DJ |
2888 | 2002-05-12 Daniel Jacobowitz <[email protected]> |
2889 | ||
2890 | * Makefile.in: Update dependencies. | |
2891 | ||
14a5e767 AC |
2892 | 2002-05-11 Andrew Cagney <[email protected]> |
2893 | ||
2894 | * language.c (local_hex_string_custom): Simplify. Do not depend | |
2895 | on PRINTF_HAS_LONG_LONG or CC_HAS_LONG_LONG. | |
2896 | ||
2897 | * memattr.c (mem_info_command): Replace calls to | |
2898 | longest_local_hex_string and longest_local_hex_string_custom. | |
2899 | * buildsym.c (make_blockvector): Ditto. | |
2900 | * solib.c (info_sharedlibrary_command): Ditto. | |
2901 | * tracepoint.c (tracepoints_info): Ditto. | |
2902 | * symtab.c (print_msymbol_info): Ditto. | |
2903 | ||
2904 | * language.c (local_hex_string): Delete. | |
2905 | (local_hex_string_custom): Delete. | |
2906 | (longest_local_hex_string): Rename to local_hex_string. | |
2907 | (longest_local_hex_string_custom): Rename to | |
2908 | local_hex_string_custom. | |
2909 | * language.h (local_hex_string): Change parameter type to LONGEST. | |
2910 | (local_hex_string_custom): Ditto. | |
2911 | (longest_local_hex_string): Delete declaration. | |
2912 | (longest_local_hex_string_custom): Ditto. | |
2913 | ||
2914 | * solib.c: Update copyright. | |
2915 | * memattr.c: Update copyright. | |
2916 | ||
13d01224 AC |
2917 | 2002-05-11 Andrew Cagney <[email protected]> |
2918 | ||
2919 | * arch-utils.h (legacy_register_to_value): Declare. | |
2920 | (legacy_value_to_register): Declare. | |
2921 | (legacy_convert_register_p): Declare. | |
2922 | * arch-utils.c (legacy_register_to_value): New function. | |
2923 | (legacy_value_to_register): New function. | |
2924 | (legacy_convert_register_p): New function. | |
2925 | ||
2926 | * gdbarch.sh (REGISTER_TO_VALUE): Define. | |
2927 | (VALUE_TO_REGISTER): Define. | |
2928 | (CONVERT_REGISTER_P): Define. | |
2929 | * gdbarch.h, gdbarch.c: Regenerate. | |
2930 | ||
2931 | * valops.c (value_assign): Use CONVERT_REGISTER_P and | |
2932 | VALUE_TO_REGISTER. | |
2933 | * findvar.c (value_from_register): Use REGISTER_TO_VALUE and | |
2934 | CONVERT_REGISTER_P. | |
2935 | ||
4a1970e4 DJ |
2936 | 2005-05-11 Daniel Jacobowitz <[email protected]> |
2937 | Peter Schauer <[email protected]> | |
2938 | ||
2939 | * Makefile.in: Update dependencies for valops.c. | |
2940 | * valops.c: Include "gdb_assert.h". | |
2941 | (typecmp): Skip THIS parameter to methods. | |
2942 | (find_method_list): Remove static_memfuncp argument, | |
2943 | update callers. Check for stub methods. | |
2944 | (find_value_oload_method_list): Don't set *static_memfuncp. | |
2945 | (find_overload_match): Don't check for stub methods. Assert | |
2946 | that methods are not stubbed. Handle static methods. | |
2947 | (value_find_oload_method_list): Remove static_memfuncp argument. | |
2948 | * gdbtypes.c (check_stub_method): Do not add THIS pointer | |
2949 | to the argument list for static stub methods. | |
2950 | * value.h (value_find_oload_method_list): Update prototype. | |
2951 | ||
b2e75d78 AC |
2952 | 2002-05-11 Andrew Cagney <[email protected]> |
2953 | ||
2954 | * arch-utils.h (generic_register_size): Declare. | |
2955 | (generic_register_raw_size, generic_register_virtual_size): Delete | |
2956 | declarations. | |
2957 | * arch-utils.c (generic_register_raw_size): Delete. | |
2958 | (generic_register_size): New function. | |
2959 | (generic_register_virtual_size): Delete. | |
2960 | ||
2961 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make | |
2962 | default generic_register_size. | |
2963 | * gdbarch.h, gdbarch.c: Re-generate. | |
2964 | ||
2965 | * d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for | |
2966 | register_virtual_size. | |
2967 | * x86-64-tdep.c (x86_64_gdbarch_init): Ditto. | |
2968 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. | |
2969 | ||
451fbdda AC |
2970 | 2002-05-11 Andrew Cagney <[email protected]> |
2971 | ||
2972 | * gdbarch.sh (gdbarch_data): Add gdbarch parameter. | |
2973 | * gdbarch.h, gdbarch.c: Regenerate. | |
2974 | * gnu-v3-abi.c: Update copyright. | |
2975 | (vtable_address_point_offset): Update. | |
2976 | (gnuv3_rtti_type): Update. | |
2977 | (gnuv3_baseclass_offset): Update. | |
2978 | * solib-svr4.c (svr4_fetch_link_map_offsets): Update. | |
2979 | (init_fetch_link_map_offsets): Update. | |
2980 | * remote.c (get_remote_state): Update. | |
2981 | ||
6d2f5cea DJ |
2982 | 2002-05-11 Daniel Jacobowitz <[email protected]> |
2983 | ||
2984 | * TODO: Remove value_headof/value_from_vtable_info comment. | |
2985 | * printcmd.c (print_command_1): Don't call value_from_vtable_info. | |
2986 | * values.c (value_headof, value_from_vtable_info): Delete. | |
2987 | * value.h (value_from_vtable_info): Delete prototype. | |
2988 | ||
d2324da4 AC |
2989 | 2002-05-11 Andrew Cagney <[email protected]> |
2990 | ||
2991 | * Makefile.in: Replace gdb_assert.h with $(gdb_assert_h), | |
2992 | gdb_string.h with $(gdb_string_h) and gdb_regex.h with | |
2993 | $(gdb_regex_h). | |
2994 | (gdb_assert_h): Define. | |
2995 | (gdb_wait_h): Define. | |
2996 | (gdb_regex_h): Define. | |
2997 | ||
5c717440 DJ |
2998 | 2002-05-11 Daniel Jacobowitz <[email protected]> |
2999 | ||
3000 | From Peter Schauer <[email protected]>: | |
3001 | * linespec.c (find_methods): Handle GCC 3.x template constructors. | |
3002 | ||
6c7861b3 JT |
3003 | 2002-05-11 Jason Thorpe <[email protected]> |
3004 | ||
3005 | * nbsd-tdep.c: Fix comment. | |
3006 | ||
ea5bc2a6 JT |
3007 | 2002-05-11 Jason Thorpe <[email protected]> |
3008 | ||
3009 | * Makefile.in (ALLDEPFILES): Add nbsd-tdep.c. | |
3010 | (alphanbsd-tdep.o): Add nbsd-tdep.h to dependency list. | |
3011 | (nbsd-tdep.o): New dependency list. | |
3012 | * alphanbsd-tdep.c: Don't include solib-svr4.h. Include | |
3013 | nbsd-tdep.h. | |
3014 | (alphanbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
3015 | (alphanbsd_init_abi): Use nbsd_lp64_solib_svr4_fetch_link_map_offsets. | |
3016 | * nbsd-tdep.c: New file. | |
3017 | * nbsd-tdep.h: New file. | |
3018 | * shnbsd-tdep.c: Don't include solib-svr4.h. Include | |
3019 | nbsd-tdep.h. | |
3020 | (shnbsd_solib_svr4_fetch_link_map_offsets): Remove. | |
3021 | (shnbsd_init_abi): Use nbsd_ilp32_solib_svr4_fetch_link_map_offsets. | |
3022 | * config/alpha/nbsd.mt (TDEPFILES): Add nbsd-tdep.o. | |
3023 | * config/sh/nbsd.mt (TDEPFILES): Ditto. | |
3024 | ||
b28da865 JT |
3025 | 2002-05-11 Jason Thorpe <[email protected]> |
3026 | ||
3027 | * config/alpha/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
3028 | * config/alpha/nbsd.mt (TDEPFILES): Add corelow.o. | |
3029 | * config/i386/nbsd.mh (NATDEPFILES): Remove corelow.o. | |
3030 | * config/i386/nbsd.mt (TDEPFILES): Add corelow.o. | |
3031 | * config/i386/nbsdelf.mh (NATDEPFILES): Remove corelow.o. | |
3032 | * config/i386/nbsdelf.mt (TDEPFILES): Add corelow.o. | |
3033 | ||
4b8ff1fa JT |
3034 | 2002-05-11 Jason Thorpe <[email protected]> |
3035 | ||
3036 | * config/i386/nbsd.mh (NATDEPFILES): Use line continuations. | |
3037 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
3038 | * config/m68k/nbsd.mh (NATDEPFILES): Likewise. | |
3039 | * config/ns32k/nbsd.mh (NATDEPFILES): Likewise. | |
3040 | * config/powerpc/nbsd.mh (NATDEPFILES): Likewise. | |
3041 | * config/sparc/nbsd.mh (NATDEPFILES): Likewise. | |
3042 | * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise. | |
3043 | ||
dfe6eb1f JT |
3044 | 2002-05-11 Jason Thorpe <[email protected]> |
3045 | ||
3046 | * i386nbsd-nat.c: Delete file. Move fetch_core_registers and | |
3047 | fetch_elfcore_registers to... | |
3048 | * i386nbsd-tdep.c: ...here. | |
3049 | (i386nbsd_use_struct_convention): Rename to... | |
3050 | (i386nbsd_aout_use_struct_convention): ...this. | |
3051 | (i386nbsd_supply_reg): New function. | |
3052 | (i386nbsd_fill_reg): New function. | |
3053 | (fetch_core_registers): Use i386nbsd_supply_reg. | |
3054 | (fetch_elfcore_registers): Likewise. | |
3055 | (_initialize_i386nbsd_tdep): New function. | |
3056 | * config/i386/nbsd.mh (NATDEPFILES): Remove i386nbsd-nat.o. | |
3057 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
3058 | * config/i386/nbsdelf.mt (TDEPFILES): Add i386nbsd-tdep.o. | |
3059 | * config/i386/tm-nbsd.h (i386nbsd_use_struct_convention): Rename to... | |
3060 | (i386nbsd_aout_use_struct_convention): ...this. | |
3061 | ||
20cb8cda JT |
3062 | 2002-05-11 Jason Thorpe <[email protected]> |
3063 | ||
3064 | * shnbsd-nat.c (fetch_inferior_registers): Use shnbsd_supply_reg. | |
3065 | (store_inferior_registers): Use shnbsd_fill_reg. | |
3066 | * shnbsd-tdep.c (sh_nbsd_supply_registers, | |
3067 | sh_nbsd_supply_register): Collapse into... | |
3068 | (shnbsd_supply_reg): ...this. | |
3069 | (sh_nbsd_fill_registers, sh_nbsd_fill_register): Collapse into... | |
3070 | (shnbsd_fill_reg): ...this. | |
3071 | (sh_nbsd_solib_svr4_fetch_link_map_offsets): Rename to... | |
3072 | (shnbsd_solib_svr4_fetch_link_map_offsets): ...this. | |
3073 | (fetch_core_registers): Use shnbsd_supply_reg. | |
3074 | (fetch_elfcore_registers): Use shnbsd_supply_reg. | |
3075 | (sh_nbsd_core_fns): Rename to... | |
3076 | (shnbsd_core_fns): ...this. | |
3077 | (sh_nbsd_elfcore_fns): Rename to... | |
3078 | (shnbsd_elfcore_fns): ...this. | |
3079 | (sh_nbsd_init_abi): Rename to... | |
3080 | (shnbsd_init_abi): ...this. | |
3081 | (_initialize_sh_nbsd_tdep): Rename to... | |
3082 | (_initialize_shnbsd_tdep): ...this. | |
3083 | * shnbsd-tdep.h (sh_nbsd_supply_registers, | |
3084 | sh_nbsd_supply_register, sh_nbsd_fill_registers, | |
3085 | sh_nbsd_fill_register): Remove prototypes. | |
3086 | (shnbsd_supply_reg, shnbsd_fill_reg): Add prototypes. | |
3087 | ||
e750d25e JT |
3088 | 2002-05-11 Jason Thorpe <[email protected]> |
3089 | ||
3090 | * Makefile.in (ALLDEPFILES): Remove i387-nat.c. | |
3091 | (i387-nat.o): Delete dependency list. | |
3092 | (go32-nat.o): Change i387-nat.h to i387-tdep.h. | |
3093 | (x86-64-linux-nat.o): Likewise. | |
3094 | * i387-nat.c: Delete file, moving contents to... | |
3095 | * i387-tdep.c: ...here. | |
3096 | * i387-nat.h: Rename... | |
3097 | * i387-tdep.h: ...to this. | |
3098 | * go32-nat.c: Include i387-tdep.h instead of i387-nat.h. | |
3099 | * i386-linux-nat.c: Likewise. | |
3100 | * i386bsd-nat.c: Likewise. | |
3101 | * i386gnu-nat.c: Likewise. | |
3102 | * i386nbsd-nat.c: Likewise. | |
3103 | * i386v4-nat.c: Likewise. | |
3104 | * x86-64-linux-nat.c: Likewise. | |
3105 | * config/i386/fbsd.mh (NATDEPFILES): Remove i387-nat.o. | |
3106 | * config/i386/go32.mh (NATDEPFILES): Likewise. | |
3107 | * config/i386/i386gnu.mh (NATDEPFILES): Likewise. | |
3108 | * config/i386/i386sol2.mh (NATDEPFILES): Likewise. | |
3109 | * config/i386/i386v42mp.mh (NATDEPFILES): Likewise. | |
3110 | * config/i386/linux.mh (NATDEPFILES): Likewise. | |
3111 | * config/i386/nbsd.mh (NATDEPFILES): Likewise. | |
3112 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
3113 | * config/i386/obsd.mh (NATDEPFILES): Likewise. | |
3114 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. | |
3115 | ||
1aee598a JT |
3116 | 2002-05-11 Jason Thorpe <[email protected]> |
3117 | ||
3118 | * Makefile.in (ALLDEPFILES): Remove alphanbsd-nat.c. | |
3119 | (alphanbsd-nat.o): Remove dependency list. | |
3120 | (alphanbsd-tdep.o): Add $(regcache_h) to dependency list. | |
3121 | * alphanbsd-nat.c: Delete. Contents moved to... | |
3122 | * alphanbsd-tdep.c: ...here. | |
3123 | (_initialize_alphanbsd_tdep): Register core functions. | |
3124 | * config/alpha/nbsd.mh (NATDEPFILES): Remove alphanbsd-nat.o. | |
3125 | ||
12bcb0fe JT |
3126 | 2002-05-11 Jason Thorpe <[email protected]> |
3127 | ||
3128 | * Makefile.in (ALLDEPFILES): Add alphabsd-tdep.c. | |
3129 | (alphabsd-nat.o): Depend on alphabsd-tdep.h. | |
3130 | (alphanbsd-nat.o): Likewise. | |
3131 | (alphabsd-tdep.o): New dependency list. | |
3132 | * alphabsd-nat.c (supply_gregset): Use alphabsd_supply_reg. | |
3133 | (fill_gregset): Use alphabsd_fill_reg. | |
3134 | (supply_fpregset): Use alphabsd_supply_fpreg. | |
3135 | (fill_fpregset): Use alphabsd_fill_fpreg. | |
3136 | (fetch_inferior_registers): Use struct reg and struct fpreg | |
3137 | rather than gregset_t and fpregset_t. Use alphabsd_supply_reg | |
3138 | and alphabsd_supply_fpreg. | |
3139 | (store_inferior_registers): Use struct reg and struct fpreg | |
3140 | rather than gregset_t and fpregset_t. Use alphabsd_fill_reg | |
3141 | and alphabsd_fill_fpreg. | |
3142 | * alphabsd-tdep.c: New file. | |
3143 | * alphabsd-tdep.h: New file. | |
3144 | * alphanbsd-nat.c (fetch_core_registers): Use alphabsd_supply_fpreg. | |
3145 | (fetch_elfcore_registers): Use alphabsd_supply_reg and | |
3146 | alphabsd_supply_fpreg. | |
3147 | * config/alpha/fbsd.mt (TDEPFILES): Add alphabsd-tdep.o. | |
3148 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. | |
3149 | ||
361d1df0 EC |
3150 | 2002-05-11 Eric Christopher <[email protected]> |
3151 | ||
3152 | * mips-tdep.c (mips_double_register_type): Fix thinko. | |
3153 | (mips_single_register_type): Ditto. | |
3154 | * MAINTAINERS: Add self. | |
3155 | ||
92dd7cee MK |
3156 | 2002-05-11 Mark Kettenis <[email protected]> |
3157 | ||
3158 | * i387-nat.c (i387_supply_register, i387_fill_fsave, | |
3159 | i387_supply_fxsave, i387_fill_fxsave): Rewrite in order to do the | |
3160 | right thing on architectures with different endianness and/or | |
3161 | integer sizes. | |
3162 | ||
e27da16d JT |
3163 | 2002-05-10 Jason Thorpe <[email protected]> |
3164 | ||
3165 | From Christian Limpach <[email protected]> | |
3166 | * configure.in: Change sed expression which comments out | |
3167 | NATDEPFILES to also comment out continuation lines. | |
3168 | * configure: Regenerate. | |
3169 | ||
ddde02bd EZ |
3170 | 2002-05-10 Elena Zannoni <[email protected]> |
3171 | ||
3172 | * sh-tdep.c: Clean up code erroneously reintroduced by previous | |
3173 | big patch. | |
3174 | ||
1c922164 EZ |
3175 | 2002-05-10 Elena Zannoni <[email protected]> |
3176 | ||
3177 | * sh-tdep.c: Include correct file. | |
3178 | ||
283150cd EZ |
3179 | 2002-05-10 Elena Zannoni <[email protected]> |
3180 | ||
3181 | New support for sh64-elf (sh5) target. | |
3182 | ||
3183 | * configure.tgt: For sh64-elf target, default to sh-elf. | |
3184 | ||
3185 | * config/sh/tm-sh.h (enum sh-abi): Possible ABI's. | |
3186 | (struct gdbarch_tdep): Add new fields for new registers and ABI | |
3187 | info. | |
361d1df0 | 3188 | |
283150cd EZ |
3189 | * sh-tdep.c: Include elf-bfd.h, elf/sh.h, gdb/sim-sh.h. |
3190 | (NUM_PSEUDO_REGS_SH_MEDIA, NUM_PSEUDO_REGS_SH_COMPACT, | |
3191 | MSYMBOL_IS_SPECIAL, IS_ISA32_ADDR, MAKE_ISA32_ADDR, | |
3192 | UNMAKE_ISA32_ADDR, IS_PTABSL_R18, IS_STS_R0, IS_STS_PR, | |
3193 | IS_MOV_TO_R15, IS_MOV_R14, IS_STQ_R18_R14, IS_STQ_R18_R15, | |
3194 | IS_STL_R18_R15, IS_STQ_R14_R15, IS_STL_R14_R15, IS_ADDIL_SP_MEDIA, | |
3195 | IS_ADDI_SP_MEDIA, IS_ADDL_SP_FP_MEDIA, IS_ADD_SP_FP_MEDIA, | |
3196 | IS_MOV_SP_FP_MEDIA, IS_MOV_R0, IS_MOVL_R0, IS_ADD_SP_R0, | |
3197 | IS_MOV_R14_R0, IS_MEDIA_IND_ARG_MOV, IS_MEDIA_ARG_MOV, | |
3198 | IS_MEDIA_MOV_TO_R14, IS_COMPACT_IND_ARG_MOV, IS_COMPACT_ARG_MOV, | |
3199 | IS_COMPACT_MOV_TO_R14, IS_JSR_R0, IS_NOP): New macros. | |
3200 | (sh_sh64_register_name, sh64_elf_make_msymbol_special, | |
3201 | pc_is_isa32, sh_sh64_breakpoint_from_pc, look_for_args_moves, | |
3202 | sh64_skip_prologue_hard_way, sh64_use_struct_convention, | |
3203 | gdb_print_insn_sh64, translate_insn_rn, sh64_frame_chain, | |
3204 | sh64_get_saved_pr, fpp_reg_base_num, is_media_pseudo, | |
3205 | sh64_get_gdb_regnum, sh64_media_reg_base_num, | |
3206 | sh64_compact_reg_base_num, translate_rn_to_arch_reg_num, | |
3207 | sign_extend, sh64_nofp_frame_init_saved_regs, | |
3208 | sh64_init_extra_frame_info, sh64_get_saved_register, | |
3209 | sh64_extract_struct_value_address, sh64_pop_frame, | |
3210 | sh64_push_arguments, sh64_extract_return_value, | |
3211 | sh64_store_return_value, sh64_show_media_regs, | |
3212 | sh64_show_compact_regs, sh64_show_regs, sh_sh64_register_byte, | |
3213 | sh_sh64_register_raw_size, sh_sh64_register_virtual_size, | |
3214 | sh_sh64_register_virtual_type, | |
3215 | sh_sh64_register_convert_to_virtual, | |
3216 | sh_sh64_register_convert_to_raw, sh64_pseudo_register_read, | |
3217 | sh64_register_read, sh64_pseudo_register_write, | |
3218 | sh64_register_write, do_fv_c_register_info, do_dr_c_register_info, | |
3219 | do_r_c_register_info, do_fpp_register_info, do_cr_c_register_info, | |
3220 | sh64_do_pseudo_register, sh_compact_do_registers_info, | |
3221 | sh64_do_registers_info, sh_gdbarch_init): New functions. | |
3222 | ||
3117ed25 EZ |
3223 | 2002-05-10 Elena Zannoni <[email protected]> |
3224 | ||
3225 | * sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type. | |
3226 | ||
2654e6d4 DJ |
3227 | 2002-05-10 Daniel Jacobowitz <[email protected]> |
3228 | ||
3229 | * linespec.c (decode_line_1): Check for a double quote after | |
3230 | a filename correctly. | |
3231 | ||
9ab3e532 JB |
3232 | 2002-05-10 Jim Blandy <[email protected]> |
3233 | ||
3234 | Properly track the size of the current objfile's .debug_line section. | |
3235 | * dwarf2read.c (struct dwarf2_pinfo): New member: dwarf_line_size. | |
3236 | (DWARF_LINE_SIZE): New macro. | |
3237 | (dwarf2_build_psymtabs_hard): Record the line section's size in | |
3238 | the partial symbol table. | |
3239 | (psymtab_to_symtab_1): Restore dwarf_line_size from the partial | |
3240 | symbol table. | |
3241 | ||
126fa72d PS |
3242 | 2002-05-10 Petr Sorfa <[email protected]> |
3243 | ||
3244 | * ia64-tdep.c: Handle breakpoints on L instruction type | |
3245 | in MLX instruction bundle by moving the breakpoint to | |
3246 | the third slot (X instruction type) as L holds only data. | |
3247 | ||
1f077a3e KB |
3248 | 2002-05-10 Kevin Buettner <[email protected]> |
3249 | ||
3250 | * dbxread.c (discarding_local_symbols_complaint): New complaint. | |
3251 | (process_one_symbol): Complain about discarding local symbols | |
3252 | due to a misplaced N_LBRAC entry. | |
3253 | ||
8120c9d5 | 3254 | 2002-05-09 Elena Zannoni <[email protected]> |
361d1df0 EC |
3255 | |
3256 | From Daniel Berlin <[email protected]> | |
8120c9d5 EZ |
3257 | * linespec.c (find_toplevel_char): '<' and '>' also increase and |
3258 | decrease the depth we are at, in the case of templates. | |
361d1df0 | 3259 | |
67b2c998 DJ |
3260 | 2002-05-09 Daniel Jacobowitz <[email protected]> |
3261 | ||
3262 | * mips-tdep.c (mips_float_register_type): New function. | |
3263 | (mips_double_register_type): New function. | |
3264 | (mips_print_register): Use them. | |
3265 | (do_fp_register_row): Likewise. | |
3266 | ||
fd326606 DJ |
3267 | 2002-05-09 Daniel Jacobowitz <[email protected]> |
3268 | ||
6609d9af | 3269 | * signals/signals.c (signals): Remove conditional compilation around |
fd326606 | 3270 | Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT. |
6609d9af | 3271 | (target_signal_from_name): Loop until TARGET_SIGNAL_LAST. |
fd326606 | 3272 | |
bef35864 MS |
3273 | 2002-05-09 Michael Snyder <[email protected]> |
3274 | ||
3275 | * remote-rdp.c (remote_rdp_can_run): Remove. | |
3276 | ||
c55a3f73 TT |
3277 | 2002-05-09 Tom Tromey <[email protected]> |
3278 | ||
3279 | * jv-valprint.c (java_val_print): Handle `char' as a special case | |
3280 | of TYPE_CODE_INT. | |
3281 | ||
b8d5e71d MS |
3282 | 2002-05-09 Michael Snyder <[email protected]> |
3283 | ||
3284 | * arm-tdep.c (arm_scan_prologue): Accept strb r(0123),[r11,#-nn], | |
3285 | strh r(0123),[r11,#-nn], str r(0123),[r11,#-nn], as well as | |
361d1df0 | 3286 | strb r(0123),[sp,#nn], strh r(0123),[sp,#nn] and |
b8d5e71d | 3287 | str r(0123),[sp,#nn]. |
361d1df0 | 3288 | (arm_skip_prologue): Ditto. Also make disassembly |
b8d5e71d MS |
3289 | order-independent by placing it in a loop. |
3290 | ||
e2cd42dd MS |
3291 | 2002-05-06 Michael Snyder <[email protected]> |
3292 | ||
3293 | * stabsread.c (read_type): Add recognition for new attribute: | |
3294 | "@V;" means that an array type is actually a vector. | |
3295 | This is analogous to the vector flag that's been added to dwarf2. | |
3296 | ||
3ce1502b MK |
3297 | 2002-05-09 Mark Kettenis <[email protected]> |
3298 | ||
3299 | * i386-tdep.h (i386_abi): New enum. | |
3300 | (struct gdbarch_tdep): Replace os_ident member with abi. | |
3301 | (i386_gdbarch_register_os_abi): New prototype. | |
3302 | * i386-tdep.c (i386_abi_names): New array. | |
3303 | (process_note_abi_tag_sections): Removed. | |
3304 | (process_note_sections): New function. | |
3305 | (i386_elf_abi_from_note, i386_elf_abi): New functions. | |
3306 | (struct i386_abi_handler): New struct. | |
3307 | (i386_abi_handler_list): New variable. | |
3308 | (i386_gdbarch_register_os_abi): New function. | |
3309 | (i386_gdbarch_init): Adapt for the changes given above. | |
3310 | ||
084c156a DJ |
3311 | 2002-05-08 Daniel Jacobowitz <[email protected]> |
3312 | ||
3313 | * gregset.h: Say "GNU/Linux". | |
3314 | ||
6599f021 EZ |
3315 | 2002-05-08 Elena Zannoni <[email protected]> |
3316 | ||
3317 | * gdbtypes.c : Add new builtin type for 64 bit vectors. | |
3318 | (build_gdbtypes): Build builtin_type_v2_float. | |
3319 | (_initialize_gdbtypes): Register new builtin type. | |
3320 | ||
40af4b0c AC |
3321 | 2002-05-08 Andrew Cagney <[email protected]> |
3322 | ||
3323 | * gdbarch.sh (init_gdbarch_swap): Do not clear the swap section. | |
3324 | (clear_gdbarch_swap): New function. | |
3325 | (initialize_non_multiarch): Call. | |
3326 | (gdbarch_update_p): Before calling init(), swap out and clear the | |
3327 | existing architecture. | |
3328 | * gdbarch.c: Regenerate. | |
3329 | ||
4fe84f46 JT |
3330 | 2002-05-08 Jason Thorpe <[email protected]> |
3331 | ||
3332 | * config/djgpp/fnchange.lst: Add alphanbsd-nat.c and | |
3333 | alphanbsd-tdep.c. | |
3334 | ||
4015edd1 JT |
3335 | 2002-05-08 Jason Thorpe <[email protected]> |
3336 | ||
3337 | * sh-nbsd-nat.c: Rename to... | |
3338 | * shnbsd-nat.c: ...this. | |
3339 | * sh-nbsd-tdep.c: Rename to... | |
3340 | * shnbsd-tdep.c: ...this. | |
3341 | * sh-nbsd-tdep.h: Rename to... | |
3342 | * shnbsd-tdep.h: ...this. | |
3343 | * config/sh/nbsd.mh: Use shnbsd-nat.o. | |
3344 | * config/sh/nbsd.mt: Use shnbsd-tdep.o. | |
3345 | ||
0e2bd219 RE |
3346 | 2002-05-08 Richard Earnshaw <[email protected]> |
3347 | ||
3348 | * remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string | |
3349 | concatenation for command help messages. | |
3350 | ||
13a38d45 JT |
3351 | 2002-05-08 Jason Thorpe <[email protected]> |
3352 | ||
3353 | * NEWS: Note new sh*-*-netbsdelf* configuration. | |
3354 | * configure.host: Set gdb_host_cpu to sh for all sh*. | |
3355 | (sh*-*-netbsdelf*): New host. | |
3356 | * configure.tgt: Set gdb_target_cpu to sh for all sh*. | |
3357 | (sh*-*-netbsdelf*): New target. | |
3358 | * sh-nbsd-nat.c: New file. | |
3359 | * sh-nbsd-tdep.c: New file. | |
3360 | * sh-nbsd-tdep.h: New file. | |
3361 | * config/sh/nbsd.mh: New file. | |
3362 | * config/sh/nbsd.mt: New file. | |
3363 | * config/sh/nm-nbsd.h: New file. | |
3364 | * config/sh/tm-nbsd.h: New file. | |
3365 | ||
d658f924 JT |
3366 | 2002-05-08 Jason Thorpe <[email protected]> |
3367 | ||
3368 | * sh-tdep.c (sh_osabi_names): Declare. | |
3369 | (process_note_abi_tag_sections): New function. | |
3370 | (get_elfosabi): Ditto. | |
3371 | (sh_gdbarch_register_os_abi): Ditto. | |
3372 | (sh_dump_tdep): Ditto. | |
3373 | _initialize_sh_tdep): Use gdbarch_register to register | |
3374 | sh_gdbarch_init and sh_dump_tdep. | |
3375 | * config/sh/tm-sh.h (sh_osabi): Declare. | |
3376 | (gdbarch_tdep): Add sh_osabi and osabi_name members. | |
3377 | ||
848cfffb AC |
3378 | 2002-05-07 Andrew Cagney <[email protected]> |
3379 | ||
3380 | * arm-tdep.c (arm_skip_prologue): Handle generic dummy frames. | |
3381 | (thumb_scan_prologue): Ditto. | |
3382 | (arm_find_callers_reg): Ditto. | |
3383 | (arm_frame_chain): Ditto. | |
3384 | (arm_init_extra_frame_info): Ditto. | |
3385 | (arm_frame_saved_pc): Ditto. | |
3386 | (arm_pop_frame): Ditto. | |
3387 | (arm_push_return_address): New function. | |
3388 | (arm_gdbarch_init): Initialize use_generic_dummy_frames, | |
3389 | call_dummy_location, call_dummy_breakpoint_offset_p, | |
3390 | call_dummy_breakpoint_offset, call_dummy_p, | |
3391 | call_dummy_stack_adjust_p, call_dummy_words, | |
3392 | sizeof_call_dummy_words, call_dummy_start_offset, | |
3393 | call_dummy_length, fix_call_dummy, pc_in_call_dummy, | |
3394 | call_dummy_address, push_return_address and push_dummy_frame for | |
3395 | generic dummy frames. | |
3396 | ||
e7d717c0 JT |
3397 | 2002-05-07 Jason Thorpe <[email protected]> |
3398 | ||
3399 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Fix error in | |
3400 | size computation for alloca. | |
3401 | (sh_fp_frame_init_saved_regs): Likewise. | |
3402 | ||
7bbcf283 RE |
3403 | 2002-05-07 Richard Earnshaw <[email protected]> |
3404 | ||
3405 | * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define. | |
3406 | (ARM_MAX_REGISTER_VIRTUAL_SIZE): Define. | |
361d1df0 | 3407 | * arm-tdep.c (arm_store_return_value): Use them. |
7bbcf283 RE |
3408 | Use FP_REGISTER_RAW_SIZE when setting the FPA return value. |
3409 | * remote-rdp.c (remote_rdp_fetch_register): Use | |
3410 | ARM_MAX_REGISTER_RAW_SIZE. | |
3411 | (remote_rdp_store_register): Likewise. | |
3412 | ||
4657573b ML |
3413 | 2002-05-07 Michal Ludvig <[email protected]> |
3414 | ||
361d1df0 | 3415 | * dwarf2cfi.c: Code cleanup, removed unused variables, |
4657573b ML |
3416 | added default labels to switch {} statements. |
3417 | * x86-64-tdep.c: Ditto. | |
3418 | * x86-64-linux-nat.c: Ditto. | |
3419 | ||
010f3b2f JT |
3420 | 2002-05-07 Jason Thorpe <[email protected]> |
3421 | ||
3422 | * solib.h: Protect against multiple inclusion. | |
3423 | ||
debd256d JB |
3424 | 2002-05-06 Jim Blandy <[email protected]> |
3425 | ||
9ab3e532 JB |
3426 | Add first preprocessor macro-expansion files. |
3427 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. | |
3428 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. | |
3429 | (splay_tree_h, macroexp_h, macrotab_h): New variable. | |
3430 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. | |
3431 | (COMMON_OBS): Add macrotab.o, macroexp.o. | |
3432 | (macroexp.o, macrotab.o): New rules. | |
3433 | ||
debd256d JB |
3434 | Separate the job of reading the line number info statement program |
3435 | header (...expialidocious) out into its own function. | |
3436 | * dwarf2read.c (struct line_head, struct filenames, struct | |
3437 | directories): Replace with... | |
3438 | (struct line_header): New structure, containing the full | |
3439 | contents of the statement program header, including the | |
3440 | include directory and file name tables. | |
3441 | (read_file_scope): If we have line number info, instead of just | |
3442 | calling dwarf_decode_lines to do all the work, call | |
3443 | dwarf_decode_line_header first to get a `struct line_header' | |
3444 | containing the data in the statement program header, and then | |
3445 | pass that to dwarf_decode_lines, which will pick up where that | |
3446 | left off. Be sure to clean up the `struct line_header' object. | |
3447 | (dwarf_decode_line_header, free_line_header, add_include_dir, | |
3448 | add_file_name): New functions. | |
3449 | (dwarf_decode_lines): Move all the code to read the statement | |
3450 | program header into dwarf_decode_line_header. Take the line | |
3451 | header it built as the first argument, instead of the offset to | |
3452 | the compilation unit's line number info. Use the new `struct | |
3453 | line_header' type instead of the old structures. No need to do | |
3454 | cleanups here now, since we don't allocate anything. | |
3455 | (dwarf2_statement_list_fits_in_line_number_section, | |
3456 | dwarf2_line_header_too_long): New complaints. | |
3457 | ||
ac3aafc7 EZ |
3458 | 2002-05-06 Elena Zannoni <[email protected]> |
3459 | ||
3460 | * gdbtypes.c (init_vector_type): New function. | |
3461 | (build_builtin_type_vec128): Simplify the representation of SIMD | |
3462 | registers. | |
3463 | (build_gdbtypes): Initialize new builtin vector types. | |
3464 | (_initialize_gdbtypes): Register new vector types with gdbarch. | |
3465 | (builtin_type_v4_float, builtin_type_v4_int32, | |
3466 | builtin_type_v8_int16, builtin_type_v16_int8, | |
3467 | builtin_type_v2_int32, builtin_type_v4_int16, | |
3468 | builtin_type_v8_int8): New (renamed) SIMD types. | |
3469 | ||
13e49980 MK |
3470 | 2002-05-06 Mark Kettenis <[email protected]> |
3471 | ||
3472 | * i387-nat.c (i387_fill_fsave): Use regcache_collect. | |
3473 | (i387_fill_fxsave): Likewise. | |
3474 | ||
997b20b8 AO |
3475 | 2002-05-05 Alexandre Oliva <[email protected]> |
3476 | ||
3477 | * alpha-tdep.c (alpha_extract_return_value): Don't use | |
3478 | non-constant array size in prototype. | |
3479 | ||
535c96ce AC |
3480 | 2002-05-04 Andrew Cagney <[email protected]> |
3481 | ||
3482 | From Brian Taylor <briant at model dot com>: | |
3483 | * ui-out.c (ui_out_field_core_addr): Use the function | |
3484 | longest_local_hex_string_custom'to format addresses > 32 bits | |
3485 | wide. | |
3486 | ||
3487 | * ui-out.c (ui_out_field_core_addr): Update comment. | |
3488 | ||
bedfa57b AC |
3489 | 2002-05-04 Andrew Cagney <[email protected]> |
3490 | ||
3491 | * stack.c (select_and_print_frame): Make static. Delete the | |
3492 | parameter `level'. | |
3493 | (func_command): Update call. | |
3494 | (select_frame_command): Delete code computing the frame level. | |
3495 | * frame.h (select_and_print_frame): Delete declaration. | |
3496 | ||
f621c63e AC |
3497 | 2002-05-04 Andrew Cagney <[email protected]> |
3498 | ||
3499 | * sparc-tdep.c (sparc_get_saved_register): Comment why | |
3500 | get_prev_frame call is safe. | |
3501 | ||
0f7d239c AC |
3502 | 2002-05-04 Andrew Cagney <[email protected]> |
3503 | ||
3504 | * frame.h (select_frame): Delete level parameter. | |
3505 | * stack.c (select_frame): Update. Use frame_relative_level to | |
3506 | obtain the frame's level. | |
3507 | (select_and_print_frame): Update call. | |
3508 | (select_frame_command): Ditto. | |
3509 | (up_silently_base): Ditto. | |
3510 | (down_silently_base): Ditto. | |
3511 | * ocd.c (ocd_start_remote): Ditto. | |
3512 | * remote-rdp.c (remote_rdp_open): Ditto. | |
3513 | * remote-mips.c (mips_initialize): Ditto. | |
3514 | (common_open): Ditto. | |
3515 | * remote-e7000.c (e7000_start_remote): Ditto. | |
3516 | * m3-nat.c (select_thread): Ditto. | |
3517 | * hppa-tdep.c (child_get_current_exception_event): Ditto. | |
3518 | (child_get_current_exception_event): Ditto. | |
3519 | * varobj.c (varobj_create): Ditto. | |
3520 | (varobj_update): Ditto. | |
3521 | (c_value_of_root): Ditto. | |
3522 | * tracepoint.c (finish_tfind_command): Ditto. | |
3523 | * corelow.c (core_open): Ditto. | |
3524 | * arch-utils.c (generic_prepare_to_proceed): Ditto. | |
3525 | * thread.c (info_threads_command): Ditto. | |
3526 | (switch_to_thread): Ditto. | |
3527 | * infrun.c (normal_stop): Ditto. | |
3528 | (restore_selected_frame): Ditto. | |
3529 | (restore_inferior_status): Ditto. | |
3530 | * breakpoint.c (insert_breakpoints): Ditto. | |
3531 | (watchpoint_check): Ditto. | |
3532 | (bpstat_stop_status): Ditto. | |
3533 | (do_enable_breakpoint): Ditto. | |
3534 | * blockframe.c (flush_cached_frames): Ditto. | |
3535 | (reinit_frame_cache): Ditto. | |
3536 | ||
71d6c7b1 AC |
3537 | 2002-05-04 Andrew Cagney <[email protected]> |
3538 | ||
3539 | * MAINTAINERS (Host/Native): Add Jason Thorpe as NetBSD | |
3540 | maintainer. | |
3541 | ||
cda6c68a JB |
3542 | 2002-05-04 Jim Blandy <[email protected]> |
3543 | ||
3544 | * gdbtypes.c (replace_type): Doc fix. | |
3545 | ||
5c1c87f0 AC |
3546 | 2002-05-04 Andrew Cagney <[email protected]> |
3547 | ||
3548 | * valprint.c (strcat_longest): Delete commented out function. | |
3549 | Update copyright. | |
3550 | ||
cd9bfe15 AC |
3551 | 2002-05-04 Andrew Cagney <[email protected]> |
3552 | ||
3553 | * MAINTAINERS: Mark a29k as deleted. | |
3554 | * NEWS: Mention that a29k was removed. Add OBSOLETE section. | |
3555 | Move new configurations to the top. | |
3556 | * configure.tgt: Remove a29k. | |
3557 | * config/a29k/tm-vx29k.h: Delete. | |
3558 | * config/a29k/vx29k.mt: Delete. | |
3559 | * config/a29k/tm-a29k.h: Delete. | |
3560 | * config/a29k/a29k-udi.mt: Delete. | |
3561 | * config/a29k/a29k.mt: Delete. | |
3562 | * a29k-tdep.c: Delete. | |
3563 | * remote-udi.c: Delete. | |
3564 | * remote-mm.c: Delete. | |
3565 | * remote-eb.c: Delete. | |
3566 | * remote-adapt.c: Delete. | |
3567 | * Makefile.in: Remove obsolete code. | |
3568 | * gdbserver/Makefile.in: Ditto. | |
3569 | * config/s390/s390x.mt: Ditto. | |
3570 | * config/s390/s390.mt: Ditto. | |
3571 | * config/sparc/sparclynx.mh: Ditto. | |
3572 | * config/sparc/linux.mh: Ditto. | |
3573 | * config/pa/hppaosf.mh: Ditto. | |
3574 | * config/pa/hppabsd.mh: Ditto. | |
3575 | * config/ns32k/nbsd.mt: Ditto. | |
3576 | * config/mips/vr5000.mt: Ditto. | |
3577 | * config/m68k/sun3os4.mh: Ditto. | |
3578 | * config/m68k/nbsd.mt: Ditto. | |
3579 | * config/m68k/m68klynx.mh: Ditto. | |
3580 | * config/m32r/m32r.mt: Ditto. | |
3581 | * config/i386/x86-64linux.mt: Ditto. | |
3582 | * config/i386/nbsdelf.mt: Ditto. | |
3583 | * config/i386/nbsd.mt: Ditto. | |
3584 | * config/i386/i386lynx.mh: Ditto. | |
3585 | ||
bf0c5130 AC |
3586 | 2002-05-04 Andrew Cagney <[email protected]> |
3587 | ||
3588 | * target.c (debug_print_register): New function. Handle oversize | |
3589 | registers. | |
3590 | (debug_to_fetch_registers): Call. | |
3591 | (debug_to_store_registers): Call. | |
3592 | ||
2ae1c2d2 JB |
3593 | 2002-05-03 Jim Blandy <[email protected]> |
3594 | ||
13a393b0 JB |
3595 | * stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy. |
3596 | (read_type): Doc fix. | |
3597 | * gdbtypes.c (replace_type): Doc fix. | |
3598 | ||
2ae1c2d2 JB |
3599 | * stabsread.c (multiply_defined_struct): New complaint. |
3600 | (read_struct_type): If the type we were passed isn't empty, or | |
3601 | incomplete, don't read the new struct type into it; complain, | |
3602 | and return the original type unchanged. Take a new `type_code' | |
3603 | argument, which is the type code for the new type. | |
3604 | (read_type): Rather than storing the type's type code here, pass | |
3605 | it as an argument to read_struct_type, and let that take care of | |
3606 | storing it. That way, we don't overwrite the original type code, | |
3607 | so read_struct_type can use it to decide whether we're overwriting | |
3608 | something we shouldn't. | |
3609 | (complain_about_struct_wipeout): New function. | |
3610 | ||
8de9bdc4 AC |
3611 | 2002-05-03 Andrew Cagney <[email protected]> |
3612 | ||
3613 | * gdbarch.sh: Assert that gdbarch is non-NULL. | |
3614 | * gdbarch.c: Regenerate. | |
3615 | ||
f773fdbb JM |
3616 | 2002-05-03 Jason Merrill <[email protected]> |
3617 | ||
3618 | * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn | |
3619 | and return NULL. | |
3620 | ||
0e04a514 ML |
3621 | 2002-05-03 Michal Ludvig <[email protected]> |
3622 | ||
3623 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map), | |
3624 | (x86_64_dwarf2gdb_regno_map_length), | |
3625 | (x86_64_dwarf2_reg_to_regnum): Added. | |
3626 | (x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum. | |
3627 | (x86_64_gdbarch_init): Renamed from i386_gdbarch_init. | |
3628 | (_initialize_x86_64_tdep): Synced with the change above. | |
3629 | (x86_64_skip_prologue): Reformulated message. | |
3630 | ||
065432a8 PM |
3631 | 2002-05-03 Pierre Muller <[email protected]> |
3632 | ||
3633 | * f-exp.y: Also use new prev_lexptr variable | |
3634 | to improve error reporting. Based on Michael Snyder | |
3635 | 2002-04-24 dated patch to c-exp.y. | |
3636 | * jv-exp.y: Likewise. | |
3637 | * m2-exp.y: Likewise. | |
3638 | ||
a3162708 EZ |
3639 | 2002-05-02 Elena Zannoni <[email protected]> |
3640 | ||
3641 | * valops.c (value_arg_coerce): Don't coerce arrays to pointers if | |
3642 | we are dealing with vectors. | |
3643 | ||
03620c38 PM |
3644 | 2002-05-02 Pierre Muller <[email protected]> |
3645 | ||
3646 | * config/m68k/tm-nbsd.h: Obvious fix, | |
3647 | correct machine name. | |
3648 | ||
6604db2e PM |
3649 | 2002-05-02 Pierre Muller <[email protected]> |
3650 | ||
3651 | * p-typeprint.c (pascal_type_print_base): Add support | |
3652 | for TYPE_CODE_STRING and TYPE_CODE_BITSTRING. | |
3653 | ||
0906b739 PM |
3654 | 2002-05-02 Pierre Muller <[email protected]> |
3655 | ||
3656 | * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR | |
3657 | for fondamental pascal 'char' type. | |
3658 | ||
e2625b33 PM |
3659 | 2002-05-02 Pierre Muller <[email protected]> |
3660 | ||
3661 | * p-lang.h (is_pascal_string_type): Declaration changed, | |
3662 | new sixth argument of type char ** added. | |
361d1df0 | 3663 | * p-lang.c (is_pascal_string_type): Implementation |
e2625b33 PM |
3664 | changed. Args length_pos, length_size, string_pos, char_size |
3665 | can now be NULL. New argument arrayname set to the field | |
3666 | name of the char array. Return value set to char array | |
3667 | field index plus one. | |
361d1df0 | 3668 | * p-valprint.c (pascal_val_print): Adapt to new declaration of |
e2625b33 PM |
3669 | is_pascal_string_type function. |
3670 | ||
cf17c188 AC |
3671 | 2002-05-02 Andrew Cagney <[email protected]> |
3672 | ||
3673 | * gdbarch.sh (gdbarch_update_p): Revert 2002-05-02 Andrew Cagney | |
3674 | <[email protected]> change. | |
3675 | * gdbarch.c: Regenerate. | |
3676 | ||
52bca491 AC |
3677 | 2002-05-02 Andrew Cagney <[email protected]> |
3678 | ||
3679 | * gdbarch.sh (gdbarch_update_p): Swap out the old architecture | |
3680 | before probing for a new one. Detect errorenous gdbarch_init | |
3681 | functions. | |
3682 | * gdbarch.c: Regenerate. | |
3683 | ||
d5e72505 AC |
3684 | 2002-05-01 Andrew Cagney <[email protected]> |
3685 | ||
3686 | * config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h". | |
3687 | * config/mcore/tm-mcore.h: Ditto. Update copyright. | |
3688 | * config/v850/tm-v850.h: Ditto. Update copyright. | |
3689 | ||
af566d9f AC |
3690 | 2002-04-30 Andrew Cagney <[email protected]> |
3691 | ||
3692 | * cris-tdep.c (cris_gdbarch_init): Use arches instead of | |
3693 | current_gdbarch. | |
3694 | ||
880d85fa MS |
3695 | 2002-04-30 Michael Snyder <[email protected]> |
3696 | ||
94c30b78 MS |
3697 | * arm-tdep.c: Whitespace clean-ups. |
3698 | (arm_skip_prologue): Fix thinko; two lines | |
880d85fa MS |
3699 | should have been removed as part of 4/24 change. |
3700 | ||
6f5987a6 KB |
3701 | 2002-04-30 Kevin Buettner <[email protected]> |
3702 | ||
3703 | * rs6000-tdep.c: Added comment describing how fpscr register | |
3704 | numbers were chosen. | |
3705 | ||
1a113c93 MS |
3706 | 2002-04-30 Michael Snyder <[email protected]> |
3707 | ||
3708 | * gnu-nat.c (gnu_find_memory_regions): Fix merge botch. | |
3709 | ||
9a6f53fe EZ |
3710 | 2002-04-29 Elena Zannoni <[email protected]> |
3711 | ||
3712 | * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR. | |
3713 | (DNTT_TYPE_VECTOR_LENGTH): Rename from TYPE_VECTOR_LENGTH. | |
3714 | (hpread_symfile_init, hpread_lookup_type): Substitute throughout. | |
3715 | ||
11ed25ac KB |
3716 | 2002-04-29 Kevin Buettner <[email protected]> |
3717 | ||
3718 | From Louis Hamilton <[email protected]>: | |
3719 | * rs6000-tdep.c (coff/xcoff.h, libxcoff.h): Include. | |
3720 | * xcoffread.c (coff/xcoff.h, libxcoff.h): Likewise. | |
3721 | * rs6000-tdep.c (rs6000_gdbarch_init): Use bfd_xcoff_is_xcoff64(), | |
3722 | not bfd-private xcoff data, to determine wordsize. | |
3723 | * xcoffread.c (read_xcoff_xymtab, read_symbol_lineno): Likewise. | |
3724 | ||
ae232405 AC |
3725 | 2002-04-29 Andrew Cagney <[email protected]> |
3726 | ||
3727 | GDB 5.2 released from 5.2 branch. | |
3728 | ||
91fd20f7 ML |
3729 | 2002-04-29 Michal Ludvig <[email protected]> |
3730 | ||
3731 | * x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning. | |
3732 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
3733 | (x86_64_register_info_table): Added comments with register numbers. | |
361d1df0 | 3734 | |
2dc5091b EZ |
3735 | 2002-04-29 Elena Zannoni <[email protected]> |
3736 | ||
3737 | * rs6000-tdep.c (rs6000_extract_return_value, | |
3738 | rs6000_store_return_value): Handle returning vectors. | |
3739 | (rs6000_gdbarch_init): Use | |
3740 | ppc_sysv_abi_broken_use_struct_convention for native sysv cases. | |
3741 | * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention): | |
3742 | New function. | |
3743 | (ppc_sysv_abi_use_struct_convention): Deal with functions returning | |
3744 | vectors. | |
3745 | (ppc_sysv_abi_push_arguments): Handle vector parameters. | |
3746 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export. | |
361d1df0 | 3747 | |
2b9848d8 PM |
3748 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
3749 | ||
3750 | * hpread.c (hpread_psymtab_to_symtab_1, | |
3751 | hpread_psymtab_to_symtab): Replace fprintf (stderr,...) | |
3752 | with fprintf_unfiltered (gdb_stderr,...). | |
3753 | ||
f8d17dc5 PM |
3754 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
3755 | ||
3756 | * remote-array.c (printf_monitor, write_monitor, | |
361d1df0 | 3757 | array_insert_breakpoint, array_remove_breakpoint ): |
f8d17dc5 PM |
3758 | Replace fprintf (stderr,... |
3759 | with fprintf_unfiltered (gdb_stderr,.... | |
3760 | * remote-es.c: Likewise. | |
3761 | * remote-os9k.c: Likewise. | |
3762 | * remote-st.c: Likewise. | |
3763 | ||
2f2f1ad1 AS |
3764 | 2002-04-28 Andreas Schwab <[email protected]> |
3765 | ||
3766 | * config/s390/s390.mh (NATDEPFILES): Remove solib.o, add | |
3767 | linux-proc.o and gcore.o. | |
3768 | ||
b6779aa2 AC |
3769 | 2002-04-26 Michal Ludvig <[email protected]> |
3770 | ||
3771 | * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging | |
3772 | code without frame pointers. | |
3773 | ||
7e57f5f4 AC |
3774 | 2002-04-26 Andrew Cagney <[email protected]> |
3775 | ||
3776 | * sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why | |
3777 | ON_STACK is needed. | |
3778 | ||
2ceb85d0 BE |
3779 | 2002-04-26 Ben Elliston <[email protected]> |
3780 | ||
3781 | * target.c (do_xfer_memory): Correct reference to the new option | |
3782 | "trust-readonly-sections". | |
3783 | ||
f5f8a009 EZ |
3784 | 2002-04-26 Elena Zannoni <[email protected]> |
3785 | ||
3786 | * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define. | |
3787 | * gdbtypes.c (recursive_dump_type): Output the vector flag. | |
3788 | * dwarf2read.c (dwarf_attr_name): Handle new attribute for | |
3789 | vectors. | |
3790 | (read_array_type): Record the fact that this array type is really a | |
3791 | vector (i.e. are passed in by value). | |
3792 | ||
5868c862 JT |
3793 | 2002-04-26 Jason Thorpe <[email protected]> |
3794 | ||
3795 | * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member. | |
3796 | * alpha-tdep.c (alpha_sigcontext_addr): New function. | |
3797 | (alpha_find_saved_regs): Use alpha_sigcontext_addr. | |
3798 | (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. | |
3799 | * alpha-linux-tdep.c: Include frame.h. | |
3800 | (alpha_linux_sigcontext_addr): New function. | |
3801 | (alpha_linux_init_abi): Set tdep->sigcontext_addr to | |
3802 | alpha_linux_sigcontext_addr. | |
3803 | * alpha-osf1-tdep.c: Include gdbcore.h. | |
3804 | (alpha_osf1_sigcontext_addr): New function. | |
3805 | (alpha_osf1_init_abi): Set tdep->sigcontext_addr to | |
3806 | alpha_osf1_sigcontext_addr. | |
3807 | * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove. | |
3808 | * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove. | |
3809 | ||
bfb01f37 AC |
3810 | 2002-04-26 Andrew Cagney <[email protected]> |
3811 | ||
361d1df0 | 3812 | * stack.c (selected_frame_level): |
bfb01f37 AC |
3813 | (select_frame): Do not set selected_frame_level. |
3814 | * frame.h (selected_frame_level): Delete declaration. | |
3815 | ||
15813d3f AC |
3816 | 2002-04-26 Andrew Cagney <[email protected]> |
3817 | ||
3818 | * rs6000-tdep.c (rs6000_gdbarch_init): Only set | |
3819 | convert_from_func_ptr-addr when AIX / PowerOpen. | |
3820 | ||
6096c27a AC |
3821 | 2002-04-25 Andrew Cagney <[email protected]> |
3822 | ||
3823 | * valops.c (hand_function_call): Call | |
3824 | generic_save_call_dummy_addr. | |
3825 | * frame.h (generic_save_call_dummy_addr): Declare. | |
3826 | * blockframe.c (struct dummy_frame): Add fields call_lo and | |
3827 | call_hi. | |
3828 | (generic_find_dummy_frame): Check for PC in range call_lo to | |
3829 | call_hi instead of entry_point_address. | |
3830 | (generic_pc_in_call_dummy): Search the dummy frames for a PC in | |
3831 | the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK. | |
3832 | (generic_save_call_dummy_addr): New function. | |
3833 | ||
f510d44e DM |
3834 | 2002-04-24 David S. Miller <[email protected]> |
3835 | ||
3836 | * sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates | |
3837 | sparc_skip_prologue. | |
3838 | (sparc_skip_prologue): Kill frameless_p arg, and use line number | |
3839 | information to find prologue when possible. | |
3840 | (sparc_prologue_frameless_p): Call examine_prologue directly. | |
3841 | (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call. | |
3842 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed | |
3843 | second argument. | |
3844 | (SKIP_PROLOGUE): Likewise. | |
3845 | ||
15d72a92 JT |
3846 | 2002-04-25 Jason Thorpe <[email protected]> |
3847 | ||
3848 | * alpha-tdep.c (alpha_skip_prologue_internal): Remove | |
3849 | GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to | |
3850 | indicate that the condition it was testing is always true. | |
3851 | * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove. | |
3852 | * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
3853 | * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. | |
3854 | ||
accc6d1f JT |
3855 | 2002-04-25 Jason Thorpe <[email protected]> |
3856 | ||
3857 | * alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members. | |
3858 | * alpha-linux-tdep.c (alpha_linux_init_abi): Initialize | |
3859 | tdep->jb_pc and tdep->jb_elt_size. | |
3860 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise. | |
3861 | * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise. | |
3862 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. | |
3863 | * alpha-nat.c (get_longjmp_target): Remove. | |
3864 | (JB_ELEMENT_SIZE): Ditto. | |
3865 | (JB_PC): Ditto. | |
3866 | * alpha-tdep.c (alpha_get_longjmp_target): New function. | |
3867 | (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the | |
3868 | OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target | |
3869 | to alpha_get_longjmp_target. | |
3870 | (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size. | |
3871 | * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove. | |
3872 | * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove. | |
3873 | ||
1bfdc549 AC |
3874 | 2002-04-25 Andrew Cagney <[email protected]> |
3875 | ||
3876 | * README: Update to GDB 5.2. | |
3877 | ||
1bd316f0 AC |
3878 | 2002-04-25 Andrew Cagney <[email protected]> |
3879 | ||
3880 | * gdbarch.sh (LC_ALL): Set to `c'. | |
3881 | ||
2e5ff58c TR |
3882 | 2002-04-25 Theodore A. Roth <[email protected]> |
3883 | ||
3884 | * avr-tdep.c: Ran through gdb_indent.sh. | |
3885 | ||
e33ce519 TR |
3886 | 2002-04-25 Theodore A. Roth <[email protected]> |
3887 | ||
3888 | * MAINTAINERS: Add myself as AVR maintainer. | |
3889 | * NEWS: Note new target avr. | |
3890 | ||
8818c391 TR |
3891 | 2002-04-25 Theodore A. Roth <[email protected]> |
3892 | ||
3893 | * Makefile.in: Add support for AVR target. | |
3894 | * configure.tgt: Add support for AVR target. | |
3895 | * avr-tdep.c: New file | |
3896 | * config/avr/avr.mt: New file. | |
3897 | ||
79509c2d TR |
3898 | 2002-04-25 Theodore A. Roth <[email protected]> |
3899 | ||
3900 | * MAINTAINERS: Add myself to write-after-approval. | |
3901 | ||
dac8068e PM |
3902 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
3903 | ||
3904 | * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... | |
3905 | with fprintf_unfiltered (gdb_stderr,.... | |
3906 | ||
25bf3106 PM |
3907 | 2002-04-25 Pierre Muller <[email protected]> |
3908 | ||
3909 | Fix PR gdb/508. | |
3910 | * symfile.c (add_filename_language): Fix wrong xrealloc size argument. | |
3911 | ||
24467a86 PM |
3912 | 2002-04-25 Pierre Muller <[email protected]> |
3913 | ||
3914 | * p-exp.y: Also use new prev_lexptr variable | |
3915 | to improve error reporting. Based on Michael Snyder | |
3916 | 2002-04-24 dated patch to c-exp.y. | |
3917 | ||
95b80706 JT |
3918 | 2002-04-25 Jason Thorpe <[email protected]> |
3919 | ||
3920 | * alpha-tdep.c (alpha_breakpoint_from_pc): New function. | |
3921 | (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to | |
3922 | alpha_breakpoint_from_pc. Set gdbarch_function_start_offset | |
3923 | to 0. | |
3924 | * config/alpha/tm-alpha.h: Remove forward decls of struct type | |
3925 | and struct value. | |
3926 | (FUNCTION_START_OFFSET): Remove. | |
3927 | (BREAKPOINT): Ditto. | |
3928 | ||
e90cc612 JT |
3929 | 2002-04-25 Jason Thorpe <[email protected]> |
3930 | ||
3931 | * MAINTAINERS: Reflect that multi-arch is enabled for VAX. | |
3932 | * NEWS: Ditto. | |
3933 | ||
6c72f9f9 JT |
3934 | 2002-04-24 Jason Thorpe <[email protected]> |
3935 | ||
3936 | * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function. | |
3937 | (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to | |
3938 | alpha_linux_pc_in_sigtramp. | |
3939 | * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function. | |
3940 | (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to | |
3941 | alpha_osf1_pc_in_sigtramp. | |
3942 | * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. | |
3943 | * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function. | |
3944 | (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
3945 | alphafbsd_pc_in_sigtramp. | |
3946 | * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function. | |
3947 | (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to | |
3948 | alphanbsd_pc_in_sigtramp. | |
3949 | * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove. | |
3950 | * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove. | |
3951 | ||
5e4f3379 JT |
3952 | 2002-04-24 Jason Thorpe <[email protected]> |
3953 | ||
3954 | * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. | |
3955 | ||
da8ca43d JT |
3956 | 2002-04-24 Jason Thorpe <[email protected]> |
3957 | ||
3958 | * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and | |
3959 | alphanbsd-tdep.c. | |
3960 | (alphanbsd-nat.o): New dependency list. | |
3961 | (alphanbsd-tdep.o): Ditto. | |
3962 | * NEWS: Note new native NetBSD/alpha configuration. | |
3963 | * alphanbsd-nat.c: New file. | |
3964 | * alphanbsd-tdep.c: Ditto. | |
3965 | * configure.host (alpha*-*-netbsd*): New host. | |
3966 | * configure.tgt (alpha*-*-netbsd*): New target. | |
3967 | * config/alpha/nbsd.mh: New file. | |
3968 | * config/alpha/nbsd.mt: Ditto. | |
3969 | * config/alpha/nm-nbsd.h: Ditto. | |
3970 | * config/alpha/tm-nbsd.h: Ditto. | |
3971 | ||
36a6271d JT |
3972 | 2002-04-24 Jason Thorpe <[email protected]> |
3973 | ||
3974 | * Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c. | |
3975 | (alpha-osf1-tdep.o): New dependency list. | |
3976 | * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset | |
3977 | and skip_sigtramp_frame members. | |
3978 | * alpha-linux-tdep.c: Include gdbcore.h. | |
3979 | (alpha_linux_sigtramp_offset): Change return type to LONGEST. | |
3980 | (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset. | |
3981 | * alpha-osf1-tdep.c: New file. | |
3982 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to | |
3983 | alpha-osf1-dep.c. | |
3984 | (alpha_frame_past_sigtramp_frame): New function. | |
3985 | (alpha_dynamic_sigtramp_offset): Ditto. | |
3986 | (alpha_proc_desc_is_dyn_sigtramp): Ditto. | |
3987 | (alpha_set_proc_desc_is_dyn_sigtramp): Ditto. | |
3988 | (ALPHA_PROC_SIGTRAMP_MAGIC): Define. | |
3989 | (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp. | |
3990 | (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp. | |
3991 | (find_proc_desc): Use alpha_dynamic_sigtramp_offset. | |
3992 | (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame. | |
3993 | (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp. | |
3994 | (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp. | |
3995 | (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset | |
3996 | and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code | |
3997 | to find_solib_trampoline_target. | |
3998 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o. | |
3999 | * config/alpha/tm-alpha.h: Remove inclusion of regcache.h. | |
4000 | (SKIP_TRAMPOLINE_CODE): Remove. | |
4001 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4002 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4003 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
4004 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
4005 | * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove. | |
4006 | (PROC_SIGTRAMP_MAGIC): Ditto. | |
4007 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4008 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4009 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. | |
4010 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. | |
4011 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. | |
4012 | ||
2f4bc57b JT |
4013 | 2002-04-24 Jason Thorpe <[email protected]> |
4014 | ||
4015 | * NEWS: Note that Alpha targets are now multi-arch. | |
4016 | ||
665132f9 MS |
4017 | 2002-04-24 Michael Snyder <[email protected]> |
4018 | ||
4019 | * parser-defs.h (prev_lexptr): New external variable. | |
4020 | * parse.c (parse_exp_1): Set prev_lexptr to null before | |
4021 | calling the language-specific parser. | |
4022 | * c-exp.y (yylex): Set prev_lexptr to start of current token. | |
4023 | (yyerror): Use prev_lexptr in error reporting. | |
4024 | ||
32872fa7 DJ |
4025 | 2002-04-24 Daniel Jacobowitz <[email protected]> |
4026 | ||
4027 | * config/i386/tm-linux.h: Define FILL_FPXREGSET. | |
4028 | * gregset.h: If FILL_FPXREGSET is defined, provide | |
4029 | gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. | |
4030 | * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET | |
4031 | is defined, call fill_fpxregset. | |
4032 | ||
57e76fac MS |
4033 | 2002-04-24 Roland McGrath <[email protected]> |
4034 | ||
4035 | * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here. | |
4036 | * i386gnu-nat.c [HAVE_SYS_PROCFS_H] | |
4037 | (supply_gregset, supply_fpregset): New functions. | |
4038 | ||
4039 | * gnu-nat.c (gnu_find_memory_regions): New function. | |
4040 | (init_gnu_ops): Set `to_find_memory_regions' hook to that. | |
4041 | (gnu_xfer_memory): Add a cast. | |
4042 | ||
f43845b3 MS |
4043 | 2002-04-24 Michael Snyder <[email protected]> |
4044 | ||
361d1df0 | 4045 | * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the |
f43845b3 MS |
4046 | loop. Add handling for "str lr, [sp, #-4]!" and for saves |
4047 | of argument regs ("str r(0123), [r11, #-nn"]). | |
361d1df0 | 4048 | (arm_skip_prologue): Better handling for frameless functions. |
f43845b3 MS |
4049 | Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]". |
4050 | (arm_skip_prologue): Recognize str r(0123), [r11, #-nn]. | |
4051 | ||
a0abec03 AC |
4052 | Wed Apr 24 14:22:21 2002 Andrew Cagney <[email protected]> |
4053 | ||
4054 | * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor | |
4055 | NUM_PSEUDO_REGS can be used. | |
4056 | ||
d7bd68ca AC |
4057 | 2002-04-24 Andrew Cagney <[email protected]> |
4058 | ||
4059 | * arch-utils.h: Update copyright. | |
4060 | ||
4061 | * gdbarch.sh (PC_IN_SIGTRAMP): Add. | |
4062 | * gdbarch.h, gdbarch.c: Re-generate. | |
4063 | ||
4064 | * inferior.h (IN_SIGTRAMP): Delete definition. | |
4065 | * arch-utils.c (legacy_pc_in_sigtramp): New function. | |
4066 | * arch-utils.h (legacy_pc_in_sigtramp): Declare. | |
4067 | ||
4068 | * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP. | |
4069 | (mips_dump_tdep): Do not print value of IN_SIGTRAMP. | |
4070 | * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP. | |
4071 | (find_proc_framesize): Ditto. | |
4072 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto. | |
4073 | (alpha_init_extra_frame_info): Ditto. | |
4074 | * infrun.c (handle_inferior_event): Ditto. | |
4075 | (handle_inferior_event): Ditto. | |
4076 | (check_sigtramp2): Ditto. | |
4077 | * blockframe.c (create_new_frame): Ditto. | |
4078 | (get_prev_frame): Ditto. | |
4079 | * ppc-linux-tdep.c: Update comments. | |
4080 | * i386-linux-tdep.c: Update comments. | |
4081 | * breakpoint.c (bpstat_what): Update comment. | |
4082 | ||
d06f167a ML |
4083 | 2002-04-24 Michal Ludvig <[email protected]> |
4084 | ||
4085 | * gdbserver/linux-low.c (regsets_fetch_inferior_registers), | |
361d1df0 | 4086 | (regsets_store_inferior_registers): Removed cast to int from |
d06f167a ML |
4087 | ptrace() calls. |
4088 | * gdbserver/regcache.h: Added declaration of struct inferior_info. | |
4089 | ||
4867e41e DM |
4090 | 2002-04-24 David S. Miller <[email protected]> |
4091 | ||
21d83aa5 DM |
4092 | * i960-tdep.c (register_in_window_p): New function. |
4093 | (i960_find_saved_register): Use it instead of | |
4094 | REGISTER_IN_WINDOW_P. | |
4095 | * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete. | |
4096 | ||
4867e41e DM |
4097 | * symtab.h (find_stab_function_addr): Kill extern. |
4098 | * minsyms.c (find_stab_function_addr): Remove from here... | |
4099 | * dbxread.c: ... to here, and mark it static. | |
4100 | ||
69cdf6a2 DM |
4101 | 2002-04-20 David S. Miller <[email protected]> |
4102 | ||
4103 | * sparc-tdep.c (sparc_pop_frame): Only need to allocate | |
4104 | SPARC_INTREG_SIZE * 16 bytes for reg_temp. | |
4105 | ||
5a595886 DM |
4106 | 2002-04-21 David S. Miller <[email protected]> |
4107 | ||
4108 | * remote-vxsparc.c (vx_read_register): Fix typo, we want | |
4109 | REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR. | |
4110 | (vx_write_register): Likewise. | |
4111 | ||
1da1a192 JB |
4112 | 2002-04-23 J. Brobecker <[email protected]> |
4113 | ||
4114 | * source.c (is_regular_file): New function. | |
4115 | (openp): Check wether file to open is a regular file | |
4116 | to avoid opening directories. | |
4117 | ||
baa6f10b JT |
4118 | 2002-04-22 Jason Thorpe <[email protected]> |
4119 | ||
4120 | * findvar.c (extract_signed_integer): Cast printf argument | |
4121 | to suppress format warning. | |
4122 | (extract_unsigned_integer): Likewise. | |
4123 | * infcmd.c (registers_info): Likewise. | |
4124 | * top.c (get_prompt_1): Likewise. | |
4125 | * valops.c (value_assign): Likewise. | |
4126 | * valprint.c (print_decimal): Likewise. | |
4127 | ||
b2c4da81 L |
4128 | 2002-04-22 H.J. Lu ([email protected]) |
4129 | ||
4130 | * c-exp.y (typebase): Support | |
361d1df0 | 4131 | |
b2c4da81 L |
4132 | [long|long long|short] [signed|unsigned] [int|] |
4133 | ||
4134 | and | |
4135 | ||
4136 | signed [long|long long|short] int | |
4137 | ||
f267bd6a JT |
4138 | 2002-04-22 Jason Thorpe <[email protected]> |
4139 | ||
4140 | * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h), | |
4141 | and vax-tdep.h. | |
4142 | * vax-tdep.h: New file. | |
4143 | * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h. | |
4144 | Make several routines static. | |
4145 | (vax_get_saved_register): New function. | |
4146 | (vax_gdbarch_init): New function. | |
4147 | (_initialize_vax_tdep): Register vax_gdbarch_init. | |
4148 | * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL. | |
4149 | Remove macros now under the control of gdbarch. | |
4150 | ||
da3c6d4a MS |
4151 | 2002-04-22 Michael Snyder <[email protected]> |
4152 | ||
11d3b27d MS |
4153 | * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn". |
4154 | Some whitespace and coding standards tweaks. | |
da3c6d4a | 4155 | |
a33f7558 JT |
4156 | 2002-04-22 Jason Thorpe <[email protected]> |
4157 | ||
4158 | * vax-tdep.c: Include regcache.h. | |
4159 | (vax_call_dummy_words): New. | |
4160 | (sizeof_vax_call_dummy_words): New. | |
4161 | (vax_fix_call_dummy): New function. | |
4162 | (vax_saved_pc_after_call): Ditto. | |
4163 | * config/vax/tm-vax.h: Don't include regcache.h. | |
4164 | (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call. | |
4165 | (CALL_DUMMY): Remove. | |
4166 | (CALL_DUMMY_WORDS): Define. | |
4167 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
4168 | (FIX_CALL_DUMMY): Use vax_fix_call_dummy. | |
4169 | ||
47a73475 MS |
4170 | 2002-04-18 Michael Snyder <[email protected]> |
4171 | ||
4172 | * arm-tdep.h: Change regnum defines to enums for ease of debugging. | |
4173 | ||
52efde73 JT |
4174 | 2002-04-22 Jason Thorpe <[email protected]> |
4175 | ||
4176 | * vax-tdep.c (vax_frame_chain): New function. | |
4177 | (vax_push_dummy_frame): Ditto. | |
4178 | (vax_pop_frame): Ditto. | |
4179 | * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain. | |
4180 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
4181 | generic_frameless_function_invocation_not. | |
4182 | (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame. | |
4183 | (POP_FRAME): Use vax_pop_frame. | |
4184 | ||
ea74468c JT |
4185 | 2002-04-22 Jason Thorpe <[email protected]> |
4186 | ||
4187 | * vax-tdep.c (vax_store_struct_return): New function. | |
4188 | (vax_extract_return_value): Ditto. | |
4189 | (vax_store_return_value): Ditto. | |
4190 | (vax_extract_struct_value_address): Ditto. | |
4191 | * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use | |
4192 | vax_store_struct_return. | |
4193 | (EXTRACT_RETURN_VALUE): Use vax_extract_return_value. | |
4194 | (STORE_RETURN_VALUE): Use vax_store_return_value. | |
4195 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address. | |
4196 | ||
5516aa92 JT |
4197 | 2002-04-22 Jason Thorpe <[email protected]> |
4198 | ||
4199 | * vax-tdep.c (vax_frame_saved_pc): New function. | |
4200 | (vax_frame_args_address_correct): Ditto. | |
4201 | (vax_frame_args_address): Ditto. | |
4202 | (vax_frame_locals_address): Ditto. | |
4203 | (vax_frame_num_args): Move code to be in proximity to | |
4204 | other frame-related functions. | |
4205 | * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan. | |
4206 | (FRAME_SAVED_PC): Use vax_frame_saved_pc. | |
4207 | (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct. | |
4208 | (FRAME_ARGS_ADDRESS): Use vax_frame_args_address. | |
4209 | (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address. | |
4210 | ||
36af0b35 L |
4211 | 2002-04-22 H.J. Lu ([email protected]) |
4212 | ||
4213 | * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and | |
4214 | includedir. | |
4215 | ||
ab62c900 JT |
4216 | 2002-04-22 Jason Thorpe <[email protected]> |
4217 | ||
4218 | * vax-tdep.c (vax_frame_init_saved_regs): New function. | |
4219 | * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove. | |
4220 | (FRAME_INIT_SAVED_REGS): New macro. | |
4221 | ||
7232b100 JT |
4222 | 2002-04-22 Jason Thorpe <[email protected]> |
4223 | ||
4224 | * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd. | |
4225 | ||
b70d2aee JT |
4226 | 2002-04-22 Jason Thorpe <[email protected]> |
4227 | ||
4228 | * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants | |
4229 | where needed. | |
4230 | (fetch_osf_core_registers): Likewise. | |
4231 | (supply_gregset): Likewise. | |
4232 | ||
a0e8a2d1 | 4233 | 2002-04-22 J. Brobecker <[email protected]> |
361d1df0 | 4234 | |
a0e8a2d1 JB |
4235 | * symfile.h (get_section_index): Define. |
4236 | * symfile.c (get_section_index): New function. | |
4237 | * mdebugread.c (SC_IS_SBSS): New macro. | |
4238 | (SC_IS_BSS): Return true for the scBss storage class only, as | |
4239 | the scSBss storage class refers to the .sbss section. | |
4240 | (parse_partial_symbols): Discard the symbols which associated | |
4241 | section does not exist. | |
4242 | Make sure to use the .sbss section index for symbols which | |
4243 | storage class is scBss, rather than using the .bss section index. | |
4244 | ||
51eb8b08 JT |
4245 | 2002-04-22 Jason Thorpe <[email protected]> |
4246 | ||
4247 | * vax-tdep.c: Update copyright years. | |
4248 | (vax_register_name): New function. | |
4249 | (vax_register_byte): Ditto. | |
4250 | (vax_register_raw_size): Ditto. | |
4251 | (vax_register_virtual_size): Ditto. | |
4252 | (vax_register_virtual_type): Ditto. | |
4253 | * config/vax/tm-vax.h: Update copyright years. | |
4254 | (REGISTER_NAMES): Remove. | |
4255 | (REGISTER_NAME): Define. | |
4256 | (REGISTER_BYTE): Use vax_register_byte. | |
4257 | (REGISTER_RAW_SIZE): Use vax_register_raw_size. | |
4258 | (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size. | |
4259 | (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type. | |
4260 | ||
6cc1c0a8 AC |
4261 | 2002-04-21 Andrew Cagney <[email protected]> |
4262 | ||
4263 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore | |
4264 | declaration | |
4265 | * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error. | |
4266 | ||
9319a2fe DM |
4267 | 2002-04-21 David S. Miller <[email protected]> |
4268 | ||
4269 | * arch-utils.c (generic_prologue_frameless_p): Kill | |
4270 | SKIP_PROLOGUE_FRAMELESS_P code. | |
4271 | * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
4272 | references. | |
4273 | (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New. | |
4274 | * arc-tdep.c (arc_prologue_frameless_p): Implement. | |
4275 | * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete | |
4276 | references. | |
4277 | (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New. | |
4278 | * sparc-tdep.c (sparc_prologue_frameless_p): Implement. | |
4279 | (sparc_gdbarch_init): Pass it to | |
4280 | set_gdbarch_prologue_frameless_p. | |
a0e8a2d1 | 4281 | |
e9ed6d01 JT |
4282 | 2002-04-21 Jason Thorpe <[email protected]> |
4283 | ||
4284 | * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c. | |
4285 | (alphabsd-nat.o): New dependency list. | |
4286 | ||
36012033 JT |
4287 | 2002-04-21 Jason Thorpe <[email protected]> |
4288 | ||
4289 | * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and | |
4290 | alphafbsd-tdep.c. | |
4291 | (alpha-linux-tdep.o): New dependency list. | |
4292 | (alphafbsd-tdep.o): Likewise. | |
4293 | ||
3379287a JT |
4294 | 2002-04-21 Jason Thorpe <[email protected]> |
4295 | ||
4296 | * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset | |
4297 | to here... | |
4298 | * alpha-tdep.c: ...from here. | |
4299 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o. | |
4300 | ||
4bcbd6cb JT |
4301 | 2002-04-21 Jason Thorpe <[email protected]> |
4302 | ||
4303 | * config/alpha/tm-alpha.h: Move alpha_software_single_step | |
4304 | prototype from here... | |
4305 | * alpha-tdep.h: ...to here. | |
4306 | ||
b31da25e AC |
4307 | 2002-04-21 Andrew Cagney <[email protected]> |
4308 | ||
4309 | * frame.h (selected_frame_level): Document as deprecated. | |
4310 | (frame_relative_level): Declare. | |
4311 | * stack.c (frame_relative_level): New function. | |
4312 | (selected_frame_level): Document as deprecated. | |
4313 | (select_frame): Do not set the selected_frame_level. | |
4314 | ||
4315 | * stack.c (frame_info, record_selected_frame): Update. | |
4316 | (frame_command, current_frame_command): Update. | |
4317 | (up_silently_base, up_command, down_silently_base): Update. | |
4318 | (down_command): Update. | |
4319 | * inflow.c (kill_command): Update. | |
4320 | * tracepoint.c (finish_tfind_command): Update. | |
4321 | * corelow.c (core_open): Update. | |
4322 | * thread.c (info_threads_command): Update. | |
4323 | (do_captured_thread_select): Update. | |
4324 | * infcmd.c (finish_command): Update. | |
4325 | * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update. | |
4326 | ||
9c1d6fe5 JT |
4327 | 2002-04-21 Jason Thorpe <[email protected]> |
4328 | ||
4329 | * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove. | |
4330 | ||
ab89facf AC |
4331 | 2002-04-21 Andrew Cagney <[email protected]> |
4332 | ||
4333 | * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return | |
4334 | type const. | |
4335 | ||
82a4efa1 JT |
4336 | 2002-04-21 Jason Thorpe <[email protected]> |
4337 | ||
4338 | * alphafbsd-tdep.c: Update copyright years. Include | |
4339 | alpha-tdep.h. | |
4340 | (alphafbsd_use_struct_convention): Make static. | |
4341 | (alphafbsd_init_abi): New function. | |
4342 | (_initialize_alphafbsd_tdep): New function. | |
4343 | * config/alpha/tm-fbsd.h: Update copyright years. | |
4344 | (USE_STRUCT_CONVENTION): Remove. | |
4345 | ||
44dffaac JT |
4346 | 2002-04-21 Jason Thorpe <[email protected]> |
4347 | ||
4348 | * alpha-tdep.c (alpha_abi_handler): New structure to describe | |
4349 | an Alpha ABI variant. | |
4350 | (alpha_abi_handler_list): Declare. | |
4351 | (alpha_gdbarch_register_os_abi): New function. | |
4352 | (alpha_gdbarch_init): Give registered ABI variant handlers a | |
4353 | chance to tweak the gdbarch once we have set up defaults. | |
4354 | * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi. | |
4355 | ||
65585be4 JT |
4356 | 2002-04-21 Jason Thorpe <[email protected]> |
4357 | ||
4358 | * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double | |
4359 | to standard_coerce_float_to_double. | |
4360 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove. | |
4361 | ||
d9b023cc JT |
4362 | 2002-04-21 Jason Thorpe <[email protected]> |
4363 | ||
4364 | * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member. | |
4365 | * alpha-tdep.c (heuristic_proc_start): Use vm_min_address | |
4366 | from gdbarch_tdep rather than a constant. | |
4367 | (alpha_gdbarch_init): Initialize tdep->vm_min_address to | |
4368 | the default text address for all Alpha Unix ABIs. | |
4369 | (alpha_dump_tdep): Report the value of tdep->vm_min_address. | |
4370 | * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete. | |
4371 | ||
dc129d82 JT |
4372 | 2002-04-21 Jason Thorpe <[email protected]> |
4373 | ||
4374 | * alpha-tdep.h: New file. Includes several Alpha target constants | |
4375 | taken from... | |
4376 | * config/alpha/tm-alpha.h: ...here. Remove macros that we now | |
4377 | let gdbarch deal with. | |
4378 | (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. | |
4379 | * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd | |
4380 | to dependency list. | |
4381 | * alpha-nat.c: Include alpha-tdep.h. Update for adjusted | |
4382 | Alpha target register names. | |
4383 | * alphabsd-nat.c: Likewise. | |
4384 | * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted | |
4385 | Alpha target register names. Make serveral routines static. | |
4386 | (alpha_get_saved_register): New function. | |
4387 | (alpha_abi_names): New. | |
4388 | (process_note_abi_tag_sections): New function. | |
4389 | (get_elfosabi): New function. | |
4390 | (alpha_gdbarch_init): New function. | |
4391 | (alpha_dump_tdep): New function. | |
4392 | (_initialize_alpha_tdep): Register alpha_gdbarch_init. | |
4393 | ||
d49d1e0a AC |
4394 | 2002-04-21 Andrew Cagney <[email protected]> |
4395 | ||
4396 | * frame.c (find_saved_register): Delete #ifdef | |
4397 | HAVE_REGISTER_WINDOWS code. | |
4398 | * config/sparc/tm-sparc.h: Update comments. | |
4399 | * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro. | |
4400 | ||
92e8c9ed AC |
4401 | 2002-04-21 Andrew Cagney <[email protected]> |
4402 | ||
4403 | * i960-tdep.c (i960_find_saved_register): New function. | |
4404 | (i960_get_saved_register): New function. | |
4405 | * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define. | |
4406 | (i960_get_saved_register): Declare. | |
4407 | * config/i960/tm-i960.h, i960-tdep.c: Update copyright. | |
4408 | ||
e1925118 DM |
4409 | 2002-04-20 David S. Miller <[email protected]> |
4410 | ||
4411 | * sparc-nat.c (store-inferior_registers): Fix ambiguous else. | |
4412 | ||
29673b29 AC |
4413 | 2002-04-20 Andrew Cagney <[email protected]> |
4414 | ||
4415 | * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs | |
4416 | instead of NUM_PSEUDO_REGS. | |
4417 | ||
6c86dcd5 DM |
4418 | 2002-04-20 David S. Miller <[email protected]> |
4419 | ||
4420 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to | |
4421 | GDB_MULTI_ARCH_PARTIAL | |
4422 | * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not | |
4423 | define, let tm-sp64.h do it. | |
4424 | ||
aa40ec90 JT |
4425 | 2002-04-20 Jason Thorpe <[email protected]> |
4426 | ||
4427 | * frame.c (find_saved_register): Avoid a NULL pointer | |
4428 | dereference and actually walk the frame list. | |
4429 | ||
0f79675b AC |
4430 | 2002-04-20 Andrew Cagney <[email protected]> |
4431 | ||
4432 | * gdbarch.sh (gdbarch_update_p): Keep the list of architectures | |
4433 | sorted in most most-recent-used order. Document. | |
4434 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 4435 | |
c04a1aa8 DJ |
4436 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
4437 | ||
4438 | * gdbserver/inferiors.c (struct inferior_info): Add regcache_data. | |
4439 | (add_inferior): Call create_register_cache. | |
4440 | (clear_inferiors): Call free_register_cache. | |
4441 | (inferior_regcache_data, set_inferior_regcache_data): New functions. | |
4442 | * gdbserver/regcache.c (struct inferior_regcache_data): New. | |
4443 | (registers): Remove. | |
4444 | (get_regcache): New function. | |
4445 | (create_register_cache, free_register_cache): New functions. | |
4446 | (set_register_cache): Don't initialize the register cache here. | |
4447 | (registers_to_string, registers_from_string, register_data): Call | |
4448 | get_regcache. | |
4449 | * gdbserver/regcache.h: Add prototypes. | |
4450 | * gdbserver/server.h: Likewise. | |
4451 | ||
611cb4a5 DJ |
4452 | 2002-04-20 Daniel Jacobowitz <[email protected]> |
4453 | ||
4454 | * gdbserver/mem-break.c: New file. | |
4455 | * gdbserver/mem-break.h: New file. | |
4456 | * gdbserver/Makefile.in: Add mem-break.o rule; update server.h | |
4457 | dependencies. | |
4458 | * gdbserver/inferiors.c (struct inferior_info): Add target_data | |
4459 | member. | |
4460 | (clear_inferiors): Free target_data member if set. | |
4461 | (inferior_target_data, set_inferior_target_data): New functions. | |
4462 | * gdbserver/linux-i386-low.c (i386_breakpoint, i386_breakpoint_len) | |
4463 | (i386_stop_pc, i386_set_pc): New. Add to the_low_target. | |
4464 | * gdbserver/linux-low.c (linux_bp_reinsert): New variable. | |
4465 | (struct inferior_linux_data): New. | |
4466 | (linux_create_inferior): Use set_inferior_target_data. | |
4467 | (linux_attach): Likewise. Call add_inferior. | |
4468 | (linux_wait_for_one_inferior): New function. | |
4469 | (linux_wait): Call it. | |
4470 | (linux_write_memory): Add const. | |
4471 | (initialize_low): Call set_breakpoint_data. | |
4472 | * gdbserver/linux-low.h (struct linux_target_ops): Add breakpoint | |
4473 | handling members. | |
4474 | * gdbserver/server.c (attach_inferior): Remove extra add_inferior | |
4475 | call. | |
4476 | * gdbserver/server.h: Include mem-break.h. Update inferior.c | |
4477 | prototypes. | |
4478 | * gdbserver/target.c (read_inferior_memory) | |
4479 | (write_inferior_memory): New functions. | |
4480 | * gdbserver/target.h (read_inferior_memory) | |
4481 | (write_inferior_memory): Change macros to prototypes. | |
4482 | (struct target_ops): Update comments. Add const to write_memory | |
4483 | definition. | |
4484 | ||
f91305dd | 4485 | 2002-04-19 Andrew Cagney <[email protected]> |
bf75c8c1 AC |
4486 | |
4487 | * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame | |
4488 | instead of ->prev. | |
4489 | * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. | |
4490 | * s390-tdep.c (s390_frame_chain): Do not use ->prev. | |
4491 | * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() | |
4492 | instead of ->prev. | |
4493 | ||
73d322b1 EZ |
4494 | 2002-04-19 Elena Zannoni <[email protected]> |
4495 | ||
4496 | Fix PR gdb/471. | |
4497 | * gdbtypes.c (init_simd_type): Rewrite using new functions. | |
4498 | (build_builtin_type_vec128): Ditto. | |
4499 | (append_composite_type_field): Fix calculation of type length in | |
4500 | union case. | |
4501 | ||
ccd9a834 EZ |
4502 | 2002-04-19 Eli Zaretskii <[email protected]> |
4503 | ||
4504 | * config/djgpp/README: Update. | |
4505 | ||
4506 | * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a | |
4507 | compiler warnings. | |
4508 | ||
a57f9e49 JT |
4509 | 2002-04-19 Jason Thorpe <[email protected]> |
4510 | ||
4511 | * alpha-tdep.c (setup_arbitrary_frame): Rename... | |
4512 | (alpha_setup_arbitrary_frame): ...to this. | |
4513 | * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update | |
4514 | for alpha_setup_arbitrary_frame. | |
4515 | ||
f4f9705a AC |
4516 | 2002-04-18 Andrew Cagney <[email protected]> |
4517 | ||
4518 | * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer. | |
4519 | * gdbarch.h, gdbarch.c: Regenerate. | |
361d1df0 | 4520 | |
f4f9705a AC |
4521 | * defs.h (breakpoint_from_pc_fn): Delete type definition. |
4522 | * target.h (memory_breakpoint_from_pc): Update declaration. | |
4523 | * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto. | |
4524 | ||
4525 | * arch-utils.c (legacy_breakpoint_from_pc): Update return type. | |
4526 | * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto. | |
4527 | * mem-break.c (memory_breakpoint_from_pc): Ditto. | |
4528 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto. | |
4529 | * s390-tdep.c (s390_breakpoint_from_pc): Ditto | |
4530 | * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto. | |
4531 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto. | |
4532 | * mips-tdep.c (mips_breakpoint_from_pc): Ditto. | |
4533 | * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto. | |
4534 | * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto. | |
4535 | * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto. | |
4536 | * arch-utils.c (legacy_breakpoint_from_pc): Ditto.. | |
4537 | ||
4538 | * mem-break.c (default_memory_insert_breakpoint): Make `bp' a | |
4539 | const pointer. | |
4540 | * monitor.c (monitor_insert_breakpoint): Ditto. | |
4541 | * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'. | |
4542 | ||
4543 | * config/mcore/tm-mcore.h: Update copyright. | |
4544 | * mem-break.c: Ditto. | |
4545 | * xstormy16-tdep.c: Ditto. | |
4546 | ||
29f319b8 PM |
4547 | 2002-04-18 Pierre Muller <[email protected]> |
4548 | ||
4549 | * p-exp.y: Add precedence rule for '^' token. | |
4550 | This removes the shift/reduce conflicts. | |
4551 | Remove the comment concerning these shift/reduce conflicts. | |
4552 | ||
ebeac11a EZ |
4553 | 2002-04-18 Elena Zannoni <[email protected]> |
4554 | ||
4555 | * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro. | |
4556 | (registers_powerpc_nofp): New register set for processors | |
4557 | without floating point unit. | |
4558 | ||
27c31547 DM |
4559 | 2002-04-18 David S. Miller <[email protected]> |
4560 | ||
4561 | * MAINTAINERS: Add myself to write-after-approval. | |
4562 | ||
47a73475 MS |
4563 | 2002-04-17 Michael Snyder <[email protected]> |
4564 | ||
4565 | * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm. | |
4566 | ||
953836b2 AC |
4567 | 2002-04-17 Andrew Cagney <[email protected]> |
4568 | ||
4569 | * rs6000-tdep.c (frame_initial_stack_address): Use | |
4570 | frame_register_read to read the alloca_reg. | |
4571 | ||
8b0d4340 AC |
4572 | 2002-04-17 Andrew Cagney <[email protected]> |
4573 | ||
4574 | * frame.c (find_saved_register): Find saved registers in the next | |
4575 | not prev frame. | |
4576 | Fix PR gdb/365. | |
4577 | ||
d8864532 AC |
4578 | 2002-04-17 Andrew Cagney <[email protected]> |
4579 | ||
4580 | * gdbarch.sh (LANG): Set to ``c''. | |
4581 | ||
36cc83a3 | 4582 | 2002-04-15 Andrew Cagney <[email protected]> |
361d1df0 | 4583 | |
36cc83a3 | 4584 | * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems. |
361d1df0 | 4585 | |
2f4150cc | 4586 | 2002-04-15 Andrew Cagney <[email protected]> |
2c7ef074 AC |
4587 | |
4588 | * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h". | |
4589 | Update copyright. | |
4590 | ||
628703c6 | 4591 | * hpread.c (hpread_get_lntt): Add declaration. |
2f4150cc | 4592 | Also fix PR gdb/391. |
361d1df0 | 4593 | |
56157b4a AC |
4594 | 2002-04-14 Andrew Cagney <[email protected]> |
4595 | ||
4596 | * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6. | |
4597 | * aclocal.m4, configure: Re-generate. | |
4598 | Fix PR gdb/391. | |
361d1df0 | 4599 | |
6d1e3329 EZ |
4600 | 2002-04-14 Elena Zannoni <[email protected]> |
4601 | ||
4602 | * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN | |
4603 | instead of tm_print_insn. | |
4604 | ||
cb06fa07 EZ |
4605 | 2002-04-14 Elena Zannoni <[email protected]> |
4606 | ||
4607 | * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo. | |
4608 | ||
f208ba17 AC |
4609 | 2002-04-14 Andrew Cagney <[email protected]> |
4610 | ||
4611 | * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro. | |
4612 | * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro. | |
4613 | (get_prev_frame): Do not call FRAME_CHAIN_COMBINE. | |
4614 | ||
20f01a46 DH |
4615 | 2002-04-12 Don Howard <[email protected]> |
4616 | ||
4617 | * cli/cli-cmds.c (init_cli_cmds): Add new user settable value: | |
4618 | max_user_call_depth. | |
4619 | (init_cmd_lists): Initialize the new value; | |
4620 | * cli/cli-script.c (execute_user_command): Limit the call depth of | |
4621 | user defined commands. This avoids a core-dump when user commands | |
4622 | are infinitly recursive. | |
4623 | ||
a88376a3 KB |
4624 | 2002-04-12 Kevin Buettner <[email protected]> |
4625 | ||
4626 | * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''. | |
4627 | * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset'' | |
4628 | from tdep struct instead of DEFAULT_LR_SAVE. | |
4629 | (rs6000_gdbarch_init): Initialize ``lr_frame_offset''. | |
4630 | * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete. | |
4631 | * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete. | |
4632 | ||
f2172603 MS |
4633 | 2002-04-12 Michael Snyder <[email protected]> |
4634 | ||
694f61fb | 4635 | * Remote.c: Spelling fix. |
20fe79c8 MS |
4636 | * gcore.c (default_derive_heap_segment): Use bfd_section_name. |
4637 | If no symbol found for "sbrk", try "_sbrk". | |
4638 | (make_output_phdrs): Use bfd_section_name. | |
4639 | (gcore_copy_callback): Use bfd_section_name. | |
62995fc4 | 4640 | * eval.c: Indentation fix-ups. |
169a7369 MS |
4641 | * d10v-tdep.c (d10v_make_iaddr): Make it idempotent, |
4642 | in case it gets applied to an address that is already | |
4643 | in the instruction space. | |
de74f71f MS |
4644 | * cli/cli-decode.c (help_list): Allow long lines to wrap. |
4645 | * symfile.c: Fix indentation, long lines. | |
f2172603 MS |
4646 | * source.c: White space fix-up. |
4647 | ||
cda5a58a AC |
4648 | 2002-04-12 Andrew Cagney <[email protected]> |
4649 | ||
4650 | * defs.h (read_relative_register_raw_bytes): Delete declaration. | |
4651 | * frame.c (frame_register_read): New function. Return non-zero on | |
4652 | success. | |
4653 | (read_relative_register_raw_bytes_for_frame): Delete. | |
4654 | (read_relative_register_raw_bytes): Delete. | |
4655 | * frame.h (frame_register_read): Declare. | |
4656 | * d30v-tdep.c: Update Copyright. Use frame_register_read. | |
4657 | * sh-tdep.c: Ditto. | |
4658 | * infcmd.c (do_registers_info): Ditto. | |
4659 | * hppa-tdep.c: Ditto. | |
4660 | * rs6000-tdep.c: Ditto. | |
4661 | * h8500-tdep.c: Ditto. | |
4662 | * mips-tdep.c: Ditto. | |
4663 | * h8300-tdep.c: Ditto. | |
4664 | * z8k-tdep.c: Ditto. | |
4665 | ||
2ea5f656 KB |
4666 | 2002-04-12 Kevin Buettner <[email protected]> |
4667 | ||
4668 | From Jimi X <[email protected]>: | |
4669 | * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for | |
4670 | 64-bit SysV ABI. | |
4671 | ||
27b15785 KB |
4672 | 2002-04-12 Kevin Buettner <[email protected]> |
4673 | ||
4674 | From Jimi X <[email protected]>: | |
4675 | * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from | |
4676 | bfd info. | |
4677 | ||
5d57ee30 KB |
4678 | 2002-04-12 Kevin Buettner <[email protected]> |
4679 | ||
4680 | From Jimi X <[email protected]>: | |
4681 | * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define | |
4682 | register sets for these processor variants. | |
4683 | ||
bc1e36ca DJ |
4684 | 2002-04-11 Daniel Jacobowitz <[email protected]> |
4685 | ||
4686 | * gdbserver/linux-low.c (usr_store_inferior_registers): Support | |
4687 | registers which are allowed to fail to store. | |
4688 | * gdbserver/linux-low.h (linux_target_ops): Likewise. | |
4689 | * gdbserver/linux-ppc-low.c (ppc_regmap): Support FPSCR. | |
4690 | (ppc_cannot_store_register): FPSCR may not be storable. | |
4691 | * regformats/reg-ppc.dat: Support FPSCR. | |
4692 | ||
e3f36dbd KB |
4693 | 2002-04-11 Kevin Buettner <[email protected]> |
4694 | ||
4695 | * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''. | |
4696 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): | |
4697 | Add fpscr as an invalid/unfetchable register. | |
4698 | * ppc-linux-nat.c (ppc_register_u_addr, store_register) | |
4699 | (fetch_ppc_registers, store_ppc_registers, supply_fpregset) | |
4700 | (fill_fpregset): Add support for register fpscr. | |
4701 | (fetch_ppc_registers, store_ppc_registers, supply_gregset) | |
4702 | (fill_gregset): Account for the fact that register ``mq'' might | |
4703 | not exist. | |
4704 | * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr. | |
4705 | (registers_power): Add fpscr to register set at slot 71. | |
4706 | (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't | |
4707 | exist on most PPC architectures. Initialize ppc_fpscr_regnum. | |
4708 | ||
943c9c25 MS |
4709 | 2002-04-11 Michael Snyder <[email protected]> |
4710 | ||
4711 | * configure.in: Autoconfiscate _SYSCALL32 define for solaris. | |
4712 | * configure: Regenerate. | |
4713 | * config.in: Regenerate. | |
4714 | * acconfig.h: Add define for _SYSCALL32. | |
4715 | * core-sol2.c: Remove #define _SYSCALL32. | |
4716 | * solib-legacy.c: Remove #define _SYSCALL32. | |
4717 | ||
d8c0a2e7 AC |
4718 | 2002-04-10 Andrew Cagney <[email protected]> |
4719 | ||
4720 | * stack.c (select_frame): Cleanup internal error message, do not | |
4721 | use %p. | |
4722 | ||
7cc19214 AC |
4723 | 2002-04-10 Andrew Cagney <[email protected]> |
4724 | ||
4725 | * stack.c (select_frame): Check that selected_frame and the | |
4726 | specified level are as expected. | |
4727 | * blockframe.c (get_prev_frame): Set the `level' from next_frame. | |
4728 | Update copyright. | |
4729 | * frame.h (struct frame_info): Add field `level'. Update | |
4730 | copyright. | |
4731 | Work-in-progress PR gdb/464. | |
4732 | ||
67a2b77e AC |
4733 | 2002-04-10 Andrew Cagney <[email protected]> |
4734 | ||
4735 | * maint.c (maint_print_section_info): Rename print_section_info. | |
4736 | (print_bfd_section_info, print_objfile_section_info): Update. | |
4737 | * inferior.h (struct gdbarch): Add opaque declaration. | |
4738 | * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh. | |
4739 | * gdbarch.h: Regenerate. | |
4740 | ||
8cfda98c ML |
4741 | 2002-04-10 Michal Ludvig <[email protected]> |
4742 | ||
4743 | * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete. | |
4744 | (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h. | |
4745 | (kernel_u_size): Added. | |
4746 | * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete. | |
4747 | (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h. | |
4748 | ||
ca439ad2 | 4749 | 2002-04-04 Jim Ingham <[email protected]> |
361d1df0 | 4750 | |
ca439ad2 JI |
4751 | * valarith.c (find_size_for_pointer_math): New function, either returns |
4752 | the size for a pointer's target, returns 1 for void *, or errors for | |
4753 | incomplete types. | |
4754 | (value_add, value_sub): use find_size_for_pointer_math. | |
4755 | ||
2f2893d9 DJ |
4756 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
4757 | ||
4758 | * linux-low.c (linux_look_up_symbols): New hook. | |
4759 | (linux_target_ops): Add linux_look_up_symbols. | |
4760 | * remote-utils.c (decode_address): New function. | |
4761 | (look_up_one_symbol): New function. | |
4762 | * server.c (handle_query): Call target look_up_symbols hook. | |
4763 | * server.h (look_up_one_symbol): Add prototype. | |
4764 | * target.h (struct target_ops): Add look_up_symbols hook. | |
4765 | ||
2ec06d2e DJ |
4766 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
4767 | ||
d64b8841 DJ |
4768 | * gdbserver/server.h: Include <string.h> if HAVE_STRING_H. |
4769 | * ChangeLog: Correct paths in last ChangeLog entry. | |
4770 | ||
4771 | 2002-04-09 Daniel Jacobowitz <[email protected]> | |
4772 | ||
4773 | * gdbserver/linux-low.h: Remove obsolete prototypes. | |
2ec06d2e DJ |
4774 | (struct linux_target_ops): New. |
4775 | (extern the_low_target): New. | |
d64b8841 | 4776 | * gdbserver/linux-low.c (num_regs, regmap): Remove declarations. |
2ec06d2e DJ |
4777 | (register_addr): Use the_low_target explicitly. |
4778 | (fetch_register): Likewise. | |
4779 | (usr_fetch_inferior_registers): Likewise. | |
4780 | (usr_store_inferior_registers): Likewise. | |
d64b8841 | 4781 | * gdbserver/linux-arm-low.c (num_regs): Remove. |
2ec06d2e DJ |
4782 | (arm_num_regs): Define. |
4783 | (arm_regmap): Renamed from regmap, made static. | |
4784 | (arm_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4785 | made static. | |
4786 | (arm_cannot_store_register): Renamed from cannot_store_register, | |
4787 | made static. | |
4788 | (the_low_target): New. | |
d64b8841 | 4789 | * gdbserver/linux-i386-low.c (num_regs): Remove. |
2ec06d2e DJ |
4790 | (i386_num_regs): Define. |
4791 | (i386_regmap): Renamed from regmap, made static. | |
4792 | (i386_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4793 | made static. | |
4794 | (i386_cannot_store_register): Renamed from cannot_store_register, | |
4795 | made static. | |
4796 | (the_low_target): New. | |
d64b8841 | 4797 | * gdbserver/linux-ia64-low.c (num_regs): Remove. |
2ec06d2e DJ |
4798 | (ia64_num_regs): Define. |
4799 | (ia64_regmap): Renamed from regmap, made static. | |
4800 | (ia64_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4801 | made static. | |
4802 | (ia64_cannot_store_register): Renamed from cannot_store_register, | |
4803 | made static. | |
4804 | (the_low_target): New. | |
d64b8841 | 4805 | * gdbserver/linux-m68k-low.c (num_regs): Remove. |
2ec06d2e DJ |
4806 | (m68k_num_regs): Define. |
4807 | (m68k_regmap): Renamed from regmap, made static. | |
4808 | (m68k_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4809 | made static. | |
4810 | (m68k_cannot_store_register): Renamed from cannot_store_register, | |
4811 | made static. | |
4812 | (the_low_target): New. | |
d64b8841 | 4813 | * gdbserver/linux-mips-low.c (num_regs): Remove. |
2ec06d2e DJ |
4814 | (mips_num_regs): Define. |
4815 | (mips_regmap): Renamed from regmap, made static. | |
4816 | (mips_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4817 | made static. | |
4818 | (mips_cannot_store_register): Renamed from cannot_store_register, | |
4819 | made static. | |
4820 | (the_low_target): New. | |
d64b8841 | 4821 | * gdbserver/linux-ppc-low.c (num_regs): Remove. |
2ec06d2e DJ |
4822 | (ppc_num_regs): Define. |
4823 | (ppc_regmap): Renamed from regmap, made static. | |
4824 | (ppc_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4825 | made static. | |
4826 | (ppc_cannot_store_register): Renamed from cannot_store_register, | |
4827 | made static. | |
4828 | (the_low_target): New. | |
d64b8841 | 4829 | * gdbserver/linux-s390-low.c (num_regs): Remove. |
2ec06d2e DJ |
4830 | (s390_num_regs): Define. |
4831 | (s390_regmap): Renamed from regmap, made static. | |
4832 | (s390_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4833 | made static. | |
4834 | (s390_cannot_store_register): Renamed from cannot_store_register, | |
4835 | made static. | |
4836 | (the_low_target): New. | |
d64b8841 | 4837 | * gdbserver/linux-sh-low.c (num_regs): Remove. |
2ec06d2e DJ |
4838 | (sh_num_regs): Define. |
4839 | (sh_regmap): Renamed from regmap, made static. | |
4840 | (sh_cannot_fetch_register): Renamed from cannot_fetch_register, | |
4841 | made static. | |
4842 | (sh_cannot_store_register): Renamed from cannot_store_register, | |
4843 | made static. | |
4844 | (the_low_target): New. | |
d64b8841 | 4845 | * gdbserver/linux-x86-64-low.c (x86_64_regmap): Renamed from regmap. |
2ec06d2e DJ |
4846 | (the_low_target): New. |
4847 | ||
96cb11df AC |
4848 | 2002-04-09 Andrew Cagney <[email protected]> |
4849 | ||
4850 | * frame.c (read_relative_register_raw_bytes_for_frame): Do not | |
4851 | override FP_REGNUM with frame->fp. Update copyright. | |
4852 | * parse.c (num_std_regs, std_regs): Delete. | |
4853 | (target_map_name_to_register): Do not search std_regs. Update | |
4854 | function description. | |
4855 | * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete | |
4856 | declarations. Update copyright. | |
4857 | Fix PR gdb/251. | |
361d1df0 | 4858 | |
c3a3ccc7 DJ |
4859 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
4860 | ||
4861 | * gdbserver/Makefile.in: Add stamp-h target. | |
4862 | * gdbserver/configure.in: Create stamp-h. | |
4863 | * gdbserver/configure: Regenerated. | |
4864 | ||
ce3a066d DJ |
4865 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
4866 | ||
4867 | * gdbserver/inferiors.c: New file. | |
4868 | * gdbserver/target.c: New file. | |
4869 | * gdbserver/target.h: New file. | |
4870 | * gdbserver/Makefile.in: Add target.o and inferiors.o. Update | |
4871 | dependencies. | |
4872 | * gdbserver/linux-low.c (inferior_pid): New static variable, | |
4873 | moved from server.c. | |
4874 | (linux_create_inferior): Renamed from create_inferior. | |
4875 | Call add_inferior. Return 0 on success instead of a PID. | |
4876 | (linux_attach): Renamed from myattach. | |
4877 | (linux_kill): Renamed from kill_inferior. Call clear_inferiors (). | |
4878 | (linux_thread_alive): Renamed from mythread_alive. | |
4879 | (linux_wait): Renamed from mywait. Call clear_inferiors () if the | |
4880 | child dies. | |
4881 | (linux_resume): Renamed from myresume. Add missing ``return 0''. | |
4882 | (regsets_store_inferior_registers): Correct error message. | |
4883 | Add missing ``return 0''. | |
4884 | (linux_fetch_registers): Renamed from fetch_inferior_registers. | |
4885 | (linux_store_registers): Renamed from store_inferior_registers. | |
4886 | (linux_read_memory): Renamed from read_inferior_memory. | |
4887 | (linux_write_memory): Renamed from write_inferior_memory. | |
4888 | (linux_target_ops): New structure. | |
4889 | (initialize_low): Call set_target_ops (). | |
4890 | * gdbserver/remote-utils.c (unhexify): New function. | |
4891 | (hexify): New function. | |
4892 | (input_interrupt): Send signals to ``signal_pid''. | |
4893 | * gdbserver/server.c (inferior_pid): Remove. | |
4894 | (start_inferior): Update create_inferior call. | |
4895 | (attach_inferior): Call add_inferior. | |
4896 | (handle_query): New function. | |
4897 | (main): Call handle_query for `q' packets. | |
4898 | * gdbserver/server.h: Include "target.h". Remove obsolete prototypes. | |
4899 | Add prototypes for "inferiors.c", "target.c", hexify, and unhexify. | |
4900 | ||
0729219d DJ |
4901 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
4902 | ||
4903 | * gdbserver/Makefile.in: Add WARN_CFLAGS. Update configury | |
4904 | dependencies. | |
4905 | * gdbserver/configure.in: Check for <string.h> | |
4906 | * gdbserver/configure: Regenerate. | |
4907 | * gdbserver/config.in: Regenerate. | |
4908 | * gdbserver/gdbreplay.c: Include needed system headers. | |
4909 | (remote_open): Remove strchr prototype. | |
4910 | * gdbserver/linux-low.h: Correct #ifdef to HAVE_LINUX_USRREGS. | |
4911 | * gdbserver/regcache.c (supply_register): Change buf argument to const void *. | |
4912 | (supply_register_by_name): Likewise. | |
4913 | (collect_register): Change buf argument to void *. | |
4914 | (collect_register_by_name): Likewise. | |
4915 | * gdbserver/regcache.h: Add missing prototypes. | |
4916 | * gdbserver/remote-utils.c: Include <arpa/inet.h> for inet_ntoa. | |
4917 | * gdbserver/server.c (handle_query): New function. | |
4918 | (attached): New static variable, moved out of main. | |
4919 | (main): Quiet longjmp clobber warnings. | |
4920 | * gdbserver/server.h: Add ATTR_NORETURN and ATTR_FORMAT. Update prototypes. | |
4921 | * gdbserver/utils.c (error): Remove NORETURN. | |
4922 | (fatal): Likewise. | |
4923 | ||
97658e92 DJ |
4924 | 2002-04-09 Daniel Jacobowitz <[email protected]> |
4925 | ||
4926 | * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer | |
4927 | after the last symbol in a block. | |
4928 | ||
6044e3eb PM |
4929 | 2002-04-09 Pierre Muller <[email protected]> |
4930 | ||
4931 | * p-exp.y (yylex): Handle also the fact that is_a_field_of_this | |
4932 | is non zero as a found symbol. | |
4933 | ||
0406ec40 AC |
4934 | 2002-04-08 Andrew Cagney <[email protected]> |
4935 | ||
4936 | * findvar.c: Include "builtin-regs.h". | |
4937 | (value_of_register): Call value_of_builtin_reg when applicable. | |
4938 | * parse.c: Include "builtin-regs.h" and "gdb_assert.h". | |
4939 | (target_map_name_to_register): Call | |
4940 | builtin_reg_map_name_to_regnum. | |
4941 | * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c. | |
4942 | (COMMON_OBS): Add builtin-regs.o and std-regs.o. | |
4943 | (builtin_regs_h): Define. | |
4944 | (builtin-regs.o): New target. | |
4945 | (findvar.o): Add $(builtin_regs_h). | |
4946 | * builtin-regs.c, builtin-regs.h: New files. | |
4947 | * std-regs.c: New file. | |
4948 | Partial fix for PR gdb/251. | |
4949 | ||
56a6dfb9 KB |
4950 | 2002-04-08 Kevin Buettner <[email protected]> |
4951 | ||
4952 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn; | |
4953 | it's no longer required. | |
4954 | ||
3a808432 AC |
4955 | 2002-04-08 Andrew Cagney <[email protected]> |
4956 | ||
4957 | * Makefile.in (gdbtk-wrapper.o): Add missing dependencies. | |
4958 | ||
7c40d541 KB |
4959 | 2002-04-08 Kevin Buettner <[email protected]> |
4960 | ||
4961 | From Jimi X <[email protected]>: | |
4962 | * rs6000-tdep.c (rs6000_software_single_step): Use | |
4963 | rs6000_breakpoint_from_pc() to fetch breakpoint instruction | |
4964 | and size. Use target_insert_breakpoint() and | |
4965 | target_remove_breakpoint() to insert and remove breakpoints | |
4966 | instead of explicit memory reads and writes. | |
4967 | ||
cc9836a8 KB |
4968 | 2002-04-08 Kevin Buettner <[email protected]> |
4969 | ||
4970 | * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete. | |
4971 | * rs6000-tdep.c (rs6000_push_arguments): Eliminate | |
4972 | ELF_OBJECT_FORMAT ifdef. | |
4973 | ||
7495d1dc KB |
4974 | 2002-04-08 Kevin Buettner <[email protected]> |
4975 | ||
4976 | From Jimi X <[email protected]>: | |
4977 | * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn(). | |
4978 | ||
4288e836 KB |
4979 | 2002-04-08 Kevin Buettner <[email protected]> |
4980 | ||
4981 | From Jimi X <[email protected]>: | |
4982 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro | |
4983 | definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET. | |
4984 | ||
a4e4e501 MK |
4985 | 2002-04-07 Mark Kettenis <[email protected]> |
4986 | ||
4987 | * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions): | |
4988 | s/asprintf/xasprintf/. | |
4989 | (fbsd_make_corefile_notes): s/strdup/xstrdup/. | |
4990 | ||
006defba AC |
4991 | 2002-04-07 Andrew Cagney <[email protected]> |
4992 | ||
4993 | I believe Jeff Law denies responsability for this one: | |
4994 | * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork. | |
4995 | * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork. | |
4996 | * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork. | |
4997 | Work-around for PR gdb/366. | |
4998 | ||
7aa83cac EZ |
4999 | 2002-04-07 Elena Zannoni <[email protected]> |
5000 | ||
5001 | * remote-e7000.c (write_small, e7000_read_inferior_memory, | |
5002 | e7000_read_inferior_memory_large, e7000_insert_breakpoint, | |
5003 | e7000_remove_breakpoint): Use paddr_nz() to print addresses. | |
5004 | ||
cf1fcca1 EZ |
5005 | 2002-04-07 Elena Zannoni <[email protected]> |
5006 | ||
5007 | * sh-tdep.c (sh_fp_frame_init_saved_regs, | |
5008 | sh_nofp_frame_init_saved_regs): Use alloca() for 'where' | |
5009 | information. | |
5010 | ||
3f289e6f AC |
5011 | 2002-04-07 Andrew Cagney <[email protected]> |
5012 | ||
5013 | * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER | |
5014 | maintainer. | |
5015 | ||
129188f6 AC |
5016 | 2002-04-07 Andrew Cagney <[email protected]> |
5017 | ||
5018 | * README (Reporting Bugs in GDB): Document the bug web page as the | |
5019 | prefered way of submitting bugs. | |
5020 | Fix PR gdb/402. | |
5021 | ||
1200cd6e AC |
5022 | 2002-04-06 Andrew Cagney <[email protected]> |
5023 | ||
5024 | * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of | |
5025 | -1. Update comment. | |
5026 | * gdbarch.h, gdbarch.c: Re-generate. | |
5027 | ||
2853c33c AS |
5028 | 2002-04-07 Andreas Schwab <[email protected]> |
5029 | ||
5030 | * m68klinux-nat.c (fill_fpregset): Properly pass address of | |
5031 | buffer to regcache_collect. | |
5032 | ||
c2169756 AC |
5033 | 2002-04-06 Andrew Cagney <[email protected]> |
5034 | ||
5035 | * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1. | |
5036 | * gdbarch.c, gdbarch.h: Re-generate. | |
5037 | ||
25f1b008 AC |
5038 | 2002-04-06 Andrew Cagney <[email protected]> |
5039 | ||
5040 | * symtab.c (lookup_symtab): Remove ``const'' from ``rp'' | |
5041 | declaration. Fix -Werror. | |
5042 | ||
59263426 DJ |
5043 | 2002-04-05 Daniel Jacobowitz <[email protected]> |
5044 | ||
5045 | * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap. | |
5046 | * gdbarch.c: Regenerate. | |
5047 | ||
f5db4da3 MS |
5048 | 2002-04-05 Michael Snyder <[email protected]> |
5049 | ||
80f8a6eb MS |
5050 | * breakpoint.c (clear_command): Rewrite middle section to |
5051 | combine two loops with identical control conditions. | |
5052 | Add a cleanup to eliminate a memory leak. | |
f5db4da3 MS |
5053 | * cli/cli-dump.c (restore_section_callback): Use paddr_nz. |
5054 | ||
ad3dcc5c L |
5055 | 2002-04-05 H.J. Lu ([email protected]) |
5056 | ||
5057 | * solib-svr4.c (bkpt_names): Add "__start". | |
5058 | ||
f32e7a74 AC |
5059 | 2002-04-04 Andrew Cagney <[email protected]> |
5060 | ||
5061 | * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64 | |
5062 | as test for 64 bit target. | |
5063 | ||
8227c0ff AC |
5064 | 2002-04-05 Andrew Cagney <[email protected]> |
5065 | ||
5066 | * h8500-tdep.c (h8500_write_fp): Delete function. | |
5067 | * dwarf2cfi.c (cfi_write_fp): Document as not used. | |
5068 | * mips-tdep.c (mips_gdbarch_init): Do not set write_fp. | |
5069 | * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp. | |
5070 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp. | |
5071 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp. | |
5072 | * s390-tdep.c (s390_gdbarch_init): Do not set write_fp. | |
5073 | (s390_write_fp): | |
5074 | * sh-tdep.c (sh_gdbarch_init): Do not set write_fp. | |
5075 | * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp. | |
5076 | * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp. | |
5077 | (d10v_write_fp): Delete function. | |
5078 | * inferior.h (write_fp, generic_target_write_fp): Delete | |
5079 | declarations. | |
5080 | * regcache.c (generic_target_write_fp): Delete function. | |
5081 | (write_fp): Delete function. | |
5082 | * gdbarch.sh (TARGET_WRITE_FP): Delete. | |
5083 | * gdbarch.h, gdbarch.c: Regenerate. | |
5084 | * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro. | |
5085 | * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro. | |
5086 | (sparc64_write_fp): Delete declaration. | |
5087 | * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro. | |
5088 | (h8500_write_fp): Delete declaration. | |
5089 | ||
2757dd86 AC |
5090 | 2002-04-04 Andrew Cagney <[email protected]> |
5091 | ||
5092 | * sparc-tdep.c (sparc64_write_fp): Delete. | |
5093 | (sparc_push_dummy_frame): Replace write_fp call with code to store | |
5094 | the FP directly. | |
5095 | (sparc_gdbarch_init): Do not initialize write_fp. | |
5096 | ||
c69255e1 KB |
5097 | 2002-04-05 Kevin Buettner <[email protected]> |
5098 | ||
5099 | * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable | |
5100 | clause. | |
5101 | ||
ae767bfb JB |
5102 | 2002-03-29 Jim Blandy <[email protected]> |
5103 | ||
5104 | * stack.c (get_selected_block): Add new argument `addr_in_block', | |
5105 | used to return the exact code address we used to select the block, | |
5106 | not just the block. | |
5107 | * blockframe.c (get_frame_block, get_current_block): Same. | |
5108 | * frame.h (get_frame_block, get_current_block, | |
5109 | get_selected_block): Update declarations. | |
5110 | * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, | |
5111 | linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. | |
5112 | ||
84d2ac95 MS |
5113 | 2002-04-05 Michael Snyder <[email protected]> |
5114 | ||
5115 | * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in | |
5116 | warning message. | |
5117 | ||
596aa3bf JB |
5118 | 2002-04-05 J. Brobecker <[email protected]> |
5119 | ||
5120 | * utils.c (xfullpath): New function. | |
5121 | * defs.h (xfullpath): Add declaration. | |
5122 | * source.c (openp): Use xfullpath in place of gdb_realpath to | |
5123 | avoid resolving the basename part of filenames when the | |
5124 | associated file is a symbolic link. This fixes a potential | |
5125 | inconsistency between the filenames known to GDB and the | |
5126 | filenames it prints in the annotations. | |
5127 | * symtab.c (lookup_symtab): Use the new xfullpath function, in order | |
5128 | to be able to match a filename with either the real filename, or | |
5129 | the name of any symbolic link to this file. | |
5130 | (lookup_partial_symtab): Ditto. | |
5131 | ||
c02f5703 MS |
5132 | 2002-04-04 Michael Snyder <[email protected]> |
5133 | ||
5134 | * breakpoint.c: Add support for hardware breakpoints in overlays. | |
5135 | (overlay_events_enabled): New state variable. | |
5136 | (insert_breakpoints): Use overlay_events_enabled to decide | |
5137 | whether to attempt to set a breakpoint at the overlay load addr. | |
5138 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
5139 | (remove_breakpoint): Use overlay_events_enabled to decide | |
5140 | whether breakpoints need to be removed from overlay load addr. | |
5141 | Handle bp_hardware_breakpoint as well as bp_breakpoint. | |
5142 | (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays. | |
361d1df0 | 5143 | (create_overlay_event_breakpoint, enable_overlay_breakpoints, |
c02f5703 MS |
5144 | disable_overlay_breakpoints): Update overlay_events_enabled. |
5145 | ||
5fb290d7 DJ |
5146 | 2002-04-04 Daniel Jacobowitz <[email protected]> |
5147 | ||
5148 | * dwarf2read.c (struct function_range): New. | |
5149 | (cu_first_fn, cu_last_fn, cu_cached_fn): New. | |
5150 | (check_cu_functions): New. | |
5151 | (read_file_scope): Initialize global function lists. | |
5152 | Call dwarf_decode_line after processing children. | |
5153 | (read_func_scope): Add to global function list. | |
5154 | (dwarf_decode_lines): Call check_cu_functions everywhere | |
5155 | record_line is called. Call record_line with a linenumber | |
5156 | of 0 to mark sequence ends. | |
5157 | ||
7b3fabf0 ML |
5158 | 2002-04-04 Michal Ludvig <[email protected]> |
5159 | ||
361d1df0 | 5160 | * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI |
7b3fabf0 ML |
5161 | change sync with glibc. |
5162 | ||
bce58c09 JB |
5163 | 2002-04-03 Jim Blandy <[email protected]> |
5164 | ||
5165 | * configure.in: Call AC_C_INLINE. | |
5166 | * configure: Regenerated. | |
361d1df0 | 5167 | |
2fccf04a DJ |
5168 | 2002-04-01 Daniel Jacobowitz <[email protected]> |
5169 | ||
5170 | * rs6000-tdep.c: Change #include of "bfd/libcoff.h" | |
5171 | and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h". | |
5172 | ||
2d1bfe2e MK |
5173 | 2002-03-31 Mark Kettenis <[email protected]> |
5174 | ||
a5941fbf MK |
5175 | * NEWS: Mention gcore support on FreeBSD/i386. |
5176 | ||
a90cd31d MK |
5177 | * fbsd-proc.c: New file. |
5178 | * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define. | |
5179 | * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o. | |
5180 | ||
2d1bfe2e MK |
5181 | * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in |
5182 | while statement. | |
5183 | ||
9eb6e5a1 JB |
5184 | 2002-03-29 Jim Blandy <[email protected]> |
5185 | ||
5186 | * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate | |
5187 | unescaped newlines in string literals, but newer ones don't. So | |
5188 | escape them. | |
5189 | ||
f02df580 MS |
5190 | 2002-03-26 Michael Snyder <[email protected]> |
5191 | Andrew Cagney <[email protected]> | |
5192 | ||
361d1df0 | 5193 | * cli/cli-dump.c: New file. Dump memory to file, |
f02df580 MS |
5194 | restore file to memory. |
5195 | * cli/cli-dump.h: New file. | |
5196 | * Makefile.in: Add rules, dependencies for cli-dump.o. | |
89743e04 | 5197 | * NEWS: Mention new commands. |
f02df580 | 5198 | |
109f874e MS |
5199 | 2002-03-28 Michael Snyder <[email protected]> |
5200 | ||
5201 | * symfile.c (symbol_file_add): Move test for null symbols to later. | |
5202 | ||
520f6ade AC |
5203 | 2002-03-27 Andrew Cagney <[email protected]> |
5204 | ||
5205 | From veksler at il.ibm.com: | |
5206 | * utils.c (gdb_realpath): If canonicalize_file_name fails, return | |
5207 | the xstrduped original path. | |
5208 | Fix PR gdb/417. | |
5209 | ||
d4654627 MS |
5210 | 2002-03-27 Michael Snyder <[email protected]> |
5211 | ||
5212 | * breakpoint.c (_initialize_breakpoint): Clean up help string. | |
5213 | * infcmd.c (_initialize_infcmd): Ditto. | |
5214 | * language.c (_initialize_language): Ditto. | |
5215 | * symfile.c (_initialize_symfile): Ditto. | |
5216 | * top.c (_init_main): Ditto. | |
5217 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
5218 | ||
6be8bc0c EZ |
5219 | 2002-03-27 Elena Zannoni <[email protected]> |
5220 | ||
5221 | * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec | |
5222 | vector registers handling. | |
5223 | (skip_prologue): Handle new AltiVec instructions. Fill in new | |
5224 | fields of frame data. | |
5225 | (frame_get_saved_regs): Fill in information for AltiVec registers. | |
5226 | ||
12af6855 JB |
5227 | 2002-03-27 Jim Blandy <[email protected]> |
5228 | ||
5229 | * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into | |
5230 | a function; leave this macro here to invoke that function. | |
5231 | (symbol_init_mangled_name): Declaration for that function. | |
5232 | * symtab.c (symbol_init_mangled_name): New function. | |
5233 | ||
dc672865 AC |
5234 | 2002-03-27 Andrew Cagney <[email protected]> |
5235 | ||
5236 | * valarith.c: Replace strerror with safe_strerror. | |
5237 | * tracepoint.c: Ditto. | |
5238 | * lin-lwp.c: Ditto. | |
5239 | * go32-nat.c: Ditto. | |
5240 | * inflow.c: Ditto. | |
5241 | * gnu-nat.c: Ditto. | |
5242 | ||
d96429cd AS |
5243 | 2002-03-27 Andreas Schwab <[email protected]> |
5244 | ||
5245 | * event-top.c (command_line_handler): Remove useless if. | |
5246 | ||
7e336ba1 AJ |
5247 | 2002-03-27 Andreas Jaeger <[email protected]> |
5248 | ||
5249 | * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright | |
5250 | comment. | |
5251 | ||
de220d0f ML |
5252 | 2002-03-27 Michal Ludvig <[email protected]> |
5253 | ||
5254 | * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines. | |
5255 | (x86_64_num_regs, x86_64_num_gregs): Added extern variables. | |
5256 | * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS. | |
5257 | (x86_64_linux_dr_get_status, supply_gregset), | |
5258 | (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs. | |
5259 | * x86-64-tdep.c (x86_64_register_raw_size_table): Delete. | |
5260 | (x86_64_register_info_table): Add. | |
5261 | (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add. | |
5262 | (x86_64_register_raw_size, x86_64_register_virtual_type), | |
5263 | (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new | |
5264 | general x86_64_register_info_table. | |
5265 | (i386_gdbarch_init): gdbarch_register_bytes is now set | |
5266 | dynamicaly during initialization. | |
5267 | * regformats/reg-x86-64.dat: Synced with changes to registers above. | |
5268 | * gdbserver/linux-x86-64-low.c: Ditto. | |
7e336ba1 | 5269 | |
0e98d0a7 DJ |
5270 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
5271 | ||
5272 | * gdbserver/server.c (main): Call target_signal_to_host_p | |
5273 | and target_signal_to_host on signals received from the remote. | |
5274 | * gdbserver/remote-utils.c (prepare_resume_reply): Call | |
5275 | target_signal_from_host on signals sent to the remote. | |
5276 | * gdbserver/server.h: Add prototypes. Include "gdb/signals.h". | |
5277 | * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}. | |
5278 | ||
3130066b DJ |
5279 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
5280 | ||
5281 | * signals/signals.c: Include "server.h" in gdbserver build. | |
5282 | (target_signal_from_name): Don't use STREQ. | |
5283 | (_initialize_signals): Likewise. Don't include function in | |
5284 | gdbserver build. | |
5285 | ||
9aedf4f4 DJ |
5286 | 2002-03-27 Daniel Jacobowitz <[email protected]> |
5287 | ||
5288 | * signals.c: Moved to... | |
5289 | * signals/signals.c: Here. | |
7e336ba1 | 5290 | * Makefile (signals.o): Update. |
9aedf4f4 | 5291 | |
3fa41cdb JL |
5292 | 2002-03-26 Jeff Law ([email protected]) |
5293 | ||
5294 | * somread.c (som_symtab_read): Remove some commented out code and | |
5295 | updated related comments. Do not set the minimal symbol table to | |
5296 | mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope | |
5297 | in a dynamic executable. | |
5298 | * hppa-tdep.c (find_proc_framesize): Sanely handle the case | |
5299 | where we are unable to find the minimal symbol for the given | |
5300 | PC value. | |
5301 | ||
ee677e8d MS |
5302 | 2002-03-25 Jeff Law ([email protected]) |
5303 | ||
5304 | * linux-proc.c (read_mapping): Scan up to end of line for filename. | |
5305 | ||
e76e1718 ML |
5306 | 2002-03-25 Michal Ludvig <[email protected]> |
5307 | ||
5308 | * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch. | |
5309 | ||
18a642a1 AC |
5310 | 2002-03-23 Andrew Cagney <[email protected]> |
5311 | ||
5312 | * command.h: Update copyright. | |
5313 | (struct cmd_list_element): Replace definition with opaque | |
5314 | declaration. | |
5315 | (enum cmd_types): Document that it will eventually be moved to | |
5316 | cli/cli-decode.h | |
5317 | (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. | |
5318 | (MALLOCED_REPLACEMENT): Delete macro. | |
5319 | * Makefile.in (cli_decode_h): Add $(command_h). | |
5320 | (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). | |
7e336ba1 | 5321 | * top.c: Include "cli/cli-decode.h". |
18a642a1 AC |
5322 | * completer.c: Include "cli/cli-decode.h". |
5323 | * maint.c: Include "cli/cli-decode.h". | |
5324 | * cli/cli-decode.h: Include "command.h". | |
5325 | (enum command_class): Delete. | |
5326 | (enum cmd_types): Comment out. | |
5327 | (enum cmd_auto_boolean): Delete. | |
5328 | (enum var_types): Delete. | |
5329 | ||
b2875cc0 AC |
5330 | 2002-03-23 Andrew Cagney <[email protected]> |
5331 | ||
5332 | * cli/cli-decode.c: Include "gdb_assert.h". | |
5333 | (add_set_or_show_cmd): New static function. | |
5334 | (add_set_cmd): Rewrite. Use add_set_or_show_cmd. | |
5335 | (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy | |
5336 | all fields, such as func, from the set command. | |
5337 | ||
3b45974e AC |
5338 | 2002-03-23 Andrew Cagney <[email protected]> |
5339 | ||
5340 | * MAINTAINERS (sh-elf): Change warning flag to -w. | |
5341 | ||
823ca731 AC |
5342 | 2002-03-23 Andrew Cagney <[email protected]> |
5343 | ||
5344 | * defs.h (error): Add printf format attribute. | |
5345 | * thread-db.c (thread_from_lwp): Fix error format string. | |
5346 | * stack.c (parse_frame_specification): Ditto. | |
5347 | * cli/cli-decode.c (undef_cmd_error): Ditto. | |
5348 | * scm-lang.c (scm_lookup_name): Ditto. | |
5349 | * tracepoint.c (trace_error): Ditto. | |
5350 | * remote-utils.c (usage): Ditto. | |
5351 | * remote.c (compare_sections_command): Ditto. | |
5352 | Fix PR gdb/328. | |
5353 | ||
0e101458 AC |
5354 | 2002-03-22 Andrew Cagney <[email protected]> |
5355 | ||
5356 | * gdbtypes.c (append_composite_type_field): New function. | |
5357 | (init_composite_type): New function. | |
5358 | * gdbtypes.h (append_composite_type_field): Declare. | |
5359 | (init_composite_type): Ditto. | |
5360 | ||
8e0662df EZ |
5361 | 2002-03-22 Elena Zannoni <[email protected]> |
5362 | ||
5363 | * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New | |
7e336ba1 | 5364 | function. |
8e0662df EZ |
5365 | * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export. |
5366 | * rs6000-tdep.c (rs6000_gdbarch_init): Use different | |
5367 | structure returning convention for SYSV ABI case, but not | |
5368 | for GNU/Linux, FreeBSD, or NetBSD. | |
5369 | ||
3121eff0 DJ |
5370 | 2002-03-22 Daniel Jacobowitz <[email protected]> |
5371 | ||
5372 | * symtab.h (lookup_block_symbol): Add mangled_name argument | |
5373 | to prototype. | |
5374 | ||
5375 | * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol | |
5376 | with new mangled_name argument. | |
5377 | * linespec.c (decode_line_1): Likewise. | |
5378 | * valops (value_of_this): Likewise. | |
5379 | * symtab.c (lookup_transparent_type): Likewise. | |
5380 | (lookup_symbol_aux): Likewise. Accept new mangled_name argument. | |
5381 | (lookup_symbol): If we are given a mangled name, pass it down | |
5382 | to lookup_symbol_aux. | |
5383 | (lookup_block_symbol): If we are given a mangled name to check | |
5384 | against, only return symbols which match it. | |
5385 | ||
349b409f CF |
5386 | 2002-03-22 Christopher Faylor <[email protected]> |
5387 | ||
5388 | * win32-nat.c (child_create_inferior): Check for proper shell to use | |
5389 | here, in case the user changes it on the fly. | |
5390 | (_initialize_inftarg): Remove shell path considerations. | |
5391 | ||
2a873819 EZ |
5392 | 2002-03-21 Elena Zannoni <[email protected]> |
5393 | ||
5394 | * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value | |
5395 | for gdbarch_max_register_raw_size and max_register_virtual_size. | |
5396 | Adjust copyright year. | |
5397 | ||
a1b9830c DJ |
5398 | 2002-03-21 Daniel Jacobowitz <[email protected]> |
5399 | ||
5400 | * dbxread.c (process_one_symbol): Extend the first N_SLINE | |
5401 | in a function to cover the entire beginning of the function | |
5402 | as well if it does not already. | |
5403 | ||
8b5790f2 TR |
5404 | 2002-03-21 Tom Rix <[email protected]> |
5405 | ||
5406 | * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32. | |
5407 | (rs6000_ptrace64): Renamed from ptrace64. | |
5408 | ||
bdbe5747 MH |
5409 | 2002-03-20 Martin M. Hunt <[email protected]> |
5410 | ||
5411 | * gdbserver/remote-utils.c (remote_open): Don't call | |
5412 | getprotobyname, we're all using TCP here so just use | |
5413 | IPPROTO_TCP. | |
7e336ba1 | 5414 | * gdbserver/gdbreplay.c (remote_open): Ditto. |
bdbe5747 MH |
5415 | |
5416 | 2002-03-20 Martin M. Hunt <[email protected]> | |
7e336ba1 | 5417 | |
bdbe5747 MH |
5418 | * regcache.c (_initialize_regcache): No need to call |
5419 | build_regcache() at this time; it gets called whenever | |
5420 | the gdbarch changes. | |
5421 | ||
7781cd62 DB |
5422 | 2002-03-20 David O'Brien <[email protected]> |
5423 | ||
5424 | * sparc-nat.c: Include sys/param.h where possible. | |
5425 | ||
f65ca430 DJ |
5426 | 2002-03-20 Daniel Jacobowitz <[email protected]> |
5427 | ||
5428 | Fix PR gdb/422. | |
5429 | * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX, | |
5430 | FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX. | |
5431 | * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for | |
5432 | complex types. | |
5433 | * stabsread.c (rs6000_builtin_type): Likewise. | |
5434 | (read_sun_floating_type): Likewise. | |
5435 | ||
0c867556 PS |
5436 | 2002-03-19 Peter Schauer <[email protected]> |
5437 | ||
5438 | * stabsread.c (read_member_functions): Remove skip code for duplicate | |
5439 | constructor/destructor methods. Use standard parsing for these | |
5440 | methods and just do not chain them to the list of methods after | |
5441 | parsing. | |
5442 | ||
12b9c64f AO |
5443 | 2002-03-19 Alexandre Oliva <[email protected]> |
5444 | ||
5445 | * coffread.c: Remove redundant static declarations. Replace | |
5446 | occurrences of `PTR' with `void *'. | |
5447 | * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. | |
5448 | * top.h (quit_cover): Likewise. | |
5449 | * defs.h (catch_errors): Likewise. | |
5450 | ||
349c5d5f AC |
5451 | 2002-03-18 Andrew Cagney <[email protected]> |
5452 | ||
5453 | * defs.h (XMALLOC): Define. | |
5454 | * gdb-events.sh (XMALLOC): Delete macro. | |
5455 | * gdb-events.c, gdb-events.h: Regenerate. | |
5456 | * gdbarch.sh (XMALLOC): Delete macro. | |
5457 | * gdbarch.c: Regenerate. | |
5458 | * serial.c (XMALLOC): Delete macro. | |
5459 | * ui-file.c (XMALLOC): Ditto. | |
5460 | * ser-unix.h (XMALLOC): Ditto. | |
5461 | * sh-tdep.c (XMALLOC): Ditto. | |
5462 | * ui-out.c (XMALLOC): Ditto. | |
5463 | * utils.c (XMALLOC): Ditto. | |
5464 | * i386-tdep.c (XMALLOC): Ditto. | |
5465 | * gdb-events.c (XMALLOC): Ditto. | |
5466 | * d10v-tdep.c (XMALLOC): Ditto. | |
5467 | * cli-out.c (XMALLOC): Ditto. | |
5468 | ||
5469 | * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. | |
5470 | * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. | |
5471 | * ui-file.c, ui-out.c: Ditto. | |
5472 | ||
7d0766f3 AC |
5473 | 2002-03-18 Andrew Cagney <[email protected]> |
5474 | ||
5475 | * command.h (struct cmd_list_element): Add field context. | |
5476 | (set_cmd_context, get_cmd_context): Declare. | |
5477 | * cli/cli-decode.h: Ditto. | |
5478 | * cli/cli-decode.c (get_cmd_context): New function. | |
5479 | (set_cmd_context): New function. | |
5480 | (add_cmd): Initialize context. | |
5481 | Part of fixing PR gdb/145 and PR gdb/146. | |
5482 | ||
5913bcb0 AC |
5483 | 2002-03-17 Andrew Cagney <[email protected]> |
5484 | ||
1868c04e AC |
5485 | * cli/cli-decode.c (cmd_type): New function. |
5486 | * command.h (cmd_type): Declare. | |
5487 | * infrun.c (set_schedlock_func): Call function cmd_type. | |
5488 | * kod.c (kod_set_os): Call cmd_type. | |
5489 | * cris-tdep.c (cris_version_update): Use function cmd_type. | |
5490 | (cris_mode_update, cris_abi_update): Ditto. | |
5491 | ||
5913bcb0 AC |
5492 | * command.h: (execute_cmd_post_hook): Declare. |
5493 | (execute_cmd_pre_hook): Declare. | |
5494 | * cli/cli-script.c (clear_hook_in_cleanup): New function. | |
5495 | (execute_cmd_post_hook, execute_cmd_pre_hook): New | |
5496 | functions. Execute pre/post hook while ensuring that afterwords | |
5497 | hook_in is cleared. | |
5498 | * top.c (execute_command): Use execute_cmd_post_hook, and | |
5499 | execute_cmd_pre_hook to execute pre/post commands. | |
5500 | * infrun.c (normal_stop): Pass stop_command and not pre_hook to | |
5501 | hook_stop_stub. | |
5502 | (hook_stop_stub): Call execute_cmd_pre_hook. | |
5503 | ||
b51450c9 AC |
5504 | 2002-03-17 Andrew Cagney <[email protected]> |
5505 | ||
5506 | * kod.c (kod_set_os): Revert previous change. Is called by ``info | |
5507 | set'' and this leads to a core dump. Move xstrdup of | |
5508 | operating_system to after check that it is not NULL. | |
5509 | ||
f66c9f11 AC |
5510 | 2002-03-17 Andrew Cagney <[email protected]> |
5511 | ||
8e694ecf AC |
5512 | * kod.c (kod_set_os): Remove unnecessary check that |
5513 | ``command->type'' is set_cmd. | |
5514 | ||
f66c9f11 AC |
5515 | * valprint.c (set_input_radix): Use input_radix. |
5516 | (set_output_radix): Use output_radix. | |
5517 | (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix | |
5518 | isn't reverted. | |
5519 | ||
9d01611c AC |
5520 | 2002-03-16 Andrew Cagney <[email protected]> |
5521 | ||
5522 | * value.h (struct value): Delete field ``substring_addr''. Change | |
5523 | aligner fields to force_doublest_align, force_longest_align, | |
ee2d3b3a AC |
5524 | force_core_addr_align and force_pointer_aligh. |
5525 | ||
5526 | * value.h (struct value): Fix typo in above change. | |
9d01611c | 5527 | |
4156bb53 PS |
5528 | 2002-03-16 Peter Schauer <[email protected]> |
5529 | ||
5530 | * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip, | |
5531 | to fix internal_error from ``maintenance print architecture''. | |
5532 | ||
0e5e3ea6 PS |
5533 | 2002-03-16 Peter Schauer <[email protected]> |
5534 | ||
5535 | * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type | |
5536 | for gcc versions after gcc-2.8.1. | |
5537 | ||
9b013045 PS |
5538 | 2002-03-16 Peter Schauer <[email protected]> |
5539 | ||
5540 | * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer | |
5541 | for method resolution. Restore adjustment of ``this'' pointer after | |
5542 | calling value_struct_elt, which was accidentally removed during the | |
5543 | HP merge. | |
5544 | ||
376c9600 AC |
5545 | 2002-03-15 Andrew Cagney <[email protected]> |
5546 | ||
5547 | * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to | |
5548 | value_of_register. | |
5549 | * findvar.c (value_of_register): Add ``frame'' parameter. Pass to | |
5550 | get_saved_register. | |
5551 | * value.h (value_of_register): Update. | |
5552 | ||
a4db0f07 RH |
5553 | 2002-03-14 Richard Henderson <[email protected]> |
5554 | ||
5555 | * configure.in: Detect declaration for canonicalize_file_name. | |
5556 | * utils.c (canonicalize_file_name): Declare, if needed. | |
5557 | (gdb_realpath): Prefer realpath if available and usable. | |
5558 | * config.in, configure: Rebuild. | |
5559 | ||
96383835 RH |
5560 | 2002-03-14 Richard Henderson <[email protected]> |
5561 | ||
5562 | * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as | |
5563 | a constant array bound. | |
5564 | ||
5565 | * MAINTAINERS: Add myself to write-after-approval. | |
5566 | ||
75245b24 MS |
5567 | 2002-03-14 Michael Snyder <[email protected]> |
5568 | ||
5569 | * symfile.c (syms_from_objfile): Return immediately if no syms. | |
5570 | (symbol_file_add): Return immediately if no syms. | |
5571 | (find_sym_fns): Return immediately if no syms. | |
5572 | ||
e641a1ca ML |
5573 | 2002-03-13 Michal Ludvig <[email protected]> |
5574 | ||
5575 | * gdbserver/remote-util.c (remote_open): Print remote-side's | |
5576 | IP address when remote debugging over the network. | |
7e336ba1 | 5577 | |
df08bfec DB |
5578 | 2002-03-12 David O'Brien <[email protected]> |
5579 | ||
5580 | * config/sparc/fbsd.mh: Fix copyright. | |
5581 | * config/sparc/fbsd.mt: Likewise. | |
5582 | ||
9a57864f RE |
5583 | 2002-03-11 Richard Earnshaw <[email protected]> |
5584 | ||
5585 | * MAINTAINERS: Fix typo in name of gdb warnings option. | |
5586 | (x86-64): Fix formating so that this can be parsed by awk. | |
5587 | ||
dd7bf85e DJ |
5588 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
5589 | ||
5590 | * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h. | |
5591 | * defs.h: Include "gdb/signals.h". | |
5592 | (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h. | |
5593 | ||
33a0a2ac ML |
5594 | 2002-03-10 Michal Ludvig <[email protected]> |
5595 | ||
5596 | * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c | |
7e336ba1 | 5597 | * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here |
33a0a2ac ML |
5598 | from x86-64-tdep.h |
5599 | ||
dd824b04 DJ |
5600 | 2002-03-10 Daniel Jacobowitz <[email protected]> |
5601 | Don Howard <[email protected]> | |
5602 | ||
5603 | * mips-tdep.c (ST0_FR): Define. | |
5604 | (mips2_fp_compat): New function, temporarily disabled. | |
5605 | (mips_read_fp_register_single): New function. | |
5606 | (mips_read_fp_register_double): New function. | |
5607 | (mips_print_register): Use them. | |
5608 | (do_fp_register_row): Likewise. | |
5609 | ||
6a41ff59 AC |
5610 | 2002-03-09 Andrew Cagney <[email protected]> |
5611 | ||
5612 | * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after | |
5613 | approval''. | |
5614 | ||
4ea09c10 PS |
5615 | 2002-03-08 Peter Schauer <[email protected]> |
5616 | ||
5617 | * stabsread.c (read_member_functions): Fix is_stub test for | |
5618 | static member functions, improve comment. | |
5619 | ||
6ccc741d RE |
5620 | 2002-03-07 Richard Earnshaw <[email protected]> |
5621 | ||
5622 | * remote-rdi.c (myprint): Replace 'PTR' with 'void *'. | |
5623 | (mywrite, mywritec, mypause, myreadc, mygets): Likewise. | |
5624 | (_initialize_remote_rdi): Use add_set_boolean_cmd to register | |
5625 | commands that set boolean values. | |
5626 | (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning. | |
5627 | (arm_rdi_resume): Always initialize PC. | |
5628 | (arm_rdi_open): Don't use rslt as a boolean. | |
5629 | (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume) | |
5630 | (arm_rdi_fetch_registers, arm_rdi_store_registers) | |
5631 | (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill) | |
5632 | (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise. | |
5633 | ||
438013df AO |
5634 | 2002-03-06 Alexandre Oliva <[email protected]> |
5635 | ||
5636 | * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX. | |
5637 | * configure: Rebuilt. | |
5638 | ||
70ed8774 SC |
5639 | 2002-03-06 Stephane Carrez <[email protected]> |
5640 | ||
5641 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn. | |
5642 | (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead. | |
5643 | ||
5ba2abeb AC |
5644 | 2002-03-06 Andrew Cagney <[email protected]> |
5645 | ||
5646 | * cli/cli-decode.c (set_cmd_completer): New function. | |
5647 | * command.h (set_cmd_completer): Declare. | |
5648 | * cli/cli-decode.h (set_cmd_completer): Ditto. | |
5649 | ||
5650 | * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer. | |
5651 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
5652 | * win32-nat.c (_initialize_inftarg): Ditto. | |
5653 | * remote-rdi.c (_initialize_remote_rdi): Ditto. | |
5654 | * proc-api.c (_initialize_proc_api): Ditto. | |
5655 | * hppa-tdep.c (_initialize_hppa_tdep): Ditto. | |
5656 | * source.c (_initialize_source): Ditto. | |
5657 | * exec.c (_initialize_exec): Ditto. | |
5658 | * solib.c (_initialize_solib): Ditto. | |
5659 | * top.c (init_main): Ditto. | |
5660 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
5661 | * symfile.c (_initialize_symfile): Ditto. | |
5662 | * printcmd.c (_initialize_printcmd): Ditto. | |
5663 | * infcmd.c (_initialize_infcmd): Ditto. | |
5664 | * corefile.c (_initialize_core): Ditto. | |
5665 | ||
f779ca99 AC |
5666 | 2002-03-05 Andrew Cagney <[email protected]> |
5667 | ||
5668 | * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler. | |
5669 | ||
01a3934b AC |
5670 | 2002-03-05 Andrew Cagney <[email protected]> |
5671 | ||
5672 | * MAINTAINERS: Fix Mac OS X and Objective-C/C++. | |
5673 | ||
37057839 AC |
5674 | 2002-03-05 Andrew Cagney <[email protected]> |
5675 | ||
5676 | * NEWS: Update headings, 5.2 has branched. | |
5677 | ||
c6ecbae5 DJ |
5678 | 2002-03-04 Daniel Jacobowitz <[email protected]> |
5679 | ||
5680 | * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long. | |
5681 | (num_regs, regmap): Move inside HAVE_LINUX_USRREGS. | |
5682 | (register_addr, REGISTER_RAW_SIZE): Likewise. | |
5683 | (usr_store_inferior_registers): Use PTRACE_XFER_TYPE. | |
5684 | * gdbserver/linux-x86-64-low.c: Remove extra #endif. | |
5685 | ||
e9f30c21 ML |
5686 | 2002-03-03 Michal Ludvig <[email protected]> |
5687 | ||
5688 | * MAINTAINERS (x86-64): Add myself. | |
5689 | * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs, | |
5690 | changed value_ptr -> struct value * | |
5691 | ||
54394ac3 DB |
5692 | 2002-03-01 David O'Brien <[email protected]> |
5693 | ||
5694 | * configure.host (sparc64-*-freebsd): Add. | |
5695 | * configure.tgt: Likewise. | |
5696 | * config/sparc/fbsd.mh: New file. | |
5697 | * config/sparc/fbsd.mt: Likewise. | |
5698 | * config/sparc/nm-fbsd.h: Likewise. | |
5699 | * config/sparc/tm-fbsd.h: Likewise. | |
5700 | ||
bfe95955 DJ |
5701 | 2002-03-01 Daniel Jacobowitz <[email protected]> |
5702 | ||
5703 | * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and | |
5704 | regformats/reg-s390x.dat. | |
5705 | ||
f33c6cbf AC |
5706 | 2002-03-01 Andrew Cagney <[email protected]> |
5707 | ||
5708 | * utils.c: Add FIXME explaining true/false problem. | |
5709 | ||
5ecaa7dd AC |
5710 | 2002-02-28 Andrew Cagney <[email protected]> |
5711 | ||
5712 | * MAINTAINERS (Past Maintainers): Add J.T. Conklin. | |
5713 | ||
2a251cc2 MC |
5714 | 2002-02-28 Michael Chastain <[email protected]> |
5715 | ||
5716 | * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs . | |
5717 | ||
6a8031a3 | 5718 | 2002-02-28 Daniel Jacobowitz <[email protected]> |
265f716b DJ |
5719 | |
5720 | * gdbserver/linux-s390-low.c: New file. | |
5721 | * regformats/reg-s390.dat: New file. | |
5722 | * regformats/reg-s390x.dat: New file. | |
5723 | * gdbserver/configure.srv: Add S/390. | |
5724 | * gdbserver/Makefile.in: Add S/390. | |
5725 | * configure.tgt: Enable gdbserver for S/390. | |
5726 | ||
ac469903 EZ |
5727 | 2002-02-28 Eli Zaretskii <[email protected]> |
5728 | ||
5729 | * go32-nat.c (_initialize_go32_nat): Don't use periods in the | |
5730 | first line of the doc string for "info dos", except at the end of | |
5731 | the sentence, since the short help stops at the first period. | |
5732 | ||
985cb1a3 JM |
5733 | 2002-02-28 Jason Merrill <[email protected]> |
5734 | ||
5735 | * dwarf2read.c (dwarf_cfi_name): Add new codes. | |
5736 | ||
c570663e FF |
5737 | 2002-02-27 Fred Fish <[email protected]> |
5738 | ||
5739 | * blockframe.c (generic_fix_call_dummy): Fix obvious typo in | |
5740 | comment (dumy -> dummy). | |
5741 | ||
43630227 PS |
5742 | 2002-02-27 Peter Schauer <[email protected]> |
5743 | ||
5744 | * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. | |
5745 | ||
b84911e8 RB |
5746 | 2002-02-27 Rodney Brown <[email protected]> |
5747 | ||
5748 | * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5. | |
5749 | ||
58caa3dc DJ |
5750 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
5751 | ||
5752 | * gdbserver/acconfig.h: New file. | |
5753 | * gdbserver/i387-fp.c: New file. | |
5754 | * gdbserver/i387-fp.h: New file. | |
5755 | * gdbserver/linux-x86-64.c: New file. | |
5756 | * regformats/reg-x86-64.dat: New file. | |
5757 | * configure.tgt: Add x86_64-*-linux* gdbserver support. | |
5758 | * gdbserver/configure.srv: Add x86_64-*-linux* and regset support. | |
5759 | * gdbserver/configure.in: Add support for regsets. | |
5760 | * gdbserver/config.in: Regenerate. | |
5761 | * gdbserver/configure: Regenerate. | |
5762 | * gdbserver/Makefile.in: Likewise. Add $(linux_low_h). | |
5763 | * gdbserver/linux-low.h: New file. | |
5764 | * gdbserver/linux-low.c: Include "linux-low.h". Add support | |
5765 | for regsets. | |
5766 | * gdbserver/linux-arm-low.c: Include "linux-low.h". | |
5767 | * gdbserver/linux-ia64-low.c: Include "linux-low.h". | |
5768 | * gdbserver/linux-m68k-low.c: Include "linux-low.h". | |
5769 | * gdbserver/linux-mips-low.c: Include "linux-low.h". | |
5770 | * gdbserver/linux-ppc-low.c: Include "linux-low.h". | |
5771 | * gdbserver/linux-sh-low.c: Include "linux-low.h". | |
5772 | * gdbserver/linux-i386-low.c: Include "linux-low.h". Include | |
5773 | "i387-fp.h". Add PTRACE_GETREGS and friends. | |
5774 | * gdbserver/regcache.c (supply_register): New function. | |
5775 | (supply_register_by_name): New function. | |
5776 | (collect_register): New function. | |
5777 | (collect_register_by_name): New function. | |
5778 | ||
93652174 DJ |
5779 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
5780 | ||
5781 | * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER. | |
5782 | (config.status): Add configure.srv dependency. | |
5783 | (server_h): Add config.h dependency. | |
5784 | ||
a02e4a61 DJ |
5785 | 2002-02-27 Daniel Jacobowitz <[email protected]> |
5786 | ||
5787 | * regformats/reg-i386-linux.dat: New file, with $orig_eax. | |
5788 | * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. | |
5789 | * gdbserver/configure.srv: Change i386-*-linux* to use | |
5790 | reg-i386-linux.o. | |
5791 | ||
ce0eebec AC |
5792 | 2002-02-26 Andrew Cagney <[email protected]> |
5793 | ||
5794 | * x86-64-tdep.c: Re-indent. Update copyright date. | |
5795 | ||
82dbc5f7 AC |
5796 | 2002-02-26 Andrew Cagney <[email protected]> |
5797 | ||
5798 | From Michal Ludvig <[email protected]>: | |
5799 | * x86-64-tdep.c (value.h): Delete. | |
5800 | (gdb_assert.h): Include. | |
5801 | (x86_64_register_convert_to_virtual, | |
5802 | x86_64_register_convert_to_raw ): Add check which lets only | |
5803 | floating-point values to be converted. | |
5804 | (value_push): Delete. | |
5805 | (x86_64_push_arguments): Order of arguments pushed on stack fixed. | |
5806 | (i386_gdbarch_init): Number of register_bytes fixed. | |
5807 | ||
e4621584 AC |
5808 | 2002-02-26 Andrew Cagney <[email protected]> |
5809 | ||
5810 | * MAINTAINERS: Add x86-64 target. | |
5811 | ||
81a9a963 AC |
5812 | 2002-02-26 Andrew Cagney <[email protected]> |
5813 | ||
5814 | * memattr.c (mem_command): Eliminate ``true'' and ``false''. | |
5815 | * osfsolib.c (solib_map_sections): Ditto. | |
5816 | * irix5-nat.c (solib_map_sections): Ditto. | |
5817 | * corelow.c (gdb_check_format): Ditto. | |
5818 | * symfile.c (symfile_bfd_open): Ditto. | |
5819 | * solib.c (solib_map_sections): Ditto. | |
5820 | Fix PR gdb/354. | |
7e336ba1 | 5821 | |
0f017ab9 AC |
5822 | 2002-02-26 Andrew Cagney <[email protected]> |
5823 | ||
5824 | * remote.c (_initialize_remote): By default, disable ``e'' and | |
5825 | ``E'' step out-of-range packets. | |
5826 | ||
75738c29 AS |
5827 | 2002-02-26 Andreas Schwab <[email protected]> |
5828 | ||
5829 | * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as | |
5830 | m68k_linux_frame_saved_pc. | |
5831 | (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of | |
5832 | in_sigtramp. | |
5833 | (SIGCONTEXT_PC_OFFSET): Remove. | |
5834 | * m68klinux-nat.c (m68k_linux_frame_saved_pc, | |
5835 | m68k_linux_sigtramp_saved_pc): New functions. | |
5836 | (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define. | |
5837 | (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h. | |
5838 | (UCONTEXT_PC_OFFSET): Define. | |
5839 | (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both | |
5840 | non-RT and RT signal trampolines. | |
5841 | ||
7e8ed687 RE |
5842 | 2002-02-26 Richard Earnshaw <[email protected]> |
5843 | ||
5844 | * config/arm/tm-embed.h (TARGET_UPAGES): Delete. | |
5845 | (TARGET_NBPG, STACK_END_ADDR): Delete | |
5846 | (VARIABLES_INSIDE_BLOCK): Delete. | |
5847 | ||
6972bc8b AC |
5848 | 2002-02-25 Andrew Cagney <[email protected]> |
5849 | ||
5850 | * utils.c (perror_with_name): Make string parameter constant. | |
5851 | (print_sys_errmsg): Ditto. | |
5852 | (query): Ditto. | |
5853 | * defs.h (perror_with_name): Update. | |
5854 | (print_sys_errmsg): Update. | |
5855 | (query): Update. | |
5856 | ||
aa32f823 DJ |
5857 | 2002-02-25 Daniel Jacobowitz <[email protected]> |
5858 | ||
5859 | From Eliot Dresselhaus <[email protected]>: | |
5860 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo. | |
5861 | ||
19caaa45 PS |
5862 | 2002-02-25 Peter Schauer <[email protected]> |
5863 | ||
5864 | * rs6000-nat.c (set_host_arch): Do not switch to a new architecture | |
5865 | if it already matches the current architecture from the exec file. | |
5866 | Include arch-utils.h for gdbarch_info_init prototype. | |
5867 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
5868 | ||
d951901f EZ |
5869 | 2002-02-25 Eli Zaretskii <[email protected]> |
5870 | ||
5871 | * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the | |
5872 | list of exported variables. | |
5873 | ||
7ea81414 DJ |
5874 | 2002-02-24 Daniel Jacobowitz <[email protected]> |
5875 | ||
5876 | * gdbserver/configure.srv: New file. | |
5877 | * gdbserver/configure.in: Use configure.srv instead | |
5878 | of the host/target makefile fragments. Set GDBSERVER_DEPFILES | |
5879 | from it. | |
5880 | * gdbserver/configure: Regenerated. | |
5881 | * gdbserver/terminal.h: New file. | |
5882 | * gdbserver/Makefile.in: Update for configure changes. Remove | |
5883 | more unneeded include paths. | |
5884 | ||
080fe24b AC |
5885 | 2002-02-24 Andrew Cagney <[email protected]> |
5886 | ||
5887 | From wiz at danbala: | |
5888 | * config/sparc/tm-sp64.h: Fix grammar and typos. | |
5889 | Fix PR gdb/287. | |
5890 | ||
8605d56e AC |
5891 | 2002-02-24 Andrew Cagney <[email protected]> |
5892 | ||
5893 | * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux'' | |
a4b6fc86 AC |
5894 | with either ``GNU/Linux'' or ``Linux kernel''. Update copyright. |
5895 | * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto. | |
5896 | * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto. | |
ca557f44 AC |
5897 | * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto. |
5898 | * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto. | |
5899 | * s390-tdep.c: Ditto. | |
92362027 AC |
5900 | * config/nm-linux.h, config/alpha/nm-linux.h: Ditto. |
5901 | * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h: | |
5902 | * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto. | |
5903 | * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto. | |
5904 | * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto. | |
5905 | * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto. | |
5906 | * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto. | |
5907 | * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto. | |
5908 | * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto. | |
5909 | * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto. | |
8605d56e | 5910 | Fix PR gdb/378. |
7e336ba1 | 5911 | |
8ed32cc0 AC |
5912 | 2002-02-23 Andrew Cagney <[email protected]> |
5913 | ||
a3007b6f AC |
5914 | * lin-thread.c: Delete file. |
5915 | * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer | |
5916 | to gdb_proc_service.h. | |
5917 | * configure: Re-generate. | |
5918 | ||
50a9e2f1 AC |
5919 | * ocd.c (ocd_open): Do not try to open the "ocd" device. |
5920 | * serial.c (serial_open): Delete check for "ocd". | |
5921 | Fix PR gdb/349. | |
5922 | ||
8b6e7932 AC |
5923 | * Makefile.in (linux-thread.o): Delete target. |
5924 | * linux-thread.c: Delete file. | |
5925 | ||
d155c46b AC |
5926 | * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other |
5927 | renamed SH files to be consistent. | |
5928 | ||
8ed32cc0 AC |
5929 | * symtab.c (sort_search_symbols): Use xfree. |
5930 | ||
0e18d038 RE |
5931 | 2002-02-23 Richard Earnshaw <[email protected]> |
5932 | ||
5933 | * arm-linux-tdep.c (arm_linux_init_abi): Register | |
5934 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE | |
5935 | * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old | |
5936 | definition with undef, since we don't want the sysvr4 definition. | |
5937 | (SKIP_TRAMPOLINE_CODE): Likewise. | |
5938 | ||
27aac7ff AC |
5939 | 2002-02-23 Andrew Cagney <[email protected]> |
5940 | ||
5941 | From 2002-02-22 Alfred M. Szmidt <[email protected]>: | |
5942 | ||
5943 | * configure.in: (AC_CHECK_FUNCS) Added test for | |
5944 | canonicalize_file_name Regenerated. | |
5945 | * config.in, configure: Regenerated. | |
5946 | * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is | |
5947 | defined use canonicalize_file_name. | |
7e336ba1 | 5948 | |
65a6e0ee MC |
5949 | 2002-02-23 Michael Chastain <[email protected]> |
5950 | ||
5951 | * MAINTAINERS: Remove Michael Chastain from "paper trail" list. | |
5952 | ||
47b95330 AC |
5953 | 2002-02-23 Andrew Cagney <[email protected]> |
5954 | ||
5955 | * README: Remove references to cygnus.com. | |
5956 | * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar | |
5957 | dot com'' form. Remove references to cygnus.com and sourceware. | |
5958 | ||
696f451b AC |
5959 | 2002-02-23 Andrew Cagney <[email protected]> |
5960 | ||
5961 | From 2002-02-19 Paul Eggert <[email protected]>: | |
5962 | * Makefile.in (VER): Change "head -1" to "sed q", since POSIX | |
5963 | 1003.1-2001 no longer allows "head -1". | |
5964 | * gdb/Makefile.in (version.c): Likewise. | |
5965 | * gdb/doc/Makefile.in (GDBvn.texi): Likewise. | |
5966 | * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is | |
5967 | equivalent. POSIX 1003.1-2001 no longer allows "diff -c3". | |
5968 | ||
bbaca940 AC |
5969 | 2002-02-23 Andrew Cagney <[email protected]> |
5970 | ||
5971 | * cli/cli-decode.c (cmd_cfunc_eq): New function. | |
5972 | * command.h (cmd_cfunc_eq): Declare. | |
5973 | * cli/cli-decode.h (cmd_cfunc_eq): Ditto. | |
5974 | ||
5975 | * cli/cli-cmds.h (is_complete_command): Change parameter to a | |
5976 | ``struct cmd_list_element *''. | |
5977 | * cli/cli-cmds.c (is_complete_command): Update. Use | |
5978 | cmd_cfunc_eq. | |
5979 | * top.c (execute_command): Pass the command to | |
5980 | is_complete_command. | |
5981 | * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq. | |
5982 | ||
b8b8b047 AC |
5983 | 2002-02-23 Andrew Cagney <[email protected]> |
5984 | ||
5985 | From 2002-02-20 Martin Schwidefsky <[email protected]>: | |
5986 | * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed | |
5987 | architecture defines. | |
5988 | * s390-tdep.c (s390_gdbarch_init): Likewise. | |
5989 | ||
19d3fc80 RE |
5990 | 2002-02-23 Richard Earnshaw <[email protected]> |
5991 | ||
5992 | * arm-linux-tdep.c (arm_linux_extract_return_value): Make static. | |
5993 | (arm_linux_push_arguments): Likewise. | |
5994 | (arm_linux_init_abi): Register them. Also register linux-specific | |
5995 | call_dummy_words. | |
5996 | (find_minsym_and_objfile): Use strcmp, not STREQ. | |
5997 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete. | |
5998 | (arm_linux_call_dummy_words): Delete declaration. | |
5999 | (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete. | |
6000 | (arm_linux_extract_return_value, arm_linux_push_arguments): Delete | |
6001 | declarations. | |
6002 | (LOWEST_PC): Delete. | |
6003 | ||
3ab13650 PS |
6004 | 2002-02-23 Peter Schauer <[email protected]> |
6005 | ||
6006 | * maint.c (print_section_info): Do not prepend `0x' to filepos | |
6007 | output, it will be handled by local_hex_string_custom. | |
6008 | ||
19d3fc80 | 6009 | 2002-02-23 Richard Earnshaw <[email protected]> |
85ae890c RE |
6010 | |
6011 | * arm-linux-nat.c (store_newfpe_single): Use regcache_collect. | |
6012 | (store_newfpe_double, store_newfpe_extended, store_fpregister) | |
6013 | (store_register, store_regs, fill_gregset, fill_fpregset): Likewise. | |
6014 | ||
d85a5daf JB |
6015 | 2002-02-22 Jim Blandy <[email protected]> |
6016 | ||
6017 | Indicate that the bcache functions don't change the strings | |
6018 | they're passed. | |
6019 | * bcache.h (bcache, hash): Add `const' keywords to declarations. | |
6020 | * bcache.c (bcache, hash): Add `const' keywords to definitions. | |
6021 | ||
eeb25b8a PM |
6022 | 2002-02-22 Pierre Muller <[email protected]> |
6023 | ||
6024 | * win32-nat.c (child_create_inferior): Fix create flags setting bug. | |
6025 | ||
6badb179 CF |
6026 | 2002-02-21 Christopher Faylor <[email protected]> |
6027 | ||
6028 | * win32-nat.c (register_loaded_dll): Just use raw name when we can't | |
6029 | find the complete path to a loaded DLL. | |
6030 | ||
e8717518 FF |
6031 | 2002-02-21 Fred Fish <[email protected]> |
6032 | ||
6033 | * dbxread.c (process_one_symbol): When finding an N_FUN symbol | |
6034 | that marks the end of the range of a function, enter a line number | |
6035 | entry that has a line number of zero and a PC offset that matches | |
6036 | the end of the function. This starts a range of PC's for which no | |
6037 | line number information is known. | |
6038 | * symtab.c (find_pc_sect_line): If our best fit is in a range of | |
6039 | PC's for which no line number info is found (line number is zero) | |
6040 | then we didn't find any valid line information. | |
6041 | * symtab.h: Document use of zero line number entry. | |
6042 | ||
9abe5450 EZ |
6043 | 2002-02-21 Elena Zannoni <[email protected]> |
6044 | ||
6045 | * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define. | |
6046 | (have_ptrace_getvrregs): Define for run time checks. | |
6047 | (gdb_vrregset_t): New type for Altivec register handling. | |
6048 | (fetch_register, store_register): Fetch/store altivec register | |
6049 | when needed. | |
6050 | (fetch_altivec_register, store_altivec_register): New functions. | |
6051 | (supply_vrregset, fill_vrregset): New functions. | |
6052 | (fetch_altivec_registers, store_altivec_registers): New functions. | |
6053 | (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec | |
6054 | registers as well. | |
6055 | ||
aaa38bb5 AJ |
6056 | 2002-02-21 Jiri Smid <[email protected]> |
6057 | ||
6058 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o. | |
6059 | ||
b34db576 RE |
6060 | 2002-02-21 Richard Earnshaw <[email protected]> |
6061 | ||
6062 | * Makefile.in (armnbsd-nat.o): Update dependencies. | |
6063 | * armnbsd-nat.c (supply_gregset): New function. Common code to | |
6064 | supply the integer register set. | |
6065 | (supply_fparegset): New function. Similar for FPA registers. | |
6066 | (fetch_regs, fetch_fp_regs): Use them. | |
6067 | (fetch_core_registers): Likewise. | |
6068 | (fetch_elfcore_registers): New function. | |
6069 | (arm_netbsd_elfcore_fns): New core-file type specification. | |
6070 | (_initialize_arm_netbsd_nat): Register it. | |
6071 | ||
3e56fc4b RE |
6072 | 2002-02-21 Richard Earnshaw <[email protected]> |
6073 | ||
6074 | * armnbsd-nat.c: Include gdbcore.h. | |
6075 | (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined. | |
6076 | (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit | |
6077 | 'void' to declaration, to shut up ARI. | |
6078 | (fetch_core_registers): Make static. Rewrite using supply_register. | |
6079 | (arm_netbsd_core_fns): New core-file type specification. | |
6080 | (_initialize_arm_netbsd_nat): New function. | |
6081 | ||
097f6b0b CF |
6082 | 2002-02-21 Christopher Faylor <[email protected]> |
6083 | ||
6084 | * win32-nat.c (register_loaded_dll): Correctly check for invalid handle | |
6085 | value. | |
6086 | ||
c914e0cc CF |
6087 | 2002-02-20 Christopher Faylor <[email protected]> |
6088 | ||
6089 | * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile | |
6090 | fails. | |
6091 | ||
385fa495 DJ |
6092 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6093 | ||
6094 | * jv-exp.y (parse_number): Change type of implicit longs | |
6095 | to builtin_type_uint64. | |
6096 | ||
e5f1222d DJ |
6097 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6098 | ||
6099 | * gdbserver/linux-low.c (mywait): Change argument to waitpid | |
6100 | to be an integer instead of a `union wait'. | |
6101 | ||
75c9abc6 DJ |
6102 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6103 | ||
6104 | * mips-linux-nat.c: Call the operating system GNU/Linux. | |
6105 | * mips-linux-tdep.c: Likewise. | |
6106 | * mips-tdep.c: Likewise. | |
6107 | ||
551792a5 DJ |
6108 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6109 | ||
6110 | Fix PR gdb/265. | |
6111 | * jv-exp.y (parse_number): Handle 64-bit integers. | |
6112 | ||
ee6e2b82 DJ |
6113 | 2002-02-20 Daniel Jacobowitz <[email protected]> |
6114 | ||
6115 | * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change | |
6116 | AC_STDC_HEADERS to AC_HEADER_STDC. | |
6117 | * gdbserver/configure: Regenerated. | |
6118 | ||
a48442a0 RE |
6119 | 2002-02-20 Richard Earnshaw <[email protected]> |
6120 | ||
6121 | * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC | |
6122 | is defined. | |
6123 | * sparc-tdep.c (get_longjmp_target): Likewise. | |
6124 | ||
fe419ffc RE |
6125 | 2002-02-20 Richard Earnshaw <[email protected]> |
6126 | ||
6127 | * News: Add news about ARM and Multi-arch. Mention the new target | |
6128 | arm*-*-netbsd*. | |
6129 | ||
5832ed7e JB |
6130 | 2002-02-19 Jim Blandy <[email protected]> |
6131 | ||
6132 | * stabsread.c (error_type_complaint): Improve error message. | |
6133 | ||
84563040 DJ |
6134 | 2002-02-19 Daniel Jacobowitz <[email protected]> |
6135 | ||
6136 | * gdbserver/README: Update documentation. | |
6137 | * gdbserver/configure.in: Update configury to match documentation. | |
6138 | * gdbserver/Makefile.in: Likewise. | |
6139 | * gdbserver/configure: Regenerated. | |
6140 | * gdbserver/aclocal.m4: New file, generated by aclocal. | |
6141 | * gdbserver/config.in: New file, generated by autoheader. | |
6142 | ||
375fd65b RE |
6143 | 2002-02-19 Richard Earnshaw <[email protected]> |
6144 | ||
6145 | * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and | |
6146 | armnbsd-nat.c. | |
6147 | ||
08216dd7 RE |
6148 | 2002-02-19 Richard Earnshaw <[email protected]> |
6149 | ||
6150 | * arm-tdep.h (enum arm_float_model): New enum. | |
6151 | (struct gdbarch_tdep): Add fp_model. | |
6152 | * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting | |
6153 | up floating-point conversions until we know the floating-point model | |
6154 | in use by the inferior. Don't complain about being unable to | |
6155 | determine the ABI of the inferior when we don't have one. | |
6156 | (arm_extract_return_value): Support different floating-point models. | |
6157 | (arm_store_return_value): Likewise. | |
aaa38bb5 | 6158 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to |
08216dd7 RE |
6159 | ARM_FLOAT_SOFT. |
6160 | (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP. | |
6161 | ||
65d6d66a PS |
6162 | 2002-02-19 Peter Schauer <[email protected]> |
6163 | ||
6164 | * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use | |
6165 | of ``current_gdbarch''. | |
6166 | ||
47221191 RE |
6167 | 2002-02-19 Richard Earnshaw <[email protected]> |
6168 | ||
6169 | * armnbsd-nat.c : ANSIfy all function declarations. | |
6170 | (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New. | |
6171 | (fetch_inferior_registers): Re-implement in terms of above. | |
6172 | (store_register, store_regs, store_fp_register, store_fp_regs): New. | |
6173 | (store_inferior_registers): Re-implement in terms of above. | |
6174 | ||
fdf39c9a RE |
6175 | 2002-02-19 Richard Earnshaw <[email protected]> |
6176 | ||
aaa38bb5 | 6177 | * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the |
fdf39c9a RE |
6178 | kernel. |
6179 | * arm-linux-tdep.c: Likewise. | |
6180 | * config/arm/tm-linux.h: Likewise. | |
6181 | ||
93247f88 RE |
6182 | 2002-02-19 Richard Earnshaw <[email protected]> |
6183 | ||
6184 | * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch. | |
6185 | * config/arm/nbsd.mt (TM_FILE): Delete. | |
6186 | * config/arm/tm-nbsd.h: Delete. | |
6187 | ||
d7b486e7 RE |
6188 | 2002-02-19 Richard Earnshaw <[email protected]> |
6189 | ||
6190 | * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED. | |
6191 | Initialize CALL_DUMMY_LENGTH. | |
6192 | ||
41d39a95 RE |
6193 | 2002-02-19 Richard Earnshaw <[email protected]> |
6194 | ||
6195 | * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New | |
6196 | function. | |
6197 | (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE. | |
aaa38bb5 | 6198 | * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only |
41d39a95 RE |
6199 | defines one thing and that is incorrect for this port. |
6200 | (IN_SOLIB_CALL_TRAMPOLINE): Delete. | |
6201 | ||
e1195560 PM |
6202 | 2002-02-18 Pierre Muller <[email protected]> |
6203 | ||
6204 | * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro. | |
6205 | ||
c1748f97 PM |
6206 | 2002-02-18 Pierre Muller <[email protected]> |
6207 | ||
6208 | * win32-nat.c (display_selector): New function. Displays information | |
6209 | about the information returned by GetThreadSelectorEntry API function. | |
6210 | (display_selectors): New function. Displays the infomation of | |
6211 | the selector given as argument, or of CS, DS ans FS selectors | |
6212 | if no argument is given. | |
6213 | ( _initialize_inftarg): Add "w32" as info prefix command. | |
6214 | Add "info w32 selector" as command calling display_selectors. | |
6215 | ||
e41e6bbf PM |
6216 | 2002-02-19 Pierre Muller <[email protected]> |
6217 | ||
6218 | * i386-tdep.c (get_longjmp_target): Fix compilation failure | |
6219 | by setting dummy values to JB_PC and JB_ELEMENT_SIZE | |
6220 | if not defined. | |
6221 | ||
0d3a9f48 RE |
6222 | 2002-02-18 Richard Earnshaw <[email protected]> |
6223 | ||
6224 | * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o. | |
6225 | ||
3fb4b924 RE |
6226 | 2002-02-18 Richard Earnshaw <[email protected]> |
6227 | ||
6228 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function. | |
6229 | (arm_fix_call_dummy): Call it. | |
6230 | (arm_call_dummy_breakpoint_offset): Delete. | |
6231 | (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset. | |
6232 | * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
6233 | ||
7f55af32 AC |
6234 | 2002-02-18 Andrew Cagney <[email protected]> |
6235 | ||
6236 | * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2. | |
6237 | Default to func_frame_chain_valid. | |
6238 | * gdbarch.h, gdbarch.c: Re-generate. | |
6239 | * frame.h (FRAME_CHAIN_VALID): Delete definition. | |
6240 | ||
05f13b9c EZ |
6241 | 2002-02-18 Elena Zannoni <[email protected]> |
6242 | ||
6243 | * ppc-linux-nat.c: Update copyright. | |
6244 | (fetch_register, store_register): Add tid parameter, don't compute | |
6245 | tid here. | |
6246 | (fetch_ppc_registers, store_ppc_registers): Add tid | |
6247 | parameter. Pass it along to callees. | |
6248 | (fetch_inferior_registers, store_inferior_registers): Compute tid | |
6249 | here, and pass it to calleed functions. | |
6250 | (fill_gregset, supply_fpregset): Clean up formatting. | |
6251 | ||
d7afb4c9 RE |
6252 | 2002-02-18 Richard Earnshaw <[email protected]> |
6253 | ||
6254 | * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double. | |
6255 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete. | |
6256 | ||
9df628e0 RE |
6257 | 2002-02-18 Richard Earnshaw <[email protected]> |
6258 | ||
6259 | * gdbarch.sh (GET_LONGJMP_TARGET): Add rule. | |
6260 | * gdbarch.c gdbarch.h: Regenerate. | |
6261 | * breakpoint.c (create_longjmp_breakpoint): Always compile this | |
6262 | function. | |
6263 | (breakpoint_reset): Test GET_LONGJMP_TARGET_P(). | |
6264 | * infrun.c (GET_LONGJMP_TARGET): Delete default definition. | |
6265 | (handle_inferior_event): Test GET_LONGJMP_TARGET_P(). | |
6266 | ||
6267 | * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields. | |
6268 | * arm-tdep.c (arm_get_longjmp_target): New function. | |
6269 | (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes | |
6270 | this to a positive value register arm_get_longjmp_target as the | |
6271 | longjmp handler. | |
6272 | * arm-linux-tdep.c (arm_get_longjmp_target): Delete. | |
6273 | (arm_linux_init_abi): Set up longjmp description in tdep. | |
6274 | * armnbsd-nat.c (get_longjmp_target): Delete. | |
6275 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp | |
6276 | description in tdep. | |
6277 | * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete. | |
6278 | (get_longjmp_target): Delete declaration. | |
6279 | (GET_LONGJMP_TARGET): Delete. | |
6280 | * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration. | |
6281 | (GET_LONGJMP_TARGET): Delete. | |
6282 | ||
57bc8964 KB |
6283 | 2002-02-17 Kevin Buettner <[email protected]> |
6284 | ||
6285 | From Peter Schauer <[email protected]>: | |
6286 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use | |
6287 | of ``current_gdbarch''. | |
6288 | ||
83d31a92 TT |
6289 | 2002-02-17 Tom Tromey <[email protected]> |
6290 | ||
6291 | * cli/cli-cmds.c (compare_strings): New function. | |
6292 | (complete_command): Only print each unique item once. | |
6293 | * completer.h (complete_line): Declare. | |
6294 | * completer.c (complete_line): New function. | |
6295 | (line_completion_function): Use it. | |
6296 | ||
17ef5d92 AC |
6297 | 2002-02-16 Andrew Cagney <[email protected]> |
6298 | ||
6299 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64. | |
6300 | * gdbarch.h, gdbarch.c: Re-generate. | |
6301 | ||
491b8946 DJ |
6302 | 2002-02-16 Daniel Jacobowitz <[email protected]> |
6303 | ||
6304 | * valarith.c (value_x_unop): Fix decrement; support post-decrement. | |
6305 | ||
6306 | 2002-02-16 Daniel Jacobowitz <[email protected]> | |
6307 | ||
6308 | From Peter Schauer <[email protected]>: | |
6309 | * valops.c (value_arg_coerce): Don't take the address of a reference | |
6310 | to convert an argument to a reference. | |
6311 | ||
dfe7f3ac CF |
6312 | 2002-02-15 Christopher Faylor <[email protected]> |
6313 | ||
6314 | * win32-nat.c (get_image_name): New function. | |
6315 | (handle_load_dll): Use get_image_name function. | |
6316 | (get_child_debug_event): Avoid registering debug events until possibly | |
6317 | execed process is started. | |
6318 | (child_create_inferior): Allow invocation via shell so that command | |
6319 | line redirection, etc. works ok. | |
6320 | (_initialize_inftarg): Add new command: "set shell" to control whether | |
6321 | a shell is used to start a process. | |
6322 | ||
1d33e73a DJ |
6323 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
6324 | ||
6325 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno | |
6326 | instead of find_register_by_number. | |
6327 | (cannot_store_register): Likewise. | |
6328 | ||
48cd0caa PM |
6329 | 2002-02-14 Pierre Muller <[email protected]> |
6330 | ||
aaa38bb5 | 6331 | * dwarf2read.c: Replace fprintf (stderr, ...) by |
48cd0caa PM |
6332 | fprintf_unfiltered (gdb_stderr, ...). |
6333 | ||
8656e7d8 DJ |
6334 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
6335 | ||
6336 | * gdbserver/gdbserver.1: Document --attach. | |
6337 | ||
66e810cd RE |
6338 | 2002-02-15 Richard Earnshaw <[email protected]> |
6339 | ||
6340 | * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint | |
6341 | descriptions. | |
6342 | * arm-tdep.c (arm_default_arm_le_breakpoint) | |
6343 | (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) | |
6344 | (arm_default_thumb_be_breakpoint): New. Initialize them from | |
6345 | traditional breakpoint defines. | |
6346 | (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. | |
6347 | (arm_gdbarch_init): Initialize new breakpoint variables. | |
6348 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. | |
6349 | (arm_linux_init_abi): Initialize linux-specific breakpoint. | |
6350 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. | |
6351 | (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common | |
6352 | code out to ... | |
6353 | (arm_netbsd_init_abi_common): ... here; new function. | |
6354 | * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) | |
6355 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. | |
6356 | * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. | |
6357 | * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete. | |
6358 | ||
97e03143 RE |
6359 | 2002-02-15 Richard Earnshaw <[email protected]> |
6360 | ||
6361 | * arm-tdep.h (enum arm_abi): New enum. | |
6362 | (struct gdbarch_tdep): New structure. | |
6363 | (LOWEST_PC): Provide a default. | |
6364 | (arm_gdbarch_register_os_abi): Declare new function. | |
6365 | * arm-tdep.c (arm_abi_names): New array. | |
6366 | (process_note_abi_tag_sections): New function. | |
6367 | (get_elfosabi): New function. | |
6368 | (arm_gdbarch_register_os_abi): New function. | |
6369 | (arm_gdbarch_init): Try to determine the ABI of the inferior. If | |
6370 | support for that ABI has been built in, then call the appropriate | |
6371 | configuration routine. Use gdbarch_num_regs() to get the number | |
6372 | of registers. | |
6373 | (arm_dump_tdep): New function. | |
6374 | (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New | |
6375 | place-holder functions. | |
6376 | (_initialize_arm_tdep): Register them. | |
6377 | * config/arm/tm-arm.h (LOWEST_PC): Delete. | |
6378 | ||
6379 | * armnbsd-tdep.c: New file. | |
6380 | * Makefile.in (armnbsd-tdep.o): Add dependencies. | |
6381 | * config/arm/nbsd.mt (TDEPFILES): Add it. | |
6382 | * config/arm/tm-nbsd.h (LOWEST_PC): Delete. | |
6383 | ||
6384 | * armnbsd-nat.c: Include regcache.h. | |
6385 | * Makefile.in (armnbsd-nat.o): Update dependency list. | |
6386 | ||
6387 | * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message. | |
6388 | ||
ad68be46 DJ |
6389 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6390 | ||
6391 | * gdbserver/Makefile.in: Fix typos in target rules. | |
6392 | ||
003d6d1d DJ |
6393 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6394 | ||
aaa38bb5 | 6395 | Fix part of PR gdb/267. |
003d6d1d DJ |
6396 | * linespec.c (find_methods): Handle constructors specially for now. |
6397 | ||
6b230f1b CV |
6398 | 2002-02-14 Corinna Vinschen <[email protected]> |
6399 | ||
6400 | * arm-tdep.c (arm_push_arguments): Eliminate special float type | |
6401 | handling. | |
6402 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call | |
6403 | standard_coerce_float_to_double(). | |
6404 | ||
1ea98d12 CF |
6405 | 2002-02-14 Christopher Faylor <[email protected]> |
6406 | ||
6407 | * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of | |
6408 | GDBINIT_FILENAME. | |
6409 | ||
dd47e6fd EZ |
6410 | 2002-02-14 Elena Zannoni <[email protected]> |
6411 | ||
6412 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't call | |
6413 | find_variant_by_name, because it confuses the multiarch | |
6414 | framework. Return NULL if there isn't an architecture with the | |
6415 | user supplied name, instead of forcing a different one without | |
6416 | recording the change with the multiarch machinery. | |
6417 | (find_variant_by_name): Delete. | |
6418 | ||
d7e39b9e PS |
6419 | 2002-02-14 Peter Schauer <[email protected]> |
6420 | ||
6421 | * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by | |
6422 | i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore. | |
6423 | ||
76e42a4f MH |
6424 | 2002-02-13 Martin M. Hunt <[email protected]> |
6425 | ||
aaa38bb5 | 6426 | * stack.c (print_frame_info_base): When calling |
76e42a4f MH |
6427 | print_frame_info_listing_hook, set current_source_symtab. |
6428 | ||
0a30fbc4 DJ |
6429 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6430 | ||
6431 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, | |
6432 | and remove unused $(INCLUDE_DIR). | |
6433 | Add regcache.c to OBS. | |
6434 | Add generated register protocol files to clean target. | |
6435 | Update dependencies for new objects, obsolete old target code. | |
6436 | ||
6437 | * gdbserver/linux-low.c: Remove all platform-specific code to | |
6438 | new files. Remove various dead code. Update to use regcache | |
6439 | functionality. | |
6440 | * gdbserver/remote-utils.c (fromhex): Add return statement | |
6441 | to quiet warning. | |
6442 | (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer | |
6443 | constant. | |
6444 | (input_interrupt): Add integer parameter to match prototype | |
6445 | of a signal handler. | |
6446 | (outreg): Use register_data (). | |
6447 | (prepare_resume_reply): Use gdbserver_expedite_regs. | |
6448 | * gdbserver/server.c (main): Dynamically allocate own_buf because | |
6449 | PBUFSIZ is no longer constant. Use registers_to_string () and | |
6450 | registers_from_string (). | |
6451 | * gdbserver/server.h: No longer include "defs.h". Add prototypes | |
6452 | for error (), fatal (), and warning (). Update definition of | |
6453 | PBUFSIZ to use regcache functionality. Add include guard. | |
6454 | * gdbserver/utils.c (fatal): Add missing ``const''. | |
6455 | (warning): New function. | |
6456 | ||
6457 | * regformats/regdat.sh: Include "regcache.h" in generated files. | |
6458 | Provide init_registers () function. | |
6459 | * regformats/regdef.h: Add prototype for set_register_cache (). | |
6460 | Add include guard. | |
6461 | ||
6462 | * gdbserver/linux-arm-low.c: New file. | |
6463 | * gdbserver/linux-i386-low.c: New file. | |
6464 | * gdbserver/linux-ia64-low.c: New file. | |
6465 | * gdbserver/linux-m68k-low.c: New file. | |
6466 | * gdbserver/linux-mips-low.c: New file. | |
6467 | * gdbserver/linux-ppc-low.c: New file. | |
6468 | * gdbserver/linux-sh-low.c: New file. | |
6469 | ||
6470 | * gdbserver/regcache.c: New file. | |
6471 | * gdbserver/regcache.h: New file. | |
6472 | ||
6473 | * gdbserver/low-linux.c: Removed obsolete file. | |
6474 | ||
4cc841d0 DJ |
6475 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6476 | ||
6477 | * config/arm/linux.mt: Update GDBSERVER_DEPFILES. | |
6478 | * config/i386/linux.mt: Likewise. | |
6479 | * config/ia64/linux.mt: Likewise. | |
6480 | * config/m68k/linux.mh: Likewise. | |
6481 | * config/powerpc/linux.mh: Likewise. | |
6482 | * config/mips/linux.mt: Likewise. | |
6483 | ||
6484 | * config/sh/linux.mt: Add GDBSERVER_DEPFILES. | |
6485 | ||
6486 | * config/i386/i386lynx.mh: Mark gdbserver variables | |
6487 | as (currently) obsolete for this target. | |
6488 | * config/i386/nbsd.mt: Likewise. | |
6489 | * config/i386/nbsdelf.mt: Likewise. | |
6490 | * config/m32r/m32r.mt: Likewise. | |
6491 | * config/m68k/m68klynx.mh: Likewise. | |
6492 | * config/m68k/nbsd.mt: Likewise. | |
6493 | * config/m68k/sun3os4.mh: Likewise. | |
6494 | * config/mips/vr5000.mt: Likewise. | |
6495 | * config/ns32k/nbsd.mt: Likewise. | |
6496 | * config/pa/hppabsd.mh: Likewise. | |
6497 | * config/pa/hppaosf.mh: Likewise. | |
6498 | * config/powerpc/nbsd.mt: Likewise. | |
6499 | * config/rs6000/rs6000lynx.mh: Likewise. | |
6500 | * config/s390/s390.mt: Likewise. | |
6501 | * config/s390/s390x.mt: Likewise. | |
6502 | * config/sparc/sparclynx.mh: Likewise. | |
6503 | * config/sparc/sun4os4.mh: Likewise. | |
6504 | * config/i386/x86-64linux.mt: Likewise. | |
6505 | * config/sparc/linux.mh: Likewise. | |
6506 | ||
a85f51e7 DJ |
6507 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
6508 | ||
6509 | * configure.tgt: Configure gdbserver only for known working | |
6510 | targets. Set ${build_gdbserver} instead of modifying ${configdirs}. | |
6511 | * configure.in: Check ${build_gdbserver}. Put gdbserver/ into | |
6512 | SUBDIRS if it is configured. Update comment for ${nativefile}. | |
6513 | * configure: Regenerated. | |
6514 | ||
65554fef MS |
6515 | 2002-02-13 Michael Snyder <[email protected]> |
6516 | ||
670a52db MS |
6517 | * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES. |
6518 | ||
6dbdc4a3 MS |
6519 | * gcore.c (gcore_command): Use gcore_default_target instead of NULL. |
6520 | (default_gcore_mach): Just return 0, work around a problem in bfd. | |
6521 | (default_gcore_target): OK to return NULL if exec_bfd is null. | |
6522 | (make_mem_sec): Use a cast, avoid a warning. | |
6523 | ||
6524 | * procfs.c (find_memory_regions_callback): Use a cast instead of | |
aaa38bb5 | 6525 | calling host_pointer_to_address (which complains if |
6dbdc4a3 MS |
6526 | sizeof (host pointer) != sizeof (target pointer)). |
6527 | (procfs_make_note_section): Avoid overflow in psargs string. | |
6528 | ||
aaa38bb5 | 6529 | * procfs.c (procfs_make_note_section): Make the default |
65554fef MS |
6530 | implementation return an error. |
6531 | ||
6532 | 2002-02-13 Rodney Brown <[email protected]> | |
6533 | ||
6534 | * procfs.c (procfs_make_note_section): Provide a default definition | |
6535 | (for alpha-dec-osf4.0f). Fix typos. | |
6536 | ||
1e4d76e7 EZ |
6537 | 2002-02-13 Elena Zannoni <[email protected]> |
6538 | ||
6539 | * linux-proc.c: Add include of regcache.h. | |
6540 | * Makefile.in (linux-proc.o): Add dependency on regcache.h. | |
6541 | ||
b6d1a1d5 AC |
6542 | 2002-02-13 Andrew Cagney <[email protected]> |
6543 | ||
6544 | From 2002-01-18 Greg McGary <[email protected]>: | |
aaa38bb5 AJ |
6545 | * memattr.c (create_mem_region): Disallow useless empty region. |
6546 | Regions are half-open intervals, so allow [A..B) [B..C) as | |
65554fef | 6547 | non-overlapping. |
b6d1a1d5 | 6548 | |
6c6ea35e MC |
6549 | 2002-02-13 Michael Chastain <[email protected]> |
6550 | ||
6551 | * defs.h: Kill CONST_PTR. | |
6552 | * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". | |
6553 | * c-lang.c (c_builtin_types): Likewise. | |
6554 | * ch-lang.c (ch_builtin_types): Likewise. | |
6555 | * f-lang.c (f_builtin_types): Likewise. | |
6556 | * language.c (unknown_builtin_types): Likewise. | |
6557 | * m2-lang.c (m2_builtin_types): Likewise. | |
6558 | * p-lang.c (pascal_builtin_types): Likewise. | |
6559 | * scm-lang.c (c_builtin_types): Likewise. | |
6560 | ||
3e0b0f48 KS |
6561 | 2002-02-13 Keith Seitz <[email protected]> |
6562 | ||
6563 | * arm-tdep.h (arm_get_next_pc): Add declaration. | |
6564 | ||
67255d04 RE |
6565 | 2002-02-13 Richard Earnshaw <[email protected]> |
6566 | ||
6567 | * arm-tdep.c (arm_use_struct_convention): Make static. Move to be | |
6568 | with other related struct-returning functions. | |
6569 | (arm_extract_struct_value_address): New function. | |
6570 | (arm_gdbarch_init): Initialize the above in multi-arch vector. Also | |
6571 | initialize float_format, double_format and long_double_format as | |
6572 | appropriate to the endianness of the target. | |
6573 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. | |
6574 | (arm_use_struct_convention): Delete declaration. | |
6575 | (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete. | |
6576 | ||
079777f6 KS |
6577 | 2002-02-13 Keith Seitz <[email protected]> |
6578 | ||
6579 | * defs.h (core_addr_to_string_nz): New function. | |
6580 | ||
34588f23 MK |
6581 | 2002-02-13 Mark Kettenis <[email protected]> |
6582 | ||
6583 | Apply missing bits of 2002-01-15 patch. | |
6584 | * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. | |
6585 | (fill_fpregset): Use i387_fill_fsave. | |
6586 | ||
49b563f9 KS |
6587 | 2002-02-12 Keith Seitz <[email protected]> |
6588 | ||
49b563f9 KS |
6589 | * utils.c (core_addr_to_string): Use phex instead of phex_nz. |
6590 | (core_addr_to_string_nz): New function. | |
6591 | ||
aeb98c60 RE |
6592 | 2002-02-11 Richard Earnshaw <[email protected]> |
6593 | ||
6594 | * arm-linux-nat.c: Really include arm-tdep.h. | |
6595 | * config/arm/tm-linux.h (struct type, struct value): Declare. | |
6596 | ||
65554fef MS |
6597 | 2002-02-11 Michael Snyder <[email protected]> |
6598 | ||
6599 | * procfs.c: Include elf-bfd.h (for elfcore_write functions). | |
6600 | (gcore section): Ifdef for Solaris and Unixware only. | |
6601 | (procfs_do_thread_registers): Unixware needs one lwpstatus | |
6602 | per thread (not one prstatus or pstatus). | |
6603 | (procfs_make_note_section): Iterate only over kernel threads (lwps), | |
6604 | not over all gdb threads. For unixware, call elfcore_write_pstatus | |
6605 | once before iterating over threads. | |
6606 | ||
34e8f22d RE |
6607 | 2002-02-11 Richard Earnshaw <[email protected]> |
6608 | ||
6609 | * arm-tdep.h: New file. | |
6610 | * arm-tdep.c: Include arm-tdep.h. | |
6611 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
6612 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
6613 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
6614 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
6615 | (arm_extract_return_value, arm_register_name): Make static. | |
6616 | (arm_software_single_step): Similarly. Fix types in declaration. | |
6617 | (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) | |
6618 | (arm_store_return_value, arm_store_struct_return): New functions. | |
6619 | (arm_gdbarch_init): Register the above functions. Also register | |
6620 | call_dummy_start_offset, sizeof_call_dummy_words, | |
6621 | function_start_offset, inner_than, decr_pc_after_break, fp_regnum, | |
6622 | sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, | |
aaa38bb5 | 6623 | max_register_virtual_size, register_size. Set up |
34e8f22d RE |
6624 | prologue_cache.saved_regs here, rather than ... |
6625 | (_initialize_arm_tdep): ... here. | |
6626 | * config/arm/tm-arm.h (struct type, struct value): Delete forward | |
6627 | declarations. | |
6628 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
6629 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
6630 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
6631 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
6632 | (arm_extract_return_value, arm_register_name): Delete declarations. | |
6633 | (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) | |
6634 | (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) | |
6635 | (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) | |
6636 | (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) | |
6637 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
6638 | (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) | |
6639 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) | |
6640 | (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) | |
6641 | (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) | |
6642 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. | |
6643 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) | |
6644 | (arm_get_next_pc): No-longer static -- these are needed by the RDI | |
6645 | interface. | |
6646 | * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. | |
6647 | * remote-rdi.c remote-rdp.c: Likewise. | |
6648 | * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) | |
6649 | (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. | |
6650 | * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus | |
6651 | definition. | |
6652 | ||
6653 | * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) | |
6654 | (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) | |
6655 | (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed | |
6656 | from non-ARM_ prefixed definitions. | |
6657 | * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update | |
6658 | all uses of above. | |
6659 | * remote-rdi.c remote-rdp.c: Likewise. | |
6660 | * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM. | |
6661 | ||
148754e5 RE |
6662 | 2002-02-11 Richard Earnshaw <[email protected]> |
6663 | ||
6664 | * arm-tdep.c (arm_frameless_function_invocation) | |
6665 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
6666 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
6667 | (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
6668 | (arm_pop_frame, arm_get_next_pc): Make static. | |
6669 | (arm_gdbarch_init): Register above in gdbarch structure. | |
6670 | (arm_read_fp): Renamed from arm_target_read_fp. | |
6671 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. | |
6672 | * config/arm/tm-arm.h (arm_frameless_function_invocation) | |
6673 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
6674 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
6675 | (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
6676 | (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) | |
6677 | (arm_pc_is_thumb_dummy): Delete declarations. | |
fcfb8836 RE |
6678 | (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN) |
6679 | (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS) | |
6680 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP) | |
6681 | (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete. | |
148754e5 | 6682 | |
434d2d4f DJ |
6683 | 2002-02-10 Daniel Jacobowitz <[email protected]> |
6684 | ||
6685 | * symtab.c (compare_search_syms): New function. | |
6686 | (sort_search_symbols): New function. | |
6687 | (search_symbols): Sort symbols after searching rather than | |
6688 | before. | |
6689 | ||
55241689 AC |
6690 | 2002-02-10 Andrew Cagney <[email protected]> |
6691 | ||
6692 | * NEWS: Linux -> GNU/Linux. | |
6693 | ||
028c194b AC |
6694 | 2002-02-10 Andrew Cagney <[email protected]> |
6695 | ||
6696 | * gdbarch.sh: For for level one methods, disallow a definition | |
6697 | when partially multi-arched. Add comments explaining rationale. | |
6698 | * gdbarch.h: Re-generate. | |
6699 | ||
6acf50cd AC |
6700 | 2002-02-10 Andrew Cagney <[email protected]> |
6701 | ||
6702 | * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when | |
6703 | multi-arch partial. | |
aaa38bb5 | 6704 | |
50248794 AC |
6705 | 2002-02-10 Andrew Cagney <[email protected]> |
6706 | ||
6707 | * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad | |
6708 | field. Use diff -u. | |
6709 | * gdbarch.c: Re-generate. | |
6710 | ||
c30e0066 AC |
6711 | 2002-02-10 Andrew Cagney <[email protected]> |
6712 | ||
9b56c5f3 | 6713 | * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete. |
c30e0066 AC |
6714 | * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch |
6715 | partial. | |
6716 | ||
6e6d6484 AC |
6717 | 2002-02-10 Andrew Cagney <[email protected]> |
6718 | ||
6719 | * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when | |
6720 | multi-arch partial. | |
6721 | (PUSH_ARGUMENTS): Switch to using predefault. | |
6722 | * gdbarch.c: Regenerate. | |
6723 | ||
c203844d AC |
6724 | 2002-02-10 Andrew Cagney <[email protected]> |
6725 | ||
6726 | * valops.c (PUSH_ARGUMENTS): Delete definition. | |
6727 | * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch | |
6728 | partial. Default to default_push_arguments. | |
6729 | * gdbarch.h, gdbarch.c: Regenerate. | |
6730 | ||
b5a2688f AC |
6731 | 2002-02-09 Andrew Cagney <[email protected]> |
6732 | ||
6733 | * defs.h (throw_exception): Rename return_to_top_level. Update | |
6734 | comments. | |
6735 | * utils.c (error_stream, internal_verror, quit): Ditto. | |
6736 | * top.c (throw_exception, catcher): Ditto. | |
6737 | * sparclet-rom.c (sparclet_load): Ditto. | |
6738 | * remote.c (interrupt_query, minitelnet): Ditto. | |
6739 | * remote-sds.c (interrupt_query): Ditto. | |
6740 | * remote-mips.c (mips_error, mips_kill): Ditto. | |
6741 | * ocd.c (interrupt_query): Ditto. | |
6742 | * monitor.c (monitor_interrupt_query): Ditto. | |
6743 | * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. | |
6744 | * target.h: Update comment. | |
aaa38bb5 | 6745 | |
b5a2688f | 6746 | * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. |
aaa38bb5 | 6747 | |
2fa5c1e0 AC |
6748 | 2002-02-09 Andrew Cagney <[email protected]> |
6749 | ||
6750 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to | |
6751 | default_double_format. | |
6752 | * gdbarch.h, gdbarch.c: Re-generate. | |
6753 | * findvar.c (floatformat_unknown): Delete variable definition. | |
6754 | * doublest.h (floatformat_unknown): Delete variable declaration. | |
6755 | ||
da966255 JB |
6756 | 2002-02-09 Jim Blandy <[email protected]> |
6757 | ||
6758 | * stabsread.c (read_type): Add code to parse Sun's syntax for | |
6759 | prototyped function types. | |
6760 | ||
123a4891 AC |
6761 | 2002-02-09 Andrew Cagney <[email protected]> |
6762 | ||
6763 | * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS. | |
6764 | (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS. | |
6765 | ||
fb39c8f3 PS |
6766 | 2002-02-09 Peter Schauer <[email protected]> |
6767 | ||
6768 | * xcoffsolib.c (_initialize_xcoffsolib): Renamed from | |
6769 | _initialize_solib. Fixes name clash with solib.c:_initialize_solib, | |
6770 | now _initialize_xcoffsolib gets called again and overrides the | |
6771 | commands from solib.c in a native configuration. | |
6772 | ||
0b87a11d MK |
6773 | 2002-02-09 Mark Kettenis <[email protected]> |
6774 | ||
6775 | * doublest.c (store_typed_floating): Don't try to return a value. | |
6776 | Fixes PR gdb/290. | |
6777 | ||
bdc2fc72 JB |
6778 | 2002-02-08 Jim Blandy <[email protected]> |
6779 | ||
6780 | * c-typeprint.c (c_type_print_varspec_suffix): If a function type | |
6781 | is prototyped and has no arguments, print its argument list as | |
6782 | `(void)'. | |
6783 | ||
da69bbcf CD |
6784 | 2002-02-08 Chris Demetriou <[email protected]> |
6785 | ||
6786 | * MAINTAINERS (write-after-approval): Add myself. | |
6787 | (paper-trail): I've escaped! | |
aaa38bb5 | 6788 | |
b69571f5 CF |
6789 | 2002-02-08 Christopher Faylor <[email protected]> |
6790 | ||
6791 | * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf | |
6792 | changes. | |
6793 | (_initialize_check_for_gdb_ini): Ditto. | |
6794 | ||
f6871398 MH |
6795 | 2002-02-08 Martin M. Hunt <[email protected]> |
6796 | ||
6797 | * win32-nat.c (cygwin_pid_to_str): Fix typo. | |
6798 | xaprintf -> xasprintf. | |
6799 | ||
4e52d31c PM |
6800 | 2002-02-08 Pierre Muller <[email protected]> |
6801 | ||
6802 | * win32-nat.c: Remove use of printf and sprintf functions. | |
6803 | ||
39bbf761 RE |
6804 | 2002-02-08 Richard Earnshaw <[email protected]> |
6805 | ||
6806 | * arm-tdep.c (arm_frame_chain_valid): Make static. | |
6807 | (arm_push_arguments): Likewise. | |
6808 | (arm_gdbarch_init): New function. | |
6809 | (_initialize_arm_tdep): Call it. | |
6810 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. | |
6811 | (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. | |
6812 | (FRAME_CHAIN_VALID): Delete. | |
6813 | (arm_frame_chain_valid): Delete declaration. | |
6814 | (PUSH_ARGUMENTS): Delete. | |
6815 | (arm_push_arguments): Delete declaration. | |
6816 | (CALL_DUMMY_P): Delete. | |
6817 | ||
9c9532c9 CV |
6818 | 2002-02-08 Andrew Cagney <[email protected]> |
6819 | Corinna Vinschen <[email protected]> | |
6820 | ||
6821 | * gdbtypes.c (build_gdbtypes): Disable setting a specific float format | |
6822 | on builtin float types. | |
6823 | ||
4e8f7a8b DJ |
6824 | 2002-02-08 Daniel Jacobowitz <[email protected]> |
6825 | ||
6826 | * utils.c: Include <curses.h> before "bfd.h". | |
6827 | * tui/tui-hooks.c: Likewise. | |
6828 | * tui/tui.c: Likewise. | |
6829 | * tui/tuiCommand.c: Likewise. | |
6830 | * tui/tuiData.c: Likewise. | |
6831 | * tui/tuiDataWin.c: Likewise. | |
6832 | * tui/tuiDisassem.c: Likewise. | |
6833 | * tui/tuiGeneralWin.c: Likewise. | |
6834 | * tui/tuiIO.c: Likewise. | |
6835 | * tui/tuiLayout.c: Likewise. | |
6836 | * tui/tuiRegs.c: Likewise. | |
6837 | * tui/tuiSource.c: Likewise. | |
6838 | * tui/tuiSourceWin.c: Likewise. | |
6839 | * tui/tuiStack.c: Likewise. | |
6840 | * tui/tuiWin.c: Likewise. | |
6841 | ||
cd4bffcf EZ |
6842 | 2002-02-07 Elena Zannoni <[email protected]> |
6843 | ||
6844 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array | |
6845 | to include space for pseudoregs as well. Update loops accordingly. | |
6846 | (sh_fp_frame_init_saved_regs): Ditto. | |
6847 | (sh_init_extra_frame_info, sh_pop_frame): Split long lines. | |
6848 | ||
26806ce2 AC |
6849 | 2002-02-07 Andrew Cagney <[email protected]> |
6850 | ||
6851 | * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer. | |
6852 | Add Richard Earnshaw to Arm maintainers. | |
6853 | ||
97fdab62 AC |
6854 | 2002-02-07 Andrew Cagney <[email protected]> |
6855 | ||
a6b98203 AC |
6856 | * defs.h (warning_begin): Delete declaration. |
6857 | ||
97fdab62 AC |
6858 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): |
6859 | Delete macro. | |
6860 | ||
78b29b40 MS |
6861 | 2002-02-07 Michael Snyder <[email protected]> |
6862 | ||
aaa38bb5 | 6863 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
78b29b40 MS |
6864 | Logic bug, remove misplaced else. |
6865 | ||
d8849953 KD |
6866 | 2002-02-07 Klee Dienes <[email protected]> |
6867 | ||
6868 | * fork-inferior.c (fork_inferior): Add '!' to the list of | |
6869 | characters that need to be quoted when building a string for the | |
6870 | shell. Quote '!' specifically with a backslash, since CSH chokes | |
6871 | when trying to evaluate "str!str". | |
aaa38bb5 | 6872 | |
095778a0 NC |
6873 | 2002-02-06 Nick Clifton <[email protected]> |
6874 | ||
6875 | * rdi-share/host.h: Only provide a typedef for bool if it is not | |
6876 | defined. | |
6877 | ||
1900040c MS |
6878 | 2002-02-04 Michael Snyder <[email protected]> |
6879 | ||
6880 | * breakpoint.h (enum bptype): Add new overlay event bp type. | |
6881 | (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. | |
aaa38bb5 | 6882 | |
1900040c MS |
6883 | * breakpoint.c (create_internal_breakpoint): New function. |
6884 | (internal_breakpoint_number): Moved into create_internal_breakpoint. | |
6885 | (create_longjmp_breakpoint): Use create_internal_breakpoint. | |
6886 | (create_thread_event_breakpoint): Ditto. | |
6887 | (create_solib_event_breakpoint): Ditto. | |
6888 | (create_overlay_event_breakpoint): New function. | |
6889 | (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. | |
6890 | (update_breakpoints_after_exec): Delete and re-initialize | |
6891 | overlay event breakpoints after an exec. Add FIXME comment | |
6892 | about longjmp breakpoint. | |
6893 | (print_it_typical): Ignore overlay event breakpoints. | |
6894 | (print_one_breakpoint): Ditto. | |
6895 | (mention): Ditto. | |
6896 | (bpstat_what): Do not stop for overlay event breakpoints. | |
6897 | (delete_breakpoint): Don't delete overlay event breakpoints. | |
6898 | (breakpoint_re_set_one): Delete the overlay event breakpoint. | |
6899 | (breakpoint_re_set): Re-create overlay event breakpoint. | |
6900 | ||
6901 | * symfile.c (overlay_auto_command): Enable overlay breakpoints. | |
6902 | (overlay_manual_command): Disable overlay breakpoints. | |
6903 | (overlay_off_command): Disable overlay breakpoints. | |
6904 | ||
082fc60d RE |
6905 | 2002-02-06 Richard Earnshaw <[email protected]> |
6906 | ||
6907 | * arm-tdep.c: Include elf-bfd.h and coff/internal.h. | |
6908 | (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines | |
6909 | to here from config/tm-arm.h. | |
6910 | (coff_sym_is_thumb): Make static. | |
6911 | (arm_elf_make_msymbol_special): New function. | |
6912 | (arm_coff_make_msymbol_special): New function. | |
6913 | * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. | |
6914 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. | |
6915 | (coff_sym_is_thumb): Delete declaration. | |
6916 | (arm_elf_make_msymbol_special): Declare. | |
6917 | (arm_coff_make_msymbol_special): Declare. | |
6918 | (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. | |
6919 | (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special. | |
6920 | ||
039c5766 RE |
6921 | 2002-02-06 Richard Earnshaw <[email protected]> |
6922 | ||
6923 | * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. | |
6924 | ||
6925 | 2002-02-06 Richard Earnshaw <[email protected]> | |
6926 | ||
6927 | * gdbarch.sh (PRINT_FLOAT_INFO): Add rule. | |
6928 | * gdbarch.c gdbarch.h: Regenerate. | |
6929 | * arch-utils.c (default_print_float_info): New function. | |
6930 | * arch-utils.h (default_print_float_info): Prototype it. | |
6931 | * infcmd.c (float_info): Call PRINT_FLOAT_INFO. | |
6932 | * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. | |
6933 | (PRINT_FLOAT_INFO): Document it. | |
6934 | ||
6935 | * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. | |
6936 | * config/arm/tm-arm.h (FLOAT_INFO): Delete. | |
6937 | (PRINT_FLOAT_INFO): Define. | |
6938 | ||
58fa08f0 PM |
6939 | 2002-02-06 Pierre Muller <[email protected]> |
6940 | ||
aaa38bb5 | 6941 | * win32-nat.c (_initialize_check_for_gdb_ini): |
58fa08f0 PM |
6942 | Add typecast to sprintf argument to suppress a warning. |
6943 | ||
7393af7c PM |
6944 | 2002-02-05 Pierre Muller <[email protected]> |
6945 | ||
58fa08f0 | 6946 | * win32-nat.c (last_sig): Changed type of variable to target_signal, |
7393af7c PM |
6947 | to allow easier handling of pass state. |
6948 | (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, | |
6949 | that gives exception name and address. | |
6950 | (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro | |
aaa38bb5 | 6951 | and set last_sig value to ourstatus->value.sig. Some missing |
7393af7c | 6952 | exceptions added. |
aaa38bb5 AJ |
6953 | (child_continue): Correctly report continue_status. |
6954 | (get_child_debug_event,do_initial_child_stuff): Set last_sig to | |
7393af7c | 6955 | TARGET_SIGNAL_0 (new default value). |
aaa38bb5 | 6956 | (child_resume): consider sig argument passed to decide if |
7393af7c PM |
6957 | the exception should be passed to debuggee or not. |
6958 | ||
6af4589c MS |
6959 | 2002-02-05 Michael Snyder <[email protected]> |
6960 | ||
6961 | * regcache.c (fetch_register): Call target_fetch_register | |
6962 | only if we don't call FETCH_PSEUDO_REGISTER. | |
6963 | (store_register): Call target_store_register only if we | |
6964 | don't call STORE_PSEUDO_REGISTER. | |
6965 | ||
a2cf933a EZ |
6966 | 2002-02-05 Elena Zannoni <[email protected]> |
6967 | ||
6968 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and | |
6969 | ELF_MAKE_MSYMBOL_SPECIAL. | |
6970 | * gdbarch.c, gdbarch.h: Regenerate. | |
6971 | * arch-utils.c (default_make_msymbol_special): New function. | |
aaa38bb5 | 6972 | * arch-utils.h (default_make_msymbol_special): Export. |
a2cf933a EZ |
6973 | * elfread.c (elf_symtab_read): Compile use of |
6974 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now | |
6975 | multiarched. | |
6976 | * coffread.c (coff_symtab_read): Ditto, for | |
6977 | COFF_MAKE_MSYMBOL_SPECIAL. | |
6978 | ||
6bb7be43 JB |
6979 | 2002-02-05 Jim Blandy <[email protected]> |
6980 | ||
6981 | * solib-svr4.c (svr4_truncate_ptr): New function. | |
6982 | (svr4_relocate_section_addresses): Do the address arithmetic with | |
6983 | the appropriate truncation for target addresses, even when | |
6984 | CORE_ADDR is larger than a target address. | |
6985 | ||
e18651ec DJ |
6986 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
6987 | ||
6988 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid | |
6989 | to (int *). | |
6990 | ||
6b2725be DJ |
6991 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
6992 | ||
6993 | * gdbserver/linux-low.c (kill_inferior): Remove commented out | |
6994 | code. | |
6995 | ||
fca9e603 DJ |
6996 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
6997 | ||
6998 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. | |
6999 | ||
6c537a52 DJ |
7000 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7001 | ||
7002 | * gdbserver/linux-low.c: Remove unused include files. | |
7003 | ||
d844cde6 DJ |
7004 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7005 | ||
7006 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. | |
7007 | (read_inferior_memory): Use it. | |
7008 | (write_inferior_memory): Likewise. | |
7009 | ||
d07c63e7 DJ |
7010 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7011 | ||
7012 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of | |
7013 | grubbing through sys_errlist. | |
7014 | ||
da6d8c04 DJ |
7015 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
7016 | ||
7017 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. | |
7018 | ||
5b421780 PM |
7019 | 2002-02-04 Pierre Muller <[email protected]> |
7020 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. | |
7021 | ||
9f60d481 AC |
7022 | 2002-02-04 Andrew Cagney <[email protected]> |
7023 | ||
7024 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. | |
7025 | (do_sfunc, set_cmd_sfunc): New functions. | |
7026 | ||
7027 | * command.h (struct cmd_list_element): Add field func. | |
7028 | * cli/cli-decode.h (struct cmd_list_element): Ditto. | |
7029 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. | |
7030 | * cli/cli-decode.h: Ditto. | |
7031 | ||
7032 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. | |
7033 | (help_all, help_cmd_list): Ditto. | |
7034 | (find_cmd, complete_on_cmdlist): Ditto. | |
7035 | * top.c (execute_command): Ditto. | |
7036 | ||
7037 | * cli/cli-setshow.c (do_setshow_command): Call func instead of | |
7038 | function.sfunc. | |
7039 | ||
7040 | * infcmd.c (notice_args_read): Fix function signature. | |
7041 | ||
7042 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. | |
7043 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
7044 | * utils.c (initialize_utils): Ditto. | |
7045 | * maint.c (_initialize_maint_cmds): Ditto. | |
7046 | * infrun.c (_initialize_infrun): Ditto. | |
7047 | * demangle.c (_initialize_demangler): Ditto. | |
7048 | * remote.c (add_packet_config_cmd): Ditto. | |
7049 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
7050 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
7051 | * proc-api.c (_initialize_proc_api): Ditto. | |
7052 | * kod.c (_initialize_kod): Ditto. | |
7053 | * valprint.c (_initialize_valprint): Ditto. | |
7054 | * top.c (init_main): Ditto. | |
7055 | * infcmd.c (_initialize_infcmd): Ditto. | |
7056 | * corefile.c (_initialize_core): Ditto. | |
7057 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
7058 | * arch-utils.c (initialize_current_architecture): Ditto. | |
7059 | (_initialize_gdbarch_utils): Ditto. | |
7060 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
7061 | ||
7062 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. | |
7063 | * wince.c (_initialize_inftarg): Ditto. | |
7064 | * symfile.c (_initialize_symfile): Ditto. | |
7065 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
7066 | * language.c (_initialize_language): Ditto. | |
7067 | * arc-tdep.c (_initialize_arc_tdep): Ditto. | |
7068 | ||
f9ba0717 MS |
7069 | 2002-02-04 Michael Snyder <[email protected]> |
7070 | ||
7071 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. | |
7072 | ||
0c74b2a7 DJ |
7073 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
7074 | ||
7075 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. | |
7076 | Add rules for building the register data files. | |
7077 | ||
c638789f DJ |
7078 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
7079 | ||
7080 | * regformats/regdat.sh: Add braces to the definition of | |
7081 | expedite_regs_${arch}. | |
7082 | ||
db253027 DJ |
7083 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
7084 | ||
7085 | * regformats/regdef.h (struct reg): Add comment describing the | |
7086 | requirements for offset and size fields. | |
7087 | ||
206be19c AS |
7088 | 2002-02-04 Andreas Schwab <[email protected]> |
7089 | ||
7090 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. | |
7091 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. | |
7092 | ||
181c1381 RE |
7093 | 2002-02-04 Richard Earnshaw <[email protected]> |
7094 | ||
7095 | * gdbarch.sh (copyright): Update years in generated header. | |
7096 | (SMASH_TEXT_ADDRESS): Add rule. | |
db253027 | 7097 | * gdbarch.h, gdbarch.c: Re-generate. |
181c1381 RE |
7098 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
7099 | * dbxread.c: Likewise. | |
7100 | * dwarfread.c: Likewise. | |
7101 | * elfread.c: Likewise. | |
7102 | * somread.c: Likewise. | |
7103 | ||
7104 | * arm-tdep.c (arm_smash_text_address): New function. | |
7105 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. | |
7106 | ||
fa4ba8da PM |
7107 | 2002-02-04 Pierre Muller <[email protected]> |
7108 | ||
7109 | Add support for hardware watchpoints on win32 native. | |
aaa38bb5 | 7110 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of |
fa4ba8da | 7111 | CONTEXT_DEBUG_REGISTERS. |
aaa38bb5 | 7112 | (dr variable): New variable. Static array containing a local copy |
fa4ba8da PM |
7113 | of debug registers. |
7114 | (debug_registers_changed): New variable. Reflects when debug registers | |
7115 | are changed and need to be written to inferior. | |
aaa38bb5 | 7116 | (debug_registers_used): New variable. Reflects when any debug register |
fa4ba8da PM |
7117 | was set, used when new threads are created. |
7118 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by | |
7119 | i386-nat code. | |
7120 | (thread_rec): Set dr array if id is the thread of current_event . | |
7121 | (child_continue, child_resume): Change the debug registers for all | |
7122 | threads if debug_registers_changed. | |
7123 | (child_add_thread): Change the debug registers if debug_registers_used. | |
7124 | * config/i386/cygwin.mh: Add use of i386-nat.o file. | |
7125 | Link nm.h to new nm-cygwin.h file. | |
7126 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use | |
7127 | of hardware registers. | |
7128 | ||
a73c86fb AC |
7129 | 2002-02-03 Andrew Cagney <[email protected]> |
7130 | ||
7131 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. | |
7132 | Restore behavour broken by 2002-01-20 Andrew Cagney | |
7133 | <[email protected]> IEEE_FLOAT removal. | |
7134 | ||
acf5ed49 DJ |
7135 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
7136 | ||
7137 | * c-valprint.c (c_val_print): Pass a proper valaddr to | |
7138 | cp_print_class_method. | |
7139 | * valops.c (search_struct_method): If there is only one method | |
7140 | and args is NULL, return that method. | |
7141 | ||
493d28d5 DJ |
7142 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
7143 | ||
7144 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of | |
7145 | accessing tag_name directly. | |
7146 | ||
7495dfdb DJ |
7147 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
7148 | ||
7149 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead | |
7150 | of accessing tag_name directly. | |
7151 | ||
dd6bda65 DJ |
7152 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
7153 | ||
7154 | PR gdb/280 | |
7155 | * gdbtypes.c (replace_type): New function. | |
7156 | * gdbtypes.h (replace_type): Add prototype. | |
7157 | * stabsread.c (read_type): Use replace_type. | |
7158 | ||
88fe217c RE |
7159 | 2002-02-03 Richard Earnshaw <[email protected]> |
7160 | ||
7161 | * Makefile.in (memattr.o): Add missing dependencies rule. | |
7162 | ||
e5d66720 PS |
7163 | 2002-02-03 Peter Schauer <[email protected]> |
7164 | ||
7165 | * breakpoint.c (break_at_finish_command): Really export. | |
7166 | (break_at_finish_at_depth_command): Ditto. | |
7167 | (tbreak_at_finish_command): Ditto. | |
7168 | * hppa-tdep.c: Include completer.h. | |
7169 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). | |
7170 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. | |
7171 | ||
fffee0be AC |
7172 | 2002-02-01 Andrew Cagney <[email protected]> |
7173 | ||
7174 | * utils.c (do_write): New function. | |
7175 | (error_stream): Rewrite combining the code from error_begin and | |
7176 | verror. | |
7177 | (verror): Rewrite using error_stream. | |
7178 | (error_begin): Delete function. | |
7179 | ||
255e7dbf AC |
7180 | 2002-02-01 Andrew Cagney <[email protected]> |
7181 | ||
7182 | * utils.c (error_begin): Make static. | |
7183 | * defs.h (error_begin): Delete declaration. | |
7184 | ||
7185 | * linespec.c (cplusplus_error): Replace cplusplus_hint. | |
7186 | (decode_line_1): Use cplusplus_error instead of error_begin, | |
7187 | cplusplus_hint and return_to_top_level. | |
7188 | * coffread.c (coff_symfile_read): Use error instead of error_begin | |
7189 | and return_to_top_level. | |
7190 | * infrun.c (default_skip_permanent_breakpoint): Ditto. | |
7191 | ||
ddfe3c15 AC |
7192 | 2002-02-01 Andrew Cagney <[email protected]> |
7193 | ||
7194 | * language.h (type_error, range_error): Make string parameter | |
7195 | constant. | |
7196 | * language.c (warning_pre_print): Delete extern declaration. | |
7197 | * dwarfread.c (warning_pre_print): Ditto. | |
7198 | * language.c (type_error, range_error): Rewrite to use verror and | |
7199 | vwarning instead of warning_begin. | |
7200 | ||
03ac34d5 MS |
7201 | 2002-02-01 Michael Snyder <[email protected]> |
7202 | ||
261c4ca2 MS |
7203 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
7204 | (set_ignore_count): Move misplaced comment back where it belongs. | |
03ac34d5 | 7205 | |
e00d1dc8 AC |
7206 | 2002-02-01 Andrew Cagney <[email protected]> |
7207 | ||
7208 | * command.h (NO_FUNCTION): Delete macro. | |
7209 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
7210 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
7211 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
7212 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
7213 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
aaa38bb5 | 7214 | |
76b79d6e DJ |
7215 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
7216 | ||
7217 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
7218 | Update ``this'' pointer when calling virtual functions. | |
7219 | ||
799f9e91 MS |
7220 | 2002-02-01 Michael Snyder <[email protected]> |
7221 | ||
c7bd442c | 7222 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
7223 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
7224 | ||
3cf384d4 DJ |
7225 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
7226 | ||
7227 | * regformats/reg-arm.dat: New file. | |
7228 | * regformats/reg-i386.dat: New file. | |
7229 | * regformats/reg-ia64.dat: New file. | |
7230 | * regformats/reg-m68k.dat: New file. | |
7231 | * regformats/reg-mips.dat: New file. | |
7232 | * regformats/reg-ppc.dat: New file. | |
7233 | * regformats/reg-sh.dat: New file. | |
7234 | * regformats/regdef.h: New file. | |
7235 | * regformats/regdat.sh: New file. | |
7236 | ||
0defa245 RE |
7237 | 2002-02-01 Richard Earnshaw <[email protected]> |
7238 | ||
7239 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
7240 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
7241 | (arm_frame_num_args): New function. | |
7242 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
7243 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
7244 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
7245 | ||
405f26e6 MS |
7246 | 2002-01-31 Michael Snyder <[email protected]> |
7247 | ||
502fd408 MS |
7248 | * breakpoint.c (break_at_finish_command): Export. |
7249 | (break_at_finish_at_depth_command): Export. | |
7250 | (tbreak_at_finish_command): Export. | |
7251 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
7252 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
7253 | "tbreak" commands, which are HPPA specific. | |
7254 | ||
7d35e135 MS |
7255 | * printcmd.c (disassemble_command): Remove an ancient |
7256 | artifact of an old merge. | |
7257 | ||
aaa38bb5 | 7258 | * symfile.h (enum overlay_debugging_state): |
d874f1e2 MS |
7259 | Define enum constant values for overlay mode. |
7260 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
aaa38bb5 AJ |
7261 | (overlay_is_mapped, overlay_auto_command, |
7262 | overlay_manual_command): Ditto. | |
d874f1e2 | 7263 | |
aaa38bb5 AJ |
7264 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
7265 | breakpoint_here_p, breakpoint_inserted_here_p, | |
7266 | breakpoint_thread_match, bpstat_stop_status, | |
9f04af04 MS |
7267 | describe_other_breakpoints, check_duplicates, clear_command): |
7268 | Coding standard fixes. | |
7269 | ||
8add0441 | 7270 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 7271 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
7272 | code: check bfd SEC_READONLY flag for section. |
7273 | ||
e351066e AC |
7274 | 2002-01-31 Andrew Cagney <[email protected]> |
7275 | ||
7d35e135 | 7276 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 7277 | |
8a48e967 DJ |
7278 | 2002-01-30 Daniel Jacobowitz <[email protected]> |
7279 | ||
7280 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
7281 | data symbols, since we search based on textlow and texthigh. | |
7282 | (find_pc_sect_symtab): Likewise. | |
7283 | ||
f5a96129 AC |
7284 | 2002-01-30 Andrew Cagney <[email protected]> |
7285 | ||
7286 | * defs.h (vwarning): Declare. | |
f5a96129 AC |
7287 | * utils.c (vwarning): New function. |
7288 | (warning): Call vwarning. | |
7289 | (warning_begin): Delete function. | |
7290 | ||
7291 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
7292 | the warning message. | |
7293 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
7294 | warning_begin. | |
7295 | ||
cefd4ef5 MS |
7296 | 2002-01-30 Michael Snyder <[email protected]> |
7297 | ||
1a703748 MS |
7298 | * NEWS: Mention "set trust-readonly-sections" command. |
7299 | Mention generate-core-file command. | |
cefd4ef5 | 7300 | |
3a11626d MS |
7301 | 2002-01-15 Michael Snyder <[email protected]> |
7302 | ||
7303 | * target.c: New command, "set trust-readonly-sections on". | |
7304 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
7305 | by reading them from the object file instead of from the target. | |
7306 | (initialize_targets): Register command "set trust-readonly-sections". | |
7307 | ||
d1c7e53b AC |
7308 | 2002-01-29 Andrew Cagney <[email protected]> |
7309 | ||
7310 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
7311 | pseudo-regs using a single loop. | |
7312 | ||
e2c9a72c AC |
7313 | 2002-01-30 Andrew Cagney <[email protected]> |
7314 | ||
7315 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
7316 | ||
69824b4e MK |
7317 | 2002-01-15 Rodney Brown <[email protected]> |
7318 | ||
7319 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
7320 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
7321 | * i386v4-nat.c: Include i387-nat.h. | |
7322 | (supply_fpregset): Use i387_supply_fsave. | |
7323 | (fill_fpregset): Use i387_fill_fsave. | |
7324 | ||
6eb69eab RE |
7325 | 2002-01-30 Richard Earnshaw <[email protected]> |
7326 | ||
7327 | * arm-tdep.c (arm_call_dummy_words): Define. | |
7328 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
7329 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
7330 | (CALL_DUMMY_WORDS): Define. | |
7331 | (arm_call_dummy_words): Declare. | |
7332 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
7333 | (arm_linux_call_dummy_words): Declare. | |
7334 | ||
9852326a AS |
7335 | 2002-01-30 Andreas Schwab <[email protected]> |
7336 | ||
7337 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
7338 | instead of referencing registers[] directly. | |
7339 | ||
977a3030 AC |
7340 | 2002-01-29 Andrew Cagney <[email protected]> |
7341 | ||
7342 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
7343 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
7344 | ||
2076c72b MS |
7345 | 2002-01-28 Michael Snyder <[email protected]> |
7346 | ||
7347 | * regcache.c (legacy_read_register_gen): Need to be able to | |
7348 | read pseudo-register as well as real register. | |
7349 | (legacy_write_register_gen): Ditto. | |
7350 | ||
8fcc723b AC |
7351 | 2002-01-28 Andrew Cagney <[email protected]> |
7352 | ||
7353 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
7354 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
7355 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
7356 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
7357 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
7358 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
7359 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
7360 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
7361 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
7362 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
7363 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
7364 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
7365 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
7366 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
7367 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
7368 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
7369 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
7370 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
7371 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
7372 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
7373 | ||
afe64c1a AC |
7374 | 2002-01-28 Andrew Cagney <[email protected]> |
7375 | ||
7376 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
7377 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
7378 | (initialize_current_architecture): Update target_byte_order using | |
7379 | information from BFD. | |
aaa38bb5 | 7380 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): |
afe64c1a AC |
7381 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. |
7382 | ||
75bc7ddf AC |
7383 | 2002-01-28 Andrew Cagney <[email protected]> |
7384 | ||
7385 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
7386 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
7387 | ||
7388 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
7389 | #ifdef INVALID_FLOAT. | |
7390 | * infcmd.c (do_registers_info): Ditto. | |
7391 | * values.c (unpack_double): Ditto. Add comment. | |
7392 | ||
7393 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
7394 | already commented out. | |
7395 | ||
0280a90a AS |
7396 | 2002-01-26 Andreas Schwab <[email protected]> |
7397 | ||
7398 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
7399 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
7400 | registers and add support for PTRACE_GETREGS. | |
7401 | ||
7072a954 AC |
7402 | 2002-01-24 Andrew Cagney <[email protected]> |
7403 | ||
7404 | GDB 5.1.1 released from 5.1 branch. | |
7405 | * NEWS: Add 5.1.1 news. | |
7406 | * README: Sync with 5.1 branch. | |
7407 | ||
86f902e0 FF |
7408 | 2002-01-23 Fred Fish <[email protected]> |
7409 | ||
7410 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
7411 | stabstring on initial malloc. Reallocing will copy it for us, | |
7412 | if necessary. | |
7413 | ||
8af51c36 EZ |
7414 | 2002-01-23 Elena Zannoni <[email protected]> |
7415 | ||
aaa38bb5 | 7416 | * Makefile.in (hpread_h): Delete. |
8af51c36 EZ |
7417 | (HFILES_NO_SRCDIR): Remove hpread.h. |
7418 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
7419 | (hpread.o): Update dependencies. | |
7420 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
7421 | ||
7422 | * hp-psymtab-read.c: Remove file. | |
7423 | * hp-symtab-read.c: Remove file. | |
7424 | * hpread.h: Remove file. | |
7425 | ||
7426 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
7427 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
7428 | January 1999. | |
7429 | ||
7430 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
aaa38bb5 | 7431 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, |
8af51c36 EZ |
7432 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): |
7433 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
7434 | ||
dc5cfeb6 EZ |
7435 | 2002-01-23 Elena Zannoni <[email protected]> |
7436 | ||
7437 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
7438 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
7439 | variable and use that, instead of calling the function several | |
7440 | times. | |
7441 | ||
ea87b71b AO |
7442 | 2002-01-24 Alexandre Oliva <[email protected]> |
7443 | ||
7444 | * configure.host: Accept sparcv9 as alias for sparc64. | |
7445 | * configure.tgt: Likewise. | |
7446 | ||
13fc0c2f KB |
7447 | 2002-01-22 Kevin Buettner <[email protected]> |
7448 | ||
7449 | * solib-aix5.c (build_so_list_from_mapfile) | |
7450 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
7451 | arguments is not reversed. | |
7452 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
7453 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
aaa38bb5 | 7454 | |
7bd872fe EZ |
7455 | 2002-01-22 Elena Zannoni <[email protected]> |
7456 | ||
7457 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
7458 | modified version of obsolete sh_fetch_pseudo_register. | |
7459 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
7460 | (sh4_register_read): New function. | |
7461 | (sh_pseudo_register_write): New function. Renamed and modified | |
7462 | version of obsolete sh_store_pseudo_register. | |
7463 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
7464 | (sh4_register_write): New function. | |
7465 | (sh_gdbarch_init): Remove setting of gdbarch function | |
7466 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
7467 | register_convert_to_raw, register_convert_to_virtual, | |
7468 | register_convertible. | |
7469 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
7470 | taken care by architecture specific functions | |
7471 | register_read/register_write. | |
7472 | (sh_sh4_register_convert_to_virtual): Make static. | |
7473 | (sh_sh4_register_convert_to_raw): Ditto. | |
7474 | ||
069e84fd AC |
7475 | 2002-01-22 Andrew Cagney <[email protected]> |
7476 | ||
7477 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
7478 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
7479 | ||
7480 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
7481 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
7482 | builtin_type_ieee_double_little, | |
7483 | builtin_type_ieee_double_littlebyte_bigword, | |
7484 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
7485 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
7486 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
7487 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
7488 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
7489 | ||
211a4f69 CV |
7490 | 2002-01-22 Corinna Vinschen <[email protected]> |
7491 | ||
7492 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
7493 | parameter. Set frameless flag if it exists and depended of | |
7494 | whether the scanned function is frameless or not. | |
7495 | (xstormy16_skip_prologue): If function is frameless, return | |
7496 | result of xstormy16_scan_prologue(). | |
7497 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
7498 | call. | |
7499 | ||
f81353e4 EZ |
7500 | 2002-01-21 Elena Zannoni <[email protected]> |
7501 | ||
7502 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
7503 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
7504 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
7505 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
7506 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
7507 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
7508 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
7509 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
7510 | gdbarch_tdep() just once, assign result to variable and use that, | |
7511 | instead of calling the function several times. | |
7512 | ||
63c73a17 MK |
7513 | 2002-01-20 Mark Kettenis <[email protected]> |
7514 | ||
7515 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
7516 | macros instead of LAST_FPU_CTRL_REGNUM. | |
7517 | (store_register): Likewise. | |
7518 | ||
39ad761d JB |
7519 | 2002-01-21 Jim Blandy <[email protected]> |
7520 | ||
7521 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
7522 | is up-to-date before running the program, not just when a program | |
7523 | exits. | |
7524 | ||
3d74b771 FF |
7525 | 2002-01-21 Fred Fish <[email protected]> |
7526 | ||
7527 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
7528 | when we have found all instructions we are looking for. | |
7529 | ||
966fbf70 RE |
7530 | 2002-01-21 Richard Earnshaw <[email protected]> |
7531 | ||
7532 | * arm-tdep.c (arm_register_name): New function. | |
7533 | (arm_registers_names): Make static. | |
7534 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
7535 | (arm_register_name): Declare. | |
7536 | (REGISTER_NAME): Use it. | |
7537 | ||
c3b4394c RE |
7538 | 2002-01-21 Richard Earnshaw <[email protected]> |
7539 | Kevin Buettner <[email protected]> | |
7540 | ||
7541 | Convert arm targets to new FRAME interface. | |
7542 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
7543 | (arm_frame_find_save_regs): Delete. | |
7544 | (arm_frame_init_saved_regs): New. | |
7545 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
7546 | Allocate extra_info as required. Convert all uses of fsr.regs | |
7547 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
7548 | to use extra_info. | |
7549 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
7550 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
7551 | (check_prologue_cache, save_prologue_cache): Likewise. | |
7552 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
7553 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
7554 | (FRAME_FIND_SAVED_REGS): Delete. | |
7555 | (arm_frame_find_saved_regs): Delete prototype. | |
7556 | (arm_frame_init_saved_regs): New prototype. | |
7557 | (FRAME_INIT_SAVED_REGS): Define. | |
7558 | ||
61d99182 AC |
7559 | 2002-01-20 Andrew Cagney <[email protected]> |
7560 | ||
7561 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
7562 | ||
6aaea291 AC |
7563 | 2002-01-20 Andrew Cagney <[email protected]> |
7564 | ||
7565 | From Jeff Law <[email protected]>: | |
7566 | * infttrace.c: Include <sys/pstat.h>. | |
7567 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
7568 | exec file if the ttrace equivalent fails. | |
7569 | ||
15f698d2 AC |
7570 | 2002-01-20 Andrew Cagney <[email protected]> |
7571 | ||
7572 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
7573 | (closeLogFile): Ditto. | |
7574 | ||
f86ddd7c MC |
7575 | 2002-01-20 Michael Chastain <[email protected]> |
7576 | ||
7577 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
7578 | ||
904507ce AC |
7579 | 2002-01-20 Andrew Cagney <[email protected]> |
7580 | ||
7581 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
7582 | Zannoni and Eli Zaretskii. | |
7583 | ||
d7f0b9ce DJ |
7584 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
7585 | ||
7586 | * buildsym.c: Update copyright years. | |
7587 | * c-typeprint.c: Likewise. | |
7588 | * dwarf2read.c: Likewise. | |
7589 | * f-typeprint.c: Likewise. | |
7590 | * gdbtypes.c: Likewise. | |
7591 | * gdbtypes.h: Likewise. | |
7592 | * hp-symtab-read.c: Likewise. | |
7593 | * hpread.c: Likewise. | |
7594 | * mdebugread.c: Likewise. | |
7595 | * p-typeprint.c: Likewise. | |
7596 | ||
3fd3d7d2 AC |
7597 | 2002-01-20 Andrew Cagney <[email protected]> |
7598 | ||
7599 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
7600 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
7601 | byte-order selectable. | |
7602 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
7603 | * arch-utils.c: Ditto. | |
7604 | (set_endian): Ditto. | |
7605 | (set_endian_from_file): Ditto. | |
7606 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
7607 | * gdbarch.sh: Ditto. | |
7608 | * gdbarch.h: Re-generate. | |
aaa38bb5 AJ |
7609 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
7610 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
7611 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
7612 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7613 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7614 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
7615 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
3fd3d7d2 AC |
7616 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete |
7617 | macro definition. | |
7618 | * config/mips/tm-wince.h: Remove #undef of macro | |
7619 | TARGET_BYTE_ORDER_SELECTABLE. | |
7620 | * config/sh/tm-wince.h: Ditto. | |
7621 | ||
b02dede2 DJ |
7622 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
7623 | ||
7624 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
7625 | member function fields. Add accessor macro | |
7626 | TYPE_FN_FIELD_ARTIFICIAL. | |
7627 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
7628 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
7629 | functions. | |
7630 | ||
c3643761 DJ |
7631 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
7632 | ||
7633 | * f-typeprint.c: Delete unused function f_type_print_args. | |
7634 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
7635 | ||
8176bb6d DJ |
7636 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
7637 | ||
7638 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
7639 | comment. Add ``artificial'' to ``union field_location''. | |
7640 | ||
7641 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
7642 | ||
7643 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
7644 | * mdebugread.c (parse_symbol): Likewise. | |
7645 | * stabsread.c (define_symbol): Likewise. | |
7646 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
7647 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
7648 | (hpread_doc_function_type): Likewise. | |
7649 | * hpread.c (hpread_function_type): Likewise. | |
7650 | ||
7fd60527 AC |
7651 | 2002-01-20 Andrew Cagney <[email protected]> |
7652 | ||
7653 | * configure.in (host_makefile_frag): Only require a host makefile | |
7654 | fragment when a native build. | |
7655 | * configure: Re-generate. | |
7656 | ||
c2f05ac9 AC |
7657 | 2002-01-20 Andrew Cagney <[email protected]> |
7658 | ||
7659 | * doublest.h (floatformat_from_type): Declare. | |
7660 | * doublest.c (floatformat_from_type): New function. | |
7661 | (convert_typed_floating): Use. | |
7662 | ||
7663 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
7664 | call to function floatformat_from_type. | |
7665 | ||
7666 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
7667 | * gdbarch.h, gdbarch.c: Re-generate. | |
7668 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
7669 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
7670 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
7671 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
7672 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
7673 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
7674 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
7675 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
7676 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
7677 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
7678 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
7679 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
7680 | ||
7681 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
7682 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
7683 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
7684 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
7685 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
7686 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
7687 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
7688 | ||
abf22e64 AJ |
7689 | 2002-01-20 Jiri Smid <[email protected]> |
7690 | ||
7691 | * configure.host, configure.tgt: Support x86-64. | |
7692 | * NEWS: Note new target x86-64. | |
7693 | ||
b7c4cbf8 AJ |
7694 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
7695 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
7696 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
7697 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
7698 | x86-64-linux-nat.o): Fix dependencies. | |
7699 | ||
82600034 AC |
7700 | 2002-01-19 Andrew Cagney <[email protected]> |
7701 | ||
7702 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
7703 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
7704 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
7705 | * config/sparc/xm-sun4os4.h: Delete file. | |
7706 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 7707 | |
bbe5c628 AC |
7708 | 2002-01-19 Andrew Cagney <[email protected]> |
7709 | ||
7710 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
7711 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
7712 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
7713 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
7714 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
7715 | * config/sparc/xm-sparclynx.h: Delete file. | |
7716 | * config/m68k/xm-m68klynx.h: Delete file. | |
7717 | * config/i386/xm-i386lynx.h: Delete file. | |
7718 | * config/xm-lynx.h: Delete file. | |
7719 | * config/djgpp/fnchange.lst: Update. | |
7720 | ||
f8453e34 JT |
7721 | 2002-01-19 Jason Thorpe <[email protected]> |
7722 | ||
7723 | * alpha-tdep.c (alpha_register_byte): New function. | |
7724 | (alpha_register_raw_size): Ditto. | |
7725 | (alpha_register_virtual_size): Ditto. | |
7726 | (alpha_skip_prologue_internal): Renamed from | |
7727 | alpha_skip_prologue. | |
7728 | (alpha_skip_prologue): New version that calls | |
7729 | alpha_skip_prologue_internal. | |
7730 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
7731 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
7732 | second argument from alpha_skip_prologue. | |
7733 | (REGISTER_BYTE): Use alpha_register_byte. | |
7734 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
7735 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
7736 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
7737 | generic_frameless_function_invocation_not. | |
7738 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
7739 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
7740 | ||
52d9e613 AC |
7741 | 2002-01-19 Andrew Cagney <[email protected]> |
7742 | ||
7743 | * config/mips/xm-news-mips.h: Delete file. | |
7744 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
7745 | ||
7746 | * config/m88k/xm-m88k.h: Delete file. | |
7747 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
7748 | * config/m88k/xm-delta88v4.h: Ditto. | |
7749 | * config/m88k/xm-delta88.h: Ditto. | |
7750 | ||
7751 | * config/alpha/xm-fbsd.h: Delete file. | |
7752 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
7753 | ||
7754 | * config/sparc/xm-sparc.h: Delete file. | |
7755 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
7756 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
7757 | * config/sparc/xm-sun4os4.h: Ditto. | |
7758 | * config/sparc/xm-linux.h: Ditto. | |
7759 | ||
7760 | * config/i386/xm-windows.h: Delete file. | |
7761 | ||
2d1b2124 AC |
7762 | 2002-01-19 Andrew Cagney <[email protected]> |
7763 | ||
7764 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
7765 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
7766 | ||
ee1f65f0 JT |
7767 | 2002-01-19 Jason Thorpe <[email protected]> |
7768 | ||
7769 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
7770 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
7771 | (CALL_DUMMY_P): Define. | |
7772 | (CALL_DUMMY_WORDS): Define. | |
7773 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
7774 | ||
98081e55 PB |
7775 | 2002-01-19 Per Bothner <[email protected]> |
7776 | ||
7777 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
7778 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
7779 | ||
0d056799 JT |
7780 | 2002-01-19 Jason Thorpe <[email protected]> |
7781 | ||
7782 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
7783 | (alpha_init_frame_pc_first): Ditto. | |
7784 | (alpha_fix_call_dummy): Ditto. | |
7785 | (alpha_store_struct_return): Ditto. | |
7786 | (alpha_extract_struct_value_address): Ditto. | |
7787 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
7788 | alpha_register_virtual_type. | |
7789 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
7790 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
7791 | alpha_extract_struct_value_address. | |
7792 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
7793 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
7794 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
7795 | ||
4604bcad MK |
7796 | 2002-01-19 Mark Kettenis <[email protected]> |
7797 | ||
7798 | * i386gnu-nat.c: Include "i386-tdep.h". | |
7799 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
7800 | point states such that it doesn't require FP7_REGNUM. | |
7801 | ||
140f9984 JT |
7802 | 2002-01-18 Jason Thorpe <[email protected]> |
7803 | ||
abf22e64 AJ |
7804 | * alpha-tdep.c (frame_extra_info): New. |
7805 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
7806 | frame->extra_info. |
7807 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
7808 | (alpha_frame_saved_pc): Use frame->extra_info. |
7809 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
7810 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
7811 | (init_extra_frame_info): Rename to... |
7812 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 7813 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
7814 | (alpha_frame_locals_address): Ditto. |
7815 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 7816 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
7817 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
7818 | alpha_frame_args_address. | |
abf22e64 | 7819 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 7820 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
7821 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
7822 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
7823 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
7824 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
7825 | ||
d734c450 JT |
7826 | 2002-01-18 Jason Thorpe <[email protected]> |
7827 | ||
7828 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
7829 | (alpha_cannot_fetch_register): Ditto. | |
7830 | (alpha_cannot_store_register): Ditto. | |
7831 | (alpha_register_convertible): Ditto. | |
7832 | (alpha_use_struct_convention): Ditto. | |
7833 | * config/alpha/tm-alpha.h: Update copyright years. | |
7834 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
7835 | (INNER_THAN): Use core_addr_lessthan. | |
7836 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
7837 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
7838 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
7839 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
7840 | (FRAME_CHAIN): Remove unnecessary cast. | |
7841 | ||
b4ceaee6 AC |
7842 | 2002-01-18 Andrew Cagney <[email protected]> |
7843 | ||
7844 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
7845 | obsolete. | |
7846 | ||
0a65a603 AC |
7847 | 2002-01-18 Andrew Cagney <[email protected]> |
7848 | ||
7849 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
7850 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
7851 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
7852 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
7853 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
7854 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
7855 | * x86-64-linux-nat.c: Ditto. | |
7856 | ||
636a6dfc JT |
7857 | 2002-01-18 Jason Thorpe <[email protected]> |
7858 | ||
abf22e64 | 7859 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
7860 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
7861 | (REGISTER_NAME): Define. | |
7862 | ||
acceddb6 JT |
7863 | 2002-01-18 Jason Thorpe <[email protected]> |
7864 | ||
7865 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
7866 | ||
ec32e4be JT |
7867 | 2002-01-18 Jason Thorpe <[email protected]> |
7868 | ||
7869 | * alpha-tdep.c: Update copyright years. | |
7870 | (alpha_next_pc): New function. | |
7871 | (alpha_software_single_step): Ditto. | |
7872 | * config/alpha/tm-alpha.h: Add prototype for | |
7873 | alpha_software_single_step. | |
7874 | ||
e771a871 JT |
7875 | 2002-01-18 Jason Thorpe <[email protected]> |
7876 | ||
7877 | * alphabsd-nat.c: Update copyright years. | |
7878 | (fill_gregset): Use regcache_collect. | |
7879 | (fill_fpregset): Likewise. | |
7880 | (fetch_inferior_registers): Only fetch integer registers | |
7881 | if requested to do so. | |
7882 | (store_inferior_registers): Only store integer registers | |
7883 | if requested to do so. | |
7884 | ||
7708fa01 AC |
7885 | 2002-01-17 Andrew Cagney <[email protected]> |
7886 | ||
7887 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
7888 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
7889 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
7890 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
7891 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
7892 | * config/arm/linux.mh (XDEPFILES): Delete. | |
7893 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
7894 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
7895 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
7896 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
7897 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
7898 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
7899 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
7900 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
7901 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
7902 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
7903 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
7904 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
7905 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
7906 | * config/i386/go32.mh (XDEPFILES): Delete. | |
7907 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
7908 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
7909 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
7910 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
7911 | * config/i386/linux.mh (XDEPFILES): Delete. | |
7912 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
7913 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
7914 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
7915 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
7916 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
7917 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
7918 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
7919 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
7920 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
7921 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
7922 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
7923 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
7924 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
7925 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
7926 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
7927 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
7928 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
7929 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
7930 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
7931 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
7932 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
7933 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
7934 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
7935 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
7936 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
7937 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
7938 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
7939 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
7940 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
7941 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
7942 | * config/mips/linux.mh (XDEPFILES): Delete. | |
7943 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
7944 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
7945 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
7946 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
7947 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
7948 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
7949 | (NATDEPFILES): Move core-aout.o to here. | |
7950 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
7951 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
7952 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
7953 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
7954 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
7955 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
7956 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
7957 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
7958 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
7959 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
7960 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
7961 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
7962 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
7963 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
7964 | * config/s390/s390.mh (XDEPFILES): Delete. | |
7965 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
7966 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
7967 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
7968 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
7969 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
7970 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
7971 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
7972 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
7973 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
7974 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
7975 | ||
375fc983 AC |
7976 | 2002-01-17 Andrew Cagney <[email protected]> |
7977 | ||
7978 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
7979 | Update queries to match. Default to quit and dump core. | |
7980 | ||
8926118c AC |
7981 | 2002-01-17 Andrew Cagney <[email protected]> |
7982 | ||
7983 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
7984 | copyright. | |
7985 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
7986 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
7987 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
7988 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
7989 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
7990 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
7991 | * mi/mi-main.c:Ditto. | |
7992 | ||
7993 | * stack.c, symfile.c: Update copyright. | |
7994 | ||
45b7b345 DJ |
7995 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
7996 | ||
db728ff7 DJ |
7997 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
7998 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
7999 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
8000 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 8001 | |
db728ff7 DJ |
8002 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
8003 | ||
8004 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
8005 | * gdbserver/low-lynx.c (myattach): Likewise. | |
8006 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
8007 | * gdbserver/low-sim.c (myattach): Likewise. | |
8008 | * gdbserver/low-sparc.c (myattach): Likewise. | |
8009 | * gdbserver/low-sun3.c (myattach): Likewise. | |
8010 | ||
8011 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 8012 | |
db728ff7 | 8013 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
8014 | (main): Handle "--attach". |
8015 | ||
8de3c354 AC |
8016 | 2002-01-16 Andrew Cagney <[email protected]> |
8017 | ||
8018 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
8019 | maintainer. | |
8020 | ||
b0129042 DJ |
8021 | 2002-01-15 Daniel Jacobowitz <[email protected]> |
8022 | ||
8023 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
8024 | check for non-conversion operators. | |
8025 | ||
ba8679fb | 8026 | 2002-01-15 Michael Snyder <[email protected]> |
2bf543a6 MS |
8027 | |
8028 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
8029 | (read_mapping): New function, abstract and re-use code. | |
8030 | (linux_find_memory_regions): Use new func read_mapping. | |
8031 | (linux_info_proc_cmd): New function, implement "info proc". | |
8032 | (_initialize_linux_proc): Add new command "info proc". | |
8033 | ||
e4f9b4d5 MS |
8034 | 2002-01-15 Michael Snyder <[email protected]> |
8035 | ||
8036 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
8037 | instead of manipulating bfd structure members directly. | |
8038 | (add_section_size_callback): New function, bfd sections callback | |
8039 | used by generic_load. | |
8040 | (load_sections_callback): New function, bfd sections callback | |
8041 | used by generic_load. | |
8042 | ||
08cf96df EZ |
8043 | 2002-01-15 Elena Zannoni <[email protected]> |
8044 | ||
abf22e64 | 8045 | [Based on work by Jim Blandy] |
08cf96df EZ |
8046 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
8047 | (builtin_type_vec128): Export. | |
8048 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
8049 | types. | |
8050 | (builtin_type_vec128): New builtin type for 128 bit vector | |
8051 | registers. | |
8052 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
8053 | builtin_type_v8hi. Create the vec128 register builtin type | |
8054 | structure. | |
8055 | (build_builtin_type_vec128): New function. | |
abf22e64 | 8056 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
8057 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
8058 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
8059 | AltiVec register to new builtin type. | |
8060 | ||
d7242108 DJ |
8061 | 2001-01-15 Daniel Jacobowitz <[email protected]> |
8062 | ||
8063 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
8064 | to make_cv_type. | |
8065 | ||
4ee3352d AC |
8066 | 2002-01-14 Andrew Cagney <[email protected]> |
8067 | ||
8068 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
8069 | CLEAN_UP_REGISTER_VALUE. | |
8070 | * regcache.c (supply_register): Update only call. | |
8071 | ||
f015b2e7 AC |
8072 | 2002-01-14 Andrew Cagney <[email protected]> |
8073 | ||
8074 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
8075 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
8076 | a29k-*-vxworks* targets as obsolete. | |
8077 | ||
356ae49d MS |
8078 | 2002-01-14 Michael Snyder <[email protected]> |
8079 | ||
8080 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
8081 | until we can resolve portability issues. | |
8082 | * gregset.h: Remove references to fpxregs. | |
8083 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
8084 | ||
ade8f45e AC |
8085 | 2002-01-13 Andrew Cagney <[email protected]> |
8086 | ||
8087 | * signals.c (target_signal_to_name): Rewrite. Only use | |
8088 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 8089 | |
89c49e7a AC |
8090 | 2002-01-13 Andrew Cagney <[email protected]> |
8091 | ||
8092 | From Petr Ledvina <[email protected]>: | |
8093 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
8094 | bounds of the signals array. | |
8095 | ||
4daa9f9f AC |
8096 | 2002-01-13 Andrew Cagney <[email protected]> |
8097 | ||
8098 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
8099 | ||
ba4bbdcb KS |
8100 | 2002-01-13 Keith Seitz <[email protected]> |
8101 | ||
8102 | * stack.c (print_frame_info_base): Print the frame's pc | |
8103 | only if when print_frame_info_listing_hook is not defined. | |
8104 | ||
575bbeb6 KS |
8105 | 2002-01-13 Keith Seitz <[email protected]> |
8106 | ||
8107 | * varobj.c (varobj_set_value): Make sure that there were no | |
8108 | errors evaluating the object before attempting to set its | |
8109 | value. | |
8110 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
8111 | so this offset adjustment is no longer necessary. | |
8112 | (create_child): Don't set the error flag if the child is | |
8113 | a CPLUS_FAKE_CHILD. | |
8114 | (value_of_child): If value_fetch_lazy fails, return NULL | |
8115 | so that callers will be notified that an error occurred. | |
8116 | (c_value_of_variable): Delay check of variable's validity | |
8117 | until later. We actually want all structs and unions to have | |
8118 | the value "{...}". | |
8119 | Do not return "???" for variables which could not be evaluated. | |
8120 | This error condition must be returned to the caller so that it | |
8121 | can get the error condition from gdb. | |
8122 | (cplus_name_of_child): Adjust index for vptr before figuring | |
8123 | out the name of the child. | |
8124 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
8125 | don't even bother trying to give a value for it. Just return | |
8126 | an error. Change all instances in this function. | |
8127 | (cplus_type_of_child): If our parent is one of the "fake" | |
8128 | parents, we need to get at the type of the real parent, and | |
8129 | derive the child's true type using this information. | |
8130 | ||
b76898ab AC |
8131 | 2002-01-13 Andrew Cagney <[email protected]> |
8132 | ||
8133 | From 2002-01-09 John Marshall <[email protected]>: | |
8134 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
8135 | sources.redhat.com, and tweak some related URLs which had | |
8136 | suffered from linkrot. | |
8137 | ||
b6649e88 AC |
8138 | 2002-01-13 Andrew Cagney <[email protected]> |
8139 | ||
8140 | From Jeff law: | |
8141 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
8142 | structures passed in registers. | |
8143 | ||
82cc5033 EZ |
8144 | 2002-01-13 Eli Zaretskii <[email protected]> |
8145 | ||
8146 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
8147 | white space which prevented compilation. Reported by DSK | |
8148 | <[email protected]>. | |
8149 | ||
ba5f2f8a MS |
8150 | 2002-01-11 Michael Snyder <[email protected]> |
8151 | ||
fbd35540 MS |
8152 | * symfile.c (build_section_addr_info_from_section_tab): |
8153 | Use bfd access method instead of manipulating bfd directly. | |
8154 | (syms_from_objfile): Ditto. | |
8155 | (simple_overlay_update_1): Ditto. | |
8156 | (simple_overlay_update): Ditto. | |
8157 | (generic_load): Ditto. | |
8158 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
8159 | (sections_overlap): FIXME comment, bfd access methods. | |
8160 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
8161 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
8162 | (section_is_mapped): FIXME comment, bfd access methods. | |
8163 | (section_is_overlay): FIXME comment, bfd access methods. | |
8164 | ||
ba5f2f8a MS |
8165 | * symfile.c (generic_load): Whitespace and long line cleanups. |
8166 | Remove duplicate variable, change several local variables to | |
8167 | more appropriate data types. | |
8168 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
8169 | ||
17df2af6 AC |
8170 | 2002-01-12 Andrew Cagney <[email protected]> |
8171 | ||
8172 | From Peter Schauer: | |
8173 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
8174 | convert NUM to a hex string. | |
8175 | ||
ec920329 EZ |
8176 | 2002-01-12 Elena Zannoni <[email protected]> |
8177 | ||
8178 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
8179 | the function. | |
538a76d6 | 8180 | Update Copyright year. |
ec920329 | 8181 | |
3abd2e01 AC |
8182 | 2002-01-12 Andrew Cagney <[email protected]> |
8183 | ||
8184 | * language.c (longest_raw_hex_string): Delete unused function. | |
8185 | ||
b21b22e0 PS |
8186 | 2002-01-11 Petr Sorfa <[email protected]> |
8187 | ||
8188 | * MAINTAINERS (write-after-approval): Add myself. | |
8189 | * dwarf2read.c (read_tag_string_type): Handling of | |
8190 | DW_AT_byte_size. | |
8191 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
8192 | first string size. | |
8193 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
8194 | ||
747fe712 RE |
8195 | 2002-01-11 Richard Earnshaw <[email protected]> |
8196 | ||
8197 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
8198 | GETPID(inferior_ptid). | |
8199 | (store_inferior_registers): Likewise. | |
8200 | ||
f1bea926 JM |
8201 | 2002-01-10 Jason Merrill <[email protected]> |
8202 | ||
8203 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
8204 | Fix DW_OP_minus. | |
8205 | ||
ae940673 AC |
8206 | 2002-01-10 Andrew Cagney <[email protected]> |
8207 | ||
8208 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
8209 | and bfd/elf32-sh-nbsd.c. | |
8210 | ||
00546b04 MS |
8211 | 2002-01-10 Michael Snyder <[email protected]> |
8212 | ||
352ed7b4 MS |
8213 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
8214 | ||
c18be923 MS |
8215 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
8216 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
8217 | ||
00546b04 MS |
8218 | * main.c (captured_main): Add new command line option "--pid". |
8219 | If the second command line argument (following the symbol-file) | |
8220 | begins with a digit, try to attach to it before trying to open | |
8221 | it as a corefile. | |
8222 | (print_gdb_help): Document the "--pid" argument. | |
8223 | ||
db60ec62 EZ |
8224 | 2002-01-10 Eli Zaretskii <[email protected]> |
8225 | ||
8226 | * completer.c (command_completer): New function. | |
8227 | ||
8228 | * completer.h <command_completer>: Add prototype. | |
8229 | ||
8230 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
8231 | completer for the "help" command. | |
8232 | ||
39c22d1a JM |
8233 | 2002-01-09 Jason Merrill <[email protected]> |
8234 | ||
8235 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
8236 | ||
c564377f MS |
8237 | 2002-01-09 Michael Snyder <[email protected]> |
8238 | ||
975aec09 MS |
8239 | * i386-linux-nat.c (fill_fpxregset): Make global. |
8240 | (store_fpxregset): Ditto. | |
8241 | ||
db4a10fa MS |
8242 | * gregset.h (gdb_fpxregset_t): Define. |
8243 | (supply_fpxregset): Prototype. | |
8244 | (fill_fpxregset): Prototype. | |
8245 | ||
c564377f MS |
8246 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
8247 | ||
c3d45d70 RE |
8248 | 2002-01-09 Richard Earnshaw <[email protected]> |
8249 | ||
8250 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
8251 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
8252 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
8253 | ||
fcc87af1 AC |
8254 | 2002-01-09 Andrew Cagney <[email protected]> |
8255 | ||
8256 | * MAINTAINERS: Update target maintainer rules so that any | |
8257 | Maintainer can approve a tested patch for a maintenance-only | |
8258 | target. | |
8259 | ||
dd96c05b RE |
8260 | 2002-01-09 Richard Earnshaw <[email protected]> |
8261 | ||
d4297db9 | 8262 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 8263 | |
d4297db9 | 8264 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
8265 | IN_SIGTRAMP. |
8266 | ||
145fdc6e MS |
8267 | 2002-01-08 Michael Snyder <[email protected]> |
8268 | ||
8269 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
8270 | real name of the executable, rather than the /proc name. | |
8271 | ||
be4d1333 MS |
8272 | 2002-01-03 Michael Snyder <[email protected]> |
8273 | ||
8274 | Implement a "generate-core-file" command in gdb, save target state. | |
8275 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
8276 | Save a corefile image of the current state of the inferior. | |
8277 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
8278 | * target.h (struct target_ops): Add new target vectors for saving | |
8279 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
8280 | (target_find_memory_regions): New macro. | |
8281 | (target_make_corefile_notes): New macro. | |
8282 | * target.c (update_current_target): Inherit new target methods. | |
8283 | (dummy_find_memory_regions): New place-holder method. | |
8284 | (dummy_make_corefile_notes): New place-holder method. | |
8285 | (init_dummy_target): Initialize new dummy target vectors. | |
8286 | * exec.c (exec_set_find_memory_regions): New function. | |
8287 | Allow the exec_ops vector for memory regions to be taken over. | |
8288 | (exec_make_note_section): New function, target vector method. | |
8289 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
8290 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
8291 | (procfs_make_note_section): New function, corefile method. | |
8292 | (init_procfs_ops): Set new target vector pointers. | |
8293 | (find_memory_regions_callback): New function. | |
8294 | (procfs_do_thread_registers): New function. | |
8295 | (procfs_corefile_thread_callback): New function. | |
8296 | * sol-thread.c (sol_find_memory_regions): New function. | |
8297 | (sol_make_note_section): New function. | |
8298 | (init_sol_thread_ops): Initialize new target vectors. | |
8299 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
8300 | Allow to_find_memory_regions vector to be taken over. | |
8301 | (inftarg_set_make_corefile_notes): New function. | |
8302 | Allow to_make_corefile_notes vector to be taken over. | |
8303 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
8304 | interface layer if not target_has_execution (may be a corefile). | |
8305 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
8306 | * config/sparc/sun4sol2.mh: Ditto. | |
8307 | * config/alpha/alpha-linux.mh: Ditto. | |
8308 | * config/arm/linux.mh: Ditto. | |
8309 | * config/i386/x86-64linux.mh: Ditto. | |
8310 | * config/ia64/linux.mh: Ditto. | |
8311 | * config/m68k/linux.mh: Ditto. | |
8312 | * config/mips/linux.mh: Ditto. | |
8313 | * config/powerpc/linux.mh: Ditto. | |
8314 | * config/sparc/linux.mh: Ditto. | |
8315 | ||
c6b92abd MS |
8316 | 2002-01-07 Michael Snyder <[email protected]> |
8317 | ||
8318 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
8319 | (registers[] and register_valid[]). | |
8320 | ||
4b09dc8c MS |
8321 | 2002-01-07 Michael Snyder <[email protected]> |
8322 | ||
abf22e64 AJ |
8323 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
8324 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
8325 | symbol file and shlibs. |
8326 | * Makefile.in: Add rule for linux-proc.o. | |
8327 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
8328 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
8329 | * config/arm/linux.mh: Ditto. | |
8330 | * config/i386/linux.mh: Ditto. | |
8331 | * config/i386/x86-64linux.mh: Ditto. | |
8332 | * config/ia64/linux.mh: Ditto. | |
8333 | * config/m68k/linux.mh: Ditto. | |
8334 | * config/mips/linux.mh: Ditto. | |
8335 | * config/powerpc/linux.mh: Ditto. | |
8336 | * config/sparc/linux.mh: Ditto. | |
8337 | ||
c25b74ac PM |
8338 | 2002-01-06 Pierre Muller <[email protected]> |
8339 | ||
8340 | * win32-nat.c: Add i386-tdep.h dependency. | |
8341 | ||
94cd915f MS |
8342 | 2002-01-07 Michael Snyder <[email protected]> |
8343 | ||
c7cccb76 MS |
8344 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
8345 | instead of bfd_get_arch_size. Don't bail out just because | |
8346 | there's no exec_bfd. | |
abf22e64 | 8347 | |
34c0bd93 MS |
8348 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
8349 | * p-valprint.c (pascal_object_print_value): Ditto. | |
8350 | * somread.c (som_symtab_read): Ditto. | |
8351 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
8352 | * valops.c (value_assign): Ditto. | |
8353 | ||
21c1c920 MS |
8354 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
8355 | use tilde_expand and strerror for opening save-tracepoints file. | |
8356 | ||
5bbd998e MS |
8357 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
8358 | ||
94cd915f MS |
8359 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
8360 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 8361 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
8362 | can be overridden with whatever value is appropriate to the host). |
8363 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
8364 | alloca to allocate potentially large buffer. | |
8365 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
8366 | * symm-nat.c (child_xfer_memory): Ditto. | |
8367 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
8368 | ||
494e8a93 JSC |
8369 | 2002-01-07 Jackie Smith Cashion <[email protected]> |
8370 | ||
8371 | From Nick Clifton <[email protected]> | |
8372 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
8373 | ||
d0e1d48e MS |
8374 | 2002-01-07 Michael Snyder <[email protected]> |
8375 | ||
abf22e64 | 8376 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
8377 | Don't use exec_bfd if it's NULL. |
8378 | ||
290b2c7a MK |
8379 | 2002-01-06 Mark Kettenis <[email protected]> |
8380 | ||
abf22e64 | 8381 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 8382 | |
aef21287 AC |
8383 | 2002-01-06 Andrew Cagney <[email protected]> |
8384 | ||
8385 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
8386 | * gnu-nat.c: Ditto. | |
8387 | ||
30efa627 AC |
8388 | 2002-01-06 Andrew Cagney <[email protected]> |
8389 | ||
8390 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
8391 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
8392 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
8393 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
8394 | z8k-coff have not been multi-arched. Update z8k-coff build | |
8395 | status. | |
8396 | ||
9b4ff276 AC |
8397 | 2002-01-06 Andrew Cagney <[email protected]> |
8398 | ||
8399 | * MAINTAINERS: Mark a29k target as obsolete. | |
8400 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
8401 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
8402 | comments. | |
8403 | * NEWS: Note that a29k targets are obsolete. | |
8404 | * a29k-tdep.c: Mark as obsolete. | |
8405 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
8406 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
8407 | a29k-*-vxworks* targets as obsolete. | |
8408 | * remote-adapt.c: Obsolete. | |
8409 | * remote-eb.c: Obsolete. | |
8410 | * remote-mm.c: Obsolete. | |
8411 | * remote-udi.c: Obsolete. | |
8412 | * config/a29k/a29k-udi.mt: Obsolete. | |
8413 | * config/a29k/a29k.mt: Obsolete. | |
8414 | * config/a29k/tm-a29k.h: Obsolete. | |
8415 | * config/a29k/tm-vx29k.h: Obsolete. | |
8416 | * config/a29k/vx29k.mt: Obsolete. | |
8417 | ||
a9011d31 AC |
8418 | 2002-01-05 Andrew Cagney <[email protected]> |
8419 | ||
8420 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
8421 | with BFD_ENDIAN_BIG. | |
8422 | ||
9299404e AC |
8423 | 2002-01-05 Andrew Cagney <[email protected]> |
8424 | ||
8425 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
8426 | * configure, config.in: Re-generate. | |
8427 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
8428 | * defs.h: Do not include <endian.h>. | |
8429 | ||
7e89e357 JT |
8430 | 2002-01-05 Jason Thorpe <[email protected]> |
8431 | ||
8432 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
8433 | * config.in: Regenerate. | |
8434 | * configure.in: Update copyright years. | |
8435 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
8436 | * configure: Regenerate. | |
8437 | * i386bsd-nat.c: Update copyright years. | |
8438 | (fill_gregset): Use regcache_collect. | |
8439 | (fetch_inferior_registers): Only fetch integer registers | |
8440 | if requested to do so. Add support for XMM registers | |
8441 | using PT_GETXMMREGS. | |
8442 | (store_inferior_registers): Only store integer registers | |
8443 | if requested to do so. Add support for XMM registers | |
8444 | using PT_SETXMMREGS. | |
8445 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
8446 | (store_inferior_registers): Remove. | |
8447 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
8448 | (fetch_elfcore_registers): New function. | |
8449 | (i386nbsd_elfcore_fns): New. | |
8450 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
8451 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
8452 | i386bsd-nat.o. | |
8453 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
8454 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
8455 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
8456 | * config/i386/tm-nbsd.h: Update copyright years. | |
8457 | (HAVE_SSE_REGS): Define. | |
8458 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
8459 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
8460 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
8461 | (SIGCONTEXT_PC_OFFSET): Remove. | |
8462 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
8463 | ||
a752853e AC |
8464 | 2002-01-05 Andrew Cagney <[email protected]> |
8465 | ||
8466 | * configure.tgt: Remove powerpc-*-macos* target. | |
8467 | * config/m68k/xm-mpw.h: Delete file. | |
8468 | * config/xm-mpw.h: Delete file. | |
8469 | * ser-mac.c: Delete file. | |
8470 | * mpw-make.sed: Delete file. | |
8471 | * mpw-config.in: Delete file. | |
8472 | * mac-xdep.c: Delete file. | |
8473 | * mac-gdb.r: Delete file. | |
8474 | * mac-defs.h: Delete file. | |
8475 | * mac-nat.c: Delete file. | |
8476 | * config/powerpc/macos.mh: Delete file. | |
8477 | * config/powerpc/macos.mt: Delete file. | |
8478 | * config/powerpc/nm-macos.h: Delete file. | |
8479 | * config/powerpc/tm-macos.h: Delete file. | |
8480 | * source.c (openp, open_source_file): Remove obsolete code. | |
8481 | * top.c (gdb_readline): Ditto. | |
8482 | * utils.c (query): Ditto. | |
8483 | * event-top.c (display_gdb_prompt): Ditto. | |
8484 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
8485 | * NEWS: Update. | |
8486 | ||
d7449b42 AC |
8487 | 2002-01-04 Andrew Cagney <[email protected]> |
8488 | ||
8489 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
8490 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
8491 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
8492 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
8493 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
8494 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
8495 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
8496 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
8497 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
8498 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
8499 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
8500 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
8501 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
8502 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
8503 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
8504 | * gdbarch.c: Re-generate. | |
8505 | ||
356374e8 DJ |
8506 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
8507 | ||
8508 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
8509 | for core files. | |
8510 | ||
a2b8f8f8 JT |
8511 | 2002-01-04 Jason Thorpe <[email protected]> |
8512 | ||
8513 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
8514 | ||
12466af9 AC |
8515 | 2002-01-04 Andrew Cagney <[email protected]> |
8516 | ||
8517 | * value.h (value_ptr): Delete typedef. | |
8518 | ||
3549ab40 JT |
8519 | 2002-01-04 Jason Thorpe <[email protected]> |
8520 | ||
8521 | * i386nbsd-nat.c: Update copyright years. | |
8522 | Include i386-tdep.h. | |
8523 | ||
fedbd091 EZ |
8524 | 2002-01-04 Elena Zannoni <[email protected]> |
8525 | ||
8526 | * stabsread.c: Update copyright years. | |
8527 | ||
8528 | From Debashis Mahata <[email protected]>: | |
8529 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
8530 | output for structs and unions. | |
fec8b34f | 8531 | Fix PR gdb/269. |
fedbd091 | 8532 | |
eb43544b DJ |
8533 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
8534 | ||
8535 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
8536 | prototype. | |
8537 | ||
1514d34e DJ |
8538 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
8539 | ||
8540 | * cp-abi.c: Fix whitespace. | |
8541 | (baseclass_offset): New wrapper function. | |
8542 | * cp-abi.h (baseclass_offset): Add prototype. | |
8543 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
8544 | ||
8545 | * valops.c (vb_match): Move to... | |
8546 | * gnu-v2-abi.c (vb_match): here. | |
8547 | * valops.c (baseclass_offset): Move to... | |
8548 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
8549 | ||
8550 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
8551 | ||
8552 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
8553 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
8554 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
8555 | ||
7f8c9282 DJ |
8556 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
8557 | ||
8558 | * valops.c (find_overload_match): Accept obj as a | |
8559 | reference parameter. Update it before returning. | |
8560 | * value.h (find_overload_match): Update prototype. | |
8561 | * eval.c (evaluate_subexp_standard): Pass object to | |
8562 | find_overload_match by reference. | |
8563 | ||
f23631e4 AC |
8564 | 2002-01-03 Andrew Cagney <[email protected]> |
8565 | ||
8566 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
8567 | register attribute from value declarations. | |
8568 | * valops.c: Ditto. | |
8569 | * value.h: Ditto. | |
8570 | * scm-lang.c (scm_lookup_name): Ditto. | |
8571 | ||
79e10fab | 8572 | 2002-01-03 Michael Snyder <[email protected]> |
abf22e64 | 8573 | |
79e10fab AC |
8574 | Abstract the functionality of iterating over mapped memory |
8575 | regions into a general purpose iterator function. | |
abf22e64 | 8576 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
8577 | iterator for memory sections. |
8578 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
8579 | (solib_mappings_callback): New function, callback for above. | |
8580 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
8581 | (info_mappings_callback): New function, callback for above. | |
8582 | ||
8583 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
8584 | ||
c5ad026a MK |
8585 | 2002-01-01 Mark Kettenis <[email protected]> |
8586 | ||
d2a7c97a MK |
8587 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
8588 | * i386-tdep.c: Include "elf-bfd.h". | |
8589 | (process_note_abi_tag_sections): New function. | |
8590 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
8591 | combinations. | |
8592 | ||
c5ad026a MK |
8593 | * maint.c (_initialize_maint_cmds): Add missing \ in |
8594 | string-literal. | |
8595 | ||
a1a5b71e | 8596 | For older changes see ChangeLog-2001 |
c906108c SS |
8597 | \f |
8598 | Local Variables: | |
8599 | mode: change-log | |
8600 | left-margin: 8 | |
8601 | fill-column: 74 | |
8602 | version-control: never | |
8603 | End: |