]>
Commit | Line | Data |
---|---|---|
375fd65b RE |
1 | 2002-02-19 Richard Earnshaw <[email protected]> |
2 | ||
3 | * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and | |
4 | armnbsd-nat.c. | |
5 | ||
08216dd7 RE |
6 | 2002-02-19 Richard Earnshaw <[email protected]> |
7 | ||
8 | * arm-tdep.h (enum arm_float_model): New enum. | |
9 | (struct gdbarch_tdep): Add fp_model. | |
10 | * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting | |
11 | up floating-point conversions until we know the floating-point model | |
12 | in use by the inferior. Don't complain about being unable to | |
13 | determine the ABI of the inferior when we don't have one. | |
14 | (arm_extract_return_value): Support different floating-point models. | |
15 | (arm_store_return_value): Likewise. | |
16 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to | |
17 | ARM_FLOAT_SOFT. | |
18 | (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP. | |
19 | ||
65d6d66a PS |
20 | 2002-02-19 Peter Schauer <[email protected]> |
21 | ||
22 | * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use | |
23 | of ``current_gdbarch''. | |
24 | ||
47221191 RE |
25 | 2002-02-19 Richard Earnshaw <[email protected]> |
26 | ||
27 | * armnbsd-nat.c : ANSIfy all function declarations. | |
28 | (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New. | |
29 | (fetch_inferior_registers): Re-implement in terms of above. | |
30 | (store_register, store_regs, store_fp_register, store_fp_regs): New. | |
31 | (store_inferior_registers): Re-implement in terms of above. | |
32 | ||
fdf39c9a RE |
33 | 2002-02-19 Richard Earnshaw <[email protected]> |
34 | ||
35 | * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the | |
36 | kernel. | |
37 | * arm-linux-tdep.c: Likewise. | |
38 | * config/arm/tm-linux.h: Likewise. | |
39 | ||
93247f88 RE |
40 | 2002-02-19 Richard Earnshaw <[email protected]> |
41 | ||
42 | * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch. | |
43 | * config/arm/nbsd.mt (TM_FILE): Delete. | |
44 | * config/arm/tm-nbsd.h: Delete. | |
45 | ||
d7b486e7 RE |
46 | 2002-02-19 Richard Earnshaw <[email protected]> |
47 | ||
48 | * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED. | |
49 | Initialize CALL_DUMMY_LENGTH. | |
50 | ||
41d39a95 RE |
51 | 2002-02-19 Richard Earnshaw <[email protected]> |
52 | ||
53 | * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New | |
54 | function. | |
55 | (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE. | |
56 | * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only | |
57 | defines one thing and that is incorrect for this port. | |
58 | (IN_SOLIB_CALL_TRAMPOLINE): Delete. | |
59 | ||
e1195560 PM |
60 | 2002-02-18 Pierre Muller <[email protected]> |
61 | ||
62 | * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro. | |
63 | ||
c1748f97 PM |
64 | 2002-02-18 Pierre Muller <[email protected]> |
65 | ||
66 | * win32-nat.c (display_selector): New function. Displays information | |
67 | about the information returned by GetThreadSelectorEntry API function. | |
68 | (display_selectors): New function. Displays the infomation of | |
69 | the selector given as argument, or of CS, DS ans FS selectors | |
70 | if no argument is given. | |
71 | ( _initialize_inftarg): Add "w32" as info prefix command. | |
72 | Add "info w32 selector" as command calling display_selectors. | |
73 | ||
e41e6bbf PM |
74 | 2002-02-19 Pierre Muller <[email protected]> |
75 | ||
76 | * i386-tdep.c (get_longjmp_target): Fix compilation failure | |
77 | by setting dummy values to JB_PC and JB_ELEMENT_SIZE | |
78 | if not defined. | |
79 | ||
0d3a9f48 RE |
80 | 2002-02-18 Richard Earnshaw <[email protected]> |
81 | ||
82 | * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o. | |
83 | ||
3fb4b924 RE |
84 | 2002-02-18 Richard Earnshaw <[email protected]> |
85 | ||
86 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function. | |
87 | (arm_fix_call_dummy): Call it. | |
88 | (arm_call_dummy_breakpoint_offset): Delete. | |
89 | (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset. | |
90 | * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. | |
91 | ||
7f55af32 AC |
92 | 2002-02-18 Andrew Cagney <[email protected]> |
93 | ||
94 | * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2. | |
95 | Default to func_frame_chain_valid. | |
96 | * gdbarch.h, gdbarch.c: Re-generate. | |
97 | * frame.h (FRAME_CHAIN_VALID): Delete definition. | |
98 | ||
05f13b9c EZ |
99 | 2002-02-18 Elena Zannoni <[email protected]> |
100 | ||
101 | * ppc-linux-nat.c: Update copyright. | |
102 | (fetch_register, store_register): Add tid parameter, don't compute | |
103 | tid here. | |
104 | (fetch_ppc_registers, store_ppc_registers): Add tid | |
105 | parameter. Pass it along to callees. | |
106 | (fetch_inferior_registers, store_inferior_registers): Compute tid | |
107 | here, and pass it to calleed functions. | |
108 | (fill_gregset, supply_fpregset): Clean up formatting. | |
109 | ||
d7afb4c9 RE |
110 | 2002-02-18 Richard Earnshaw <[email protected]> |
111 | ||
112 | * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double. | |
113 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete. | |
114 | ||
9df628e0 RE |
115 | 2002-02-18 Richard Earnshaw <[email protected]> |
116 | ||
117 | * gdbarch.sh (GET_LONGJMP_TARGET): Add rule. | |
118 | * gdbarch.c gdbarch.h: Regenerate. | |
119 | * breakpoint.c (create_longjmp_breakpoint): Always compile this | |
120 | function. | |
121 | (breakpoint_reset): Test GET_LONGJMP_TARGET_P(). | |
122 | * infrun.c (GET_LONGJMP_TARGET): Delete default definition. | |
123 | (handle_inferior_event): Test GET_LONGJMP_TARGET_P(). | |
124 | ||
125 | * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields. | |
126 | * arm-tdep.c (arm_get_longjmp_target): New function. | |
127 | (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes | |
128 | this to a positive value register arm_get_longjmp_target as the | |
129 | longjmp handler. | |
130 | * arm-linux-tdep.c (arm_get_longjmp_target): Delete. | |
131 | (arm_linux_init_abi): Set up longjmp description in tdep. | |
132 | * armnbsd-nat.c (get_longjmp_target): Delete. | |
133 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp | |
134 | description in tdep. | |
135 | * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete. | |
136 | (get_longjmp_target): Delete declaration. | |
137 | (GET_LONGJMP_TARGET): Delete. | |
138 | * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration. | |
139 | (GET_LONGJMP_TARGET): Delete. | |
140 | ||
57bc8964 KB |
141 | 2002-02-17 Kevin Buettner <[email protected]> |
142 | ||
143 | From Peter Schauer <[email protected]>: | |
144 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use | |
145 | of ``current_gdbarch''. | |
146 | ||
83d31a92 TT |
147 | 2002-02-17 Tom Tromey <[email protected]> |
148 | ||
149 | * cli/cli-cmds.c (compare_strings): New function. | |
150 | (complete_command): Only print each unique item once. | |
151 | * completer.h (complete_line): Declare. | |
152 | * completer.c (complete_line): New function. | |
153 | (line_completion_function): Use it. | |
154 | ||
17ef5d92 AC |
155 | 2002-02-16 Andrew Cagney <[email protected]> |
156 | ||
157 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64. | |
158 | * gdbarch.h, gdbarch.c: Re-generate. | |
159 | ||
491b8946 DJ |
160 | 2002-02-16 Daniel Jacobowitz <[email protected]> |
161 | ||
162 | * valarith.c (value_x_unop): Fix decrement; support post-decrement. | |
163 | ||
164 | 2002-02-16 Daniel Jacobowitz <[email protected]> | |
165 | ||
166 | From Peter Schauer <[email protected]>: | |
167 | * valops.c (value_arg_coerce): Don't take the address of a reference | |
168 | to convert an argument to a reference. | |
169 | ||
dfe7f3ac CF |
170 | 2002-02-15 Christopher Faylor <[email protected]> |
171 | ||
172 | * win32-nat.c (get_image_name): New function. | |
173 | (handle_load_dll): Use get_image_name function. | |
174 | (get_child_debug_event): Avoid registering debug events until possibly | |
175 | execed process is started. | |
176 | (child_create_inferior): Allow invocation via shell so that command | |
177 | line redirection, etc. works ok. | |
178 | (_initialize_inftarg): Add new command: "set shell" to control whether | |
179 | a shell is used to start a process. | |
180 | ||
1d33e73a DJ |
181 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
182 | ||
183 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno | |
184 | instead of find_register_by_number. | |
185 | (cannot_store_register): Likewise. | |
186 | ||
48cd0caa PM |
187 | 2002-02-14 Pierre Muller <[email protected]> |
188 | ||
189 | * dwarf2read.c: Replace fprintf (stderr, ...) by | |
190 | fprintf_unfiltered (gdb_stderr, ...). | |
191 | ||
8656e7d8 DJ |
192 | 2002-02-15 Daniel Jacobowitz <[email protected]> |
193 | ||
194 | * gdbserver/gdbserver.1: Document --attach. | |
195 | ||
66e810cd RE |
196 | 2002-02-15 Richard Earnshaw <[email protected]> |
197 | ||
198 | * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint | |
199 | descriptions. | |
200 | * arm-tdep.c (arm_default_arm_le_breakpoint) | |
201 | (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) | |
202 | (arm_default_thumb_be_breakpoint): New. Initialize them from | |
203 | traditional breakpoint defines. | |
204 | (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. | |
205 | (arm_gdbarch_init): Initialize new breakpoint variables. | |
206 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. | |
207 | (arm_linux_init_abi): Initialize linux-specific breakpoint. | |
208 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. | |
209 | (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common | |
210 | code out to ... | |
211 | (arm_netbsd_init_abi_common): ... here; new function. | |
212 | * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) | |
213 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. | |
214 | * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. | |
215 | * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete. | |
216 | ||
97e03143 RE |
217 | 2002-02-15 Richard Earnshaw <[email protected]> |
218 | ||
219 | * arm-tdep.h (enum arm_abi): New enum. | |
220 | (struct gdbarch_tdep): New structure. | |
221 | (LOWEST_PC): Provide a default. | |
222 | (arm_gdbarch_register_os_abi): Declare new function. | |
223 | * arm-tdep.c (arm_abi_names): New array. | |
224 | (process_note_abi_tag_sections): New function. | |
225 | (get_elfosabi): New function. | |
226 | (arm_gdbarch_register_os_abi): New function. | |
227 | (arm_gdbarch_init): Try to determine the ABI of the inferior. If | |
228 | support for that ABI has been built in, then call the appropriate | |
229 | configuration routine. Use gdbarch_num_regs() to get the number | |
230 | of registers. | |
231 | (arm_dump_tdep): New function. | |
232 | (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New | |
233 | place-holder functions. | |
234 | (_initialize_arm_tdep): Register them. | |
235 | * config/arm/tm-arm.h (LOWEST_PC): Delete. | |
236 | ||
237 | * armnbsd-tdep.c: New file. | |
238 | * Makefile.in (armnbsd-tdep.o): Add dependencies. | |
239 | * config/arm/nbsd.mt (TDEPFILES): Add it. | |
240 | * config/arm/tm-nbsd.h (LOWEST_PC): Delete. | |
241 | ||
242 | * armnbsd-nat.c: Include regcache.h. | |
243 | * Makefile.in (armnbsd-nat.o): Update dependency list. | |
244 | ||
245 | * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message. | |
246 | ||
ad68be46 DJ |
247 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
248 | ||
249 | * gdbserver/Makefile.in: Fix typos in target rules. | |
250 | ||
003d6d1d DJ |
251 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
252 | ||
253 | Fix part of PR gdb/267. | |
254 | * linespec.c (find_methods): Handle constructors specially for now. | |
255 | ||
6b230f1b CV |
256 | 2002-02-14 Corinna Vinschen <[email protected]> |
257 | ||
258 | * arm-tdep.c (arm_push_arguments): Eliminate special float type | |
259 | handling. | |
260 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call | |
261 | standard_coerce_float_to_double(). | |
262 | ||
1ea98d12 CF |
263 | 2002-02-14 Christopher Faylor <[email protected]> |
264 | ||
265 | * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of | |
266 | GDBINIT_FILENAME. | |
267 | ||
dd47e6fd EZ |
268 | 2002-02-14 Elena Zannoni <[email protected]> |
269 | ||
270 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't call | |
271 | find_variant_by_name, because it confuses the multiarch | |
272 | framework. Return NULL if there isn't an architecture with the | |
273 | user supplied name, instead of forcing a different one without | |
274 | recording the change with the multiarch machinery. | |
275 | (find_variant_by_name): Delete. | |
276 | ||
d7e39b9e PS |
277 | 2002-02-14 Peter Schauer <[email protected]> |
278 | ||
279 | * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by | |
280 | i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore. | |
281 | ||
76e42a4f MH |
282 | 2002-02-13 Martin M. Hunt <[email protected]> |
283 | ||
284 | * stack.c (print_frame_info_base): When calling | |
285 | print_frame_info_listing_hook, set current_source_symtab. | |
286 | ||
0a30fbc4 DJ |
287 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
288 | ||
289 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, | |
290 | and remove unused $(INCLUDE_DIR). | |
291 | Add regcache.c to OBS. | |
292 | Add generated register protocol files to clean target. | |
293 | Update dependencies for new objects, obsolete old target code. | |
294 | ||
295 | * gdbserver/linux-low.c: Remove all platform-specific code to | |
296 | new files. Remove various dead code. Update to use regcache | |
297 | functionality. | |
298 | * gdbserver/remote-utils.c (fromhex): Add return statement | |
299 | to quiet warning. | |
300 | (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer | |
301 | constant. | |
302 | (input_interrupt): Add integer parameter to match prototype | |
303 | of a signal handler. | |
304 | (outreg): Use register_data (). | |
305 | (prepare_resume_reply): Use gdbserver_expedite_regs. | |
306 | * gdbserver/server.c (main): Dynamically allocate own_buf because | |
307 | PBUFSIZ is no longer constant. Use registers_to_string () and | |
308 | registers_from_string (). | |
309 | * gdbserver/server.h: No longer include "defs.h". Add prototypes | |
310 | for error (), fatal (), and warning (). Update definition of | |
311 | PBUFSIZ to use regcache functionality. Add include guard. | |
312 | * gdbserver/utils.c (fatal): Add missing ``const''. | |
313 | (warning): New function. | |
314 | ||
315 | * regformats/regdat.sh: Include "regcache.h" in generated files. | |
316 | Provide init_registers () function. | |
317 | * regformats/regdef.h: Add prototype for set_register_cache (). | |
318 | Add include guard. | |
319 | ||
320 | * gdbserver/linux-arm-low.c: New file. | |
321 | * gdbserver/linux-i386-low.c: New file. | |
322 | * gdbserver/linux-ia64-low.c: New file. | |
323 | * gdbserver/linux-m68k-low.c: New file. | |
324 | * gdbserver/linux-mips-low.c: New file. | |
325 | * gdbserver/linux-ppc-low.c: New file. | |
326 | * gdbserver/linux-sh-low.c: New file. | |
327 | ||
328 | * gdbserver/regcache.c: New file. | |
329 | * gdbserver/regcache.h: New file. | |
330 | ||
331 | * gdbserver/low-linux.c: Removed obsolete file. | |
332 | ||
4cc841d0 DJ |
333 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
334 | ||
335 | * config/arm/linux.mt: Update GDBSERVER_DEPFILES. | |
336 | * config/i386/linux.mt: Likewise. | |
337 | * config/ia64/linux.mt: Likewise. | |
338 | * config/m68k/linux.mh: Likewise. | |
339 | * config/powerpc/linux.mh: Likewise. | |
340 | * config/mips/linux.mt: Likewise. | |
341 | ||
342 | * config/sh/linux.mt: Add GDBSERVER_DEPFILES. | |
343 | ||
344 | * config/i386/i386lynx.mh: Mark gdbserver variables | |
345 | as (currently) obsolete for this target. | |
346 | * config/i386/nbsd.mt: Likewise. | |
347 | * config/i386/nbsdelf.mt: Likewise. | |
348 | * config/m32r/m32r.mt: Likewise. | |
349 | * config/m68k/m68klynx.mh: Likewise. | |
350 | * config/m68k/nbsd.mt: Likewise. | |
351 | * config/m68k/sun3os4.mh: Likewise. | |
352 | * config/mips/vr5000.mt: Likewise. | |
353 | * config/ns32k/nbsd.mt: Likewise. | |
354 | * config/pa/hppabsd.mh: Likewise. | |
355 | * config/pa/hppaosf.mh: Likewise. | |
356 | * config/powerpc/nbsd.mt: Likewise. | |
357 | * config/rs6000/rs6000lynx.mh: Likewise. | |
358 | * config/s390/s390.mt: Likewise. | |
359 | * config/s390/s390x.mt: Likewise. | |
360 | * config/sparc/sparclynx.mh: Likewise. | |
361 | * config/sparc/sun4os4.mh: Likewise. | |
362 | * config/i386/x86-64linux.mt: Likewise. | |
363 | * config/sparc/linux.mh: Likewise. | |
364 | ||
a85f51e7 DJ |
365 | 2002-02-14 Daniel Jacobowitz <[email protected]> |
366 | ||
367 | * configure.tgt: Configure gdbserver only for known working | |
368 | targets. Set ${build_gdbserver} instead of modifying ${configdirs}. | |
369 | * configure.in: Check ${build_gdbserver}. Put gdbserver/ into | |
370 | SUBDIRS if it is configured. Update comment for ${nativefile}. | |
371 | * configure: Regenerated. | |
372 | ||
65554fef MS |
373 | 2002-02-13 Michael Snyder <[email protected]> |
374 | ||
6dbdc4a3 MS |
375 | * gcore.c (gcore_command): Use gcore_default_target instead of NULL. |
376 | (default_gcore_mach): Just return 0, work around a problem in bfd. | |
377 | (default_gcore_target): OK to return NULL if exec_bfd is null. | |
378 | (make_mem_sec): Use a cast, avoid a warning. | |
379 | ||
380 | * procfs.c (find_memory_regions_callback): Use a cast instead of | |
381 | calling host_pointer_to_address (which complains if | |
382 | sizeof (host pointer) != sizeof (target pointer)). | |
383 | (procfs_make_note_section): Avoid overflow in psargs string. | |
384 | ||
65554fef MS |
385 | * procfs.c (procfs_make_note_section): Make the default |
386 | implementation return an error. | |
387 | ||
388 | 2002-02-13 Rodney Brown <[email protected]> | |
389 | ||
390 | * procfs.c (procfs_make_note_section): Provide a default definition | |
391 | (for alpha-dec-osf4.0f). Fix typos. | |
392 | ||
1e4d76e7 EZ |
393 | 2002-02-13 Elena Zannoni <[email protected]> |
394 | ||
395 | * linux-proc.c: Add include of regcache.h. | |
396 | * Makefile.in (linux-proc.o): Add dependency on regcache.h. | |
397 | ||
b6d1a1d5 AC |
398 | 2002-02-13 Andrew Cagney <[email protected]> |
399 | ||
400 | From 2002-01-18 Greg McGary <[email protected]>: | |
65554fef MS |
401 | * memattr.c (create_mem_region): Disallow useless empty region. |
402 | Regions are half-open intervals, so allow [A..B) [B..C) as | |
403 | non-overlapping. | |
b6d1a1d5 | 404 | |
6c6ea35e MC |
405 | 2002-02-13 Michael Chastain <[email protected]> |
406 | ||
407 | * defs.h: Kill CONST_PTR. | |
408 | * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". | |
409 | * c-lang.c (c_builtin_types): Likewise. | |
410 | * ch-lang.c (ch_builtin_types): Likewise. | |
411 | * f-lang.c (f_builtin_types): Likewise. | |
412 | * language.c (unknown_builtin_types): Likewise. | |
413 | * m2-lang.c (m2_builtin_types): Likewise. | |
414 | * p-lang.c (pascal_builtin_types): Likewise. | |
415 | * scm-lang.c (c_builtin_types): Likewise. | |
416 | ||
3e0b0f48 KS |
417 | 2002-02-13 Keith Seitz <[email protected]> |
418 | ||
419 | * arm-tdep.h (arm_get_next_pc): Add declaration. | |
420 | ||
67255d04 RE |
421 | 2002-02-13 Richard Earnshaw <[email protected]> |
422 | ||
423 | * arm-tdep.c (arm_use_struct_convention): Make static. Move to be | |
424 | with other related struct-returning functions. | |
425 | (arm_extract_struct_value_address): New function. | |
426 | (arm_gdbarch_init): Initialize the above in multi-arch vector. Also | |
427 | initialize float_format, double_format and long_double_format as | |
428 | appropriate to the endianness of the target. | |
429 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. | |
430 | (arm_use_struct_convention): Delete declaration. | |
431 | (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete. | |
432 | ||
079777f6 KS |
433 | 2002-02-13 Keith Seitz <[email protected]> |
434 | ||
435 | * defs.h (core_addr_to_string_nz): New function. | |
436 | ||
34588f23 MK |
437 | 2002-02-13 Mark Kettenis <[email protected]> |
438 | ||
439 | Apply missing bits of 2002-01-15 patch. | |
440 | * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. | |
441 | (fill_fpregset): Use i387_fill_fsave. | |
442 | ||
49b563f9 KS |
443 | 2002-02-12 Keith Seitz <[email protected]> |
444 | ||
49b563f9 KS |
445 | * utils.c (core_addr_to_string): Use phex instead of phex_nz. |
446 | (core_addr_to_string_nz): New function. | |
447 | ||
aeb98c60 RE |
448 | 2002-02-11 Richard Earnshaw <[email protected]> |
449 | ||
450 | * arm-linux-nat.c: Really include arm-tdep.h. | |
451 | * config/arm/tm-linux.h (struct type, struct value): Declare. | |
452 | ||
65554fef MS |
453 | 2002-02-11 Michael Snyder <[email protected]> |
454 | ||
455 | * procfs.c: Include elf-bfd.h (for elfcore_write functions). | |
456 | (gcore section): Ifdef for Solaris and Unixware only. | |
457 | (procfs_do_thread_registers): Unixware needs one lwpstatus | |
458 | per thread (not one prstatus or pstatus). | |
459 | (procfs_make_note_section): Iterate only over kernel threads (lwps), | |
460 | not over all gdb threads. For unixware, call elfcore_write_pstatus | |
461 | once before iterating over threads. | |
462 | ||
34e8f22d RE |
463 | 2002-02-11 Richard Earnshaw <[email protected]> |
464 | ||
465 | * arm-tdep.h: New file. | |
466 | * arm-tdep.c: Include arm-tdep.h. | |
467 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
468 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
469 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
470 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
471 | (arm_extract_return_value, arm_register_name): Make static. | |
472 | (arm_software_single_step): Similarly. Fix types in declaration. | |
473 | (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) | |
474 | (arm_store_return_value, arm_store_struct_return): New functions. | |
475 | (arm_gdbarch_init): Register the above functions. Also register | |
476 | call_dummy_start_offset, sizeof_call_dummy_words, | |
477 | function_start_offset, inner_than, decr_pc_after_break, fp_regnum, | |
478 | sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, | |
479 | max_register_virtual_size, register_size. Set up | |
480 | prologue_cache.saved_regs here, rather than ... | |
481 | (_initialize_arm_tdep): ... here. | |
482 | * config/arm/tm-arm.h (struct type, struct value): Delete forward | |
483 | declarations. | |
484 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) | |
485 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) | |
486 | (arm_print_float_info, arm_register_type, convert_to_extended) | |
487 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) | |
488 | (arm_extract_return_value, arm_register_name): Delete declarations. | |
489 | (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) | |
490 | (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) | |
491 | (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) | |
492 | (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) | |
493 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) | |
494 | (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) | |
495 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) | |
496 | (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) | |
497 | (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) | |
498 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. | |
499 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) | |
500 | (arm_get_next_pc): No-longer static -- these are needed by the RDI | |
501 | interface. | |
502 | * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. | |
503 | * remote-rdi.c remote-rdp.c: Likewise. | |
504 | * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) | |
505 | (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. | |
506 | * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus | |
507 | definition. | |
508 | ||
509 | * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) | |
510 | (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) | |
511 | (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed | |
512 | from non-ARM_ prefixed definitions. | |
513 | * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update | |
514 | all uses of above. | |
515 | * remote-rdi.c remote-rdp.c: Likewise. | |
516 | * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM. | |
517 | ||
148754e5 RE |
518 | 2002-02-11 Richard Earnshaw <[email protected]> |
519 | ||
520 | * arm-tdep.c (arm_frameless_function_invocation) | |
521 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
522 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
523 | (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
524 | (arm_pop_frame, arm_get_next_pc): Make static. | |
525 | (arm_gdbarch_init): Register above in gdbarch structure. | |
526 | (arm_read_fp): Renamed from arm_target_read_fp. | |
527 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. | |
528 | * config/arm/tm-arm.h (arm_frameless_function_invocation) | |
529 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) | |
530 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) | |
531 | (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) | |
532 | (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) | |
533 | (arm_pc_is_thumb_dummy): Delete declarations. | |
fcfb8836 RE |
534 | (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN) |
535 | (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS) | |
536 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP) | |
537 | (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete. | |
148754e5 | 538 | |
434d2d4f DJ |
539 | 2002-02-10 Daniel Jacobowitz <[email protected]> |
540 | ||
541 | * symtab.c (compare_search_syms): New function. | |
542 | (sort_search_symbols): New function. | |
543 | (search_symbols): Sort symbols after searching rather than | |
544 | before. | |
545 | ||
55241689 AC |
546 | 2002-02-10 Andrew Cagney <[email protected]> |
547 | ||
548 | * NEWS: Linux -> GNU/Linux. | |
549 | ||
028c194b AC |
550 | 2002-02-10 Andrew Cagney <[email protected]> |
551 | ||
552 | * gdbarch.sh: For for level one methods, disallow a definition | |
553 | when partially multi-arched. Add comments explaining rationale. | |
554 | * gdbarch.h: Re-generate. | |
555 | ||
6acf50cd AC |
556 | 2002-02-10 Andrew Cagney <[email protected]> |
557 | ||
558 | * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when | |
559 | multi-arch partial. | |
560 | ||
50248794 AC |
561 | 2002-02-10 Andrew Cagney <[email protected]> |
562 | ||
563 | * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad | |
564 | field. Use diff -u. | |
565 | * gdbarch.c: Re-generate. | |
566 | ||
c30e0066 AC |
567 | 2002-02-10 Andrew Cagney <[email protected]> |
568 | ||
9b56c5f3 | 569 | * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete. |
c30e0066 AC |
570 | * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch |
571 | partial. | |
572 | ||
6e6d6484 AC |
573 | 2002-02-10 Andrew Cagney <[email protected]> |
574 | ||
575 | * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when | |
576 | multi-arch partial. | |
577 | (PUSH_ARGUMENTS): Switch to using predefault. | |
578 | * gdbarch.c: Regenerate. | |
579 | ||
c203844d AC |
580 | 2002-02-10 Andrew Cagney <[email protected]> |
581 | ||
582 | * valops.c (PUSH_ARGUMENTS): Delete definition. | |
583 | * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch | |
584 | partial. Default to default_push_arguments. | |
585 | * gdbarch.h, gdbarch.c: Regenerate. | |
586 | ||
b5a2688f AC |
587 | 2002-02-09 Andrew Cagney <[email protected]> |
588 | ||
589 | * defs.h (throw_exception): Rename return_to_top_level. Update | |
590 | comments. | |
591 | * utils.c (error_stream, internal_verror, quit): Ditto. | |
592 | * top.c (throw_exception, catcher): Ditto. | |
593 | * sparclet-rom.c (sparclet_load): Ditto. | |
594 | * remote.c (interrupt_query, minitelnet): Ditto. | |
595 | * remote-sds.c (interrupt_query): Ditto. | |
596 | * remote-mips.c (mips_error, mips_kill): Ditto. | |
597 | * ocd.c (interrupt_query): Ditto. | |
598 | * monitor.c (monitor_interrupt_query): Ditto. | |
599 | * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. | |
600 | * target.h: Update comment. | |
601 | ||
602 | * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. | |
603 | ||
2fa5c1e0 AC |
604 | 2002-02-09 Andrew Cagney <[email protected]> |
605 | ||
606 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to | |
607 | default_double_format. | |
608 | * gdbarch.h, gdbarch.c: Re-generate. | |
609 | * findvar.c (floatformat_unknown): Delete variable definition. | |
610 | * doublest.h (floatformat_unknown): Delete variable declaration. | |
611 | ||
da966255 JB |
612 | 2002-02-09 Jim Blandy <[email protected]> |
613 | ||
614 | * stabsread.c (read_type): Add code to parse Sun's syntax for | |
615 | prototyped function types. | |
616 | ||
123a4891 AC |
617 | 2002-02-09 Andrew Cagney <[email protected]> |
618 | ||
619 | * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS. | |
620 | (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS. | |
621 | ||
fb39c8f3 PS |
622 | 2002-02-09 Peter Schauer <[email protected]> |
623 | ||
624 | * xcoffsolib.c (_initialize_xcoffsolib): Renamed from | |
625 | _initialize_solib. Fixes name clash with solib.c:_initialize_solib, | |
626 | now _initialize_xcoffsolib gets called again and overrides the | |
627 | commands from solib.c in a native configuration. | |
628 | ||
0b87a11d MK |
629 | 2002-02-09 Mark Kettenis <[email protected]> |
630 | ||
631 | * doublest.c (store_typed_floating): Don't try to return a value. | |
632 | Fixes PR gdb/290. | |
633 | ||
bdc2fc72 JB |
634 | 2002-02-08 Jim Blandy <[email protected]> |
635 | ||
636 | * c-typeprint.c (c_type_print_varspec_suffix): If a function type | |
637 | is prototyped and has no arguments, print its argument list as | |
638 | `(void)'. | |
639 | ||
da69bbcf CD |
640 | 2002-02-08 Chris Demetriou <[email protected]> |
641 | ||
642 | * MAINTAINERS (write-after-approval): Add myself. | |
643 | (paper-trail): I've escaped! | |
644 | ||
b69571f5 CF |
645 | 2002-02-08 Christopher Faylor <[email protected]> |
646 | ||
647 | * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf | |
648 | changes. | |
649 | (_initialize_check_for_gdb_ini): Ditto. | |
650 | ||
f6871398 MH |
651 | 2002-02-08 Martin M. Hunt <[email protected]> |
652 | ||
653 | * win32-nat.c (cygwin_pid_to_str): Fix typo. | |
654 | xaprintf -> xasprintf. | |
655 | ||
4e52d31c PM |
656 | 2002-02-08 Pierre Muller <[email protected]> |
657 | ||
658 | * win32-nat.c: Remove use of printf and sprintf functions. | |
659 | ||
39bbf761 RE |
660 | 2002-02-08 Richard Earnshaw <[email protected]> |
661 | ||
662 | * arm-tdep.c (arm_frame_chain_valid): Make static. | |
663 | (arm_push_arguments): Likewise. | |
664 | (arm_gdbarch_init): New function. | |
665 | (_initialize_arm_tdep): Call it. | |
666 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. | |
667 | (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. | |
668 | (FRAME_CHAIN_VALID): Delete. | |
669 | (arm_frame_chain_valid): Delete declaration. | |
670 | (PUSH_ARGUMENTS): Delete. | |
671 | (arm_push_arguments): Delete declaration. | |
672 | (CALL_DUMMY_P): Delete. | |
673 | ||
9c9532c9 CV |
674 | 2002-02-08 Andrew Cagney <[email protected]> |
675 | Corinna Vinschen <[email protected]> | |
676 | ||
677 | * gdbtypes.c (build_gdbtypes): Disable setting a specific float format | |
678 | on builtin float types. | |
679 | ||
4e8f7a8b DJ |
680 | 2002-02-08 Daniel Jacobowitz <[email protected]> |
681 | ||
682 | * utils.c: Include <curses.h> before "bfd.h". | |
683 | * tui/tui-hooks.c: Likewise. | |
684 | * tui/tui.c: Likewise. | |
685 | * tui/tuiCommand.c: Likewise. | |
686 | * tui/tuiData.c: Likewise. | |
687 | * tui/tuiDataWin.c: Likewise. | |
688 | * tui/tuiDisassem.c: Likewise. | |
689 | * tui/tuiGeneralWin.c: Likewise. | |
690 | * tui/tuiIO.c: Likewise. | |
691 | * tui/tuiLayout.c: Likewise. | |
692 | * tui/tuiRegs.c: Likewise. | |
693 | * tui/tuiSource.c: Likewise. | |
694 | * tui/tuiSourceWin.c: Likewise. | |
695 | * tui/tuiStack.c: Likewise. | |
696 | * tui/tuiWin.c: Likewise. | |
697 | ||
cd4bffcf EZ |
698 | 2002-02-07 Elena Zannoni <[email protected]> |
699 | ||
700 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array | |
701 | to include space for pseudoregs as well. Update loops accordingly. | |
702 | (sh_fp_frame_init_saved_regs): Ditto. | |
703 | (sh_init_extra_frame_info, sh_pop_frame): Split long lines. | |
704 | ||
26806ce2 AC |
705 | 2002-02-07 Andrew Cagney <[email protected]> |
706 | ||
707 | * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer. | |
708 | Add Richard Earnshaw to Arm maintainers. | |
709 | ||
97fdab62 AC |
710 | 2002-02-07 Andrew Cagney <[email protected]> |
711 | ||
a6b98203 AC |
712 | * defs.h (warning_begin): Delete declaration. |
713 | ||
97fdab62 AC |
714 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): |
715 | Delete macro. | |
716 | ||
78b29b40 MS |
717 | 2002-02-07 Michael Snyder <[email protected]> |
718 | ||
719 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): | |
720 | Logic bug, remove misplaced else. | |
721 | ||
d8849953 KD |
722 | 2002-02-07 Klee Dienes <[email protected]> |
723 | ||
724 | * fork-inferior.c (fork_inferior): Add '!' to the list of | |
725 | characters that need to be quoted when building a string for the | |
726 | shell. Quote '!' specifically with a backslash, since CSH chokes | |
727 | when trying to evaluate "str!str". | |
728 | ||
095778a0 NC |
729 | 2002-02-06 Nick Clifton <[email protected]> |
730 | ||
731 | * rdi-share/host.h: Only provide a typedef for bool if it is not | |
732 | defined. | |
733 | ||
1900040c MS |
734 | 2002-02-04 Michael Snyder <[email protected]> |
735 | ||
736 | * breakpoint.h (enum bptype): Add new overlay event bp type. | |
737 | (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. | |
738 | ||
739 | * breakpoint.c (create_internal_breakpoint): New function. | |
740 | (internal_breakpoint_number): Moved into create_internal_breakpoint. | |
741 | (create_longjmp_breakpoint): Use create_internal_breakpoint. | |
742 | (create_thread_event_breakpoint): Ditto. | |
743 | (create_solib_event_breakpoint): Ditto. | |
744 | (create_overlay_event_breakpoint): New function. | |
745 | (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. | |
746 | (update_breakpoints_after_exec): Delete and re-initialize | |
747 | overlay event breakpoints after an exec. Add FIXME comment | |
748 | about longjmp breakpoint. | |
749 | (print_it_typical): Ignore overlay event breakpoints. | |
750 | (print_one_breakpoint): Ditto. | |
751 | (mention): Ditto. | |
752 | (bpstat_what): Do not stop for overlay event breakpoints. | |
753 | (delete_breakpoint): Don't delete overlay event breakpoints. | |
754 | (breakpoint_re_set_one): Delete the overlay event breakpoint. | |
755 | (breakpoint_re_set): Re-create overlay event breakpoint. | |
756 | ||
757 | * symfile.c (overlay_auto_command): Enable overlay breakpoints. | |
758 | (overlay_manual_command): Disable overlay breakpoints. | |
759 | (overlay_off_command): Disable overlay breakpoints. | |
760 | ||
082fc60d RE |
761 | 2002-02-06 Richard Earnshaw <[email protected]> |
762 | ||
763 | * arm-tdep.c: Include elf-bfd.h and coff/internal.h. | |
764 | (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines | |
765 | to here from config/tm-arm.h. | |
766 | (coff_sym_is_thumb): Make static. | |
767 | (arm_elf_make_msymbol_special): New function. | |
768 | (arm_coff_make_msymbol_special): New function. | |
769 | * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. | |
770 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. | |
771 | (coff_sym_is_thumb): Delete declaration. | |
772 | (arm_elf_make_msymbol_special): Declare. | |
773 | (arm_coff_make_msymbol_special): Declare. | |
774 | (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. | |
775 | (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special. | |
776 | ||
039c5766 RE |
777 | 2002-02-06 Richard Earnshaw <[email protected]> |
778 | ||
779 | * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. | |
780 | ||
781 | 2002-02-06 Richard Earnshaw <[email protected]> | |
782 | ||
783 | * gdbarch.sh (PRINT_FLOAT_INFO): Add rule. | |
784 | * gdbarch.c gdbarch.h: Regenerate. | |
785 | * arch-utils.c (default_print_float_info): New function. | |
786 | * arch-utils.h (default_print_float_info): Prototype it. | |
787 | * infcmd.c (float_info): Call PRINT_FLOAT_INFO. | |
788 | * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. | |
789 | (PRINT_FLOAT_INFO): Document it. | |
790 | ||
791 | * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. | |
792 | * config/arm/tm-arm.h (FLOAT_INFO): Delete. | |
793 | (PRINT_FLOAT_INFO): Define. | |
794 | ||
58fa08f0 PM |
795 | 2002-02-06 Pierre Muller <[email protected]> |
796 | ||
797 | * win32-nat.c (_initialize_check_for_gdb_ini): | |
798 | Add typecast to sprintf argument to suppress a warning. | |
799 | ||
7393af7c PM |
800 | 2002-02-05 Pierre Muller <[email protected]> |
801 | ||
58fa08f0 | 802 | * win32-nat.c (last_sig): Changed type of variable to target_signal, |
7393af7c PM |
803 | to allow easier handling of pass state. |
804 | (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, | |
805 | that gives exception name and address. | |
806 | (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro | |
807 | and set last_sig value to ourstatus->value.sig. Some missing | |
808 | exceptions added. | |
809 | (child_continue): Correctly report continue_status. | |
810 | (get_child_debug_event,do_initial_child_stuff): Set last_sig to | |
811 | TARGET_SIGNAL_0 (new default value). | |
812 | (child_resume): consider sig argument passed to decide if | |
813 | the exception should be passed to debuggee or not. | |
814 | ||
6af4589c MS |
815 | 2002-02-05 Michael Snyder <[email protected]> |
816 | ||
817 | * regcache.c (fetch_register): Call target_fetch_register | |
818 | only if we don't call FETCH_PSEUDO_REGISTER. | |
819 | (store_register): Call target_store_register only if we | |
820 | don't call STORE_PSEUDO_REGISTER. | |
821 | ||
a2cf933a EZ |
822 | 2002-02-05 Elena Zannoni <[email protected]> |
823 | ||
824 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and | |
825 | ELF_MAKE_MSYMBOL_SPECIAL. | |
826 | * gdbarch.c, gdbarch.h: Regenerate. | |
827 | * arch-utils.c (default_make_msymbol_special): New function. | |
828 | * arch-utils.h (default_make_msymbol_special): Export. | |
829 | * elfread.c (elf_symtab_read): Compile use of | |
830 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now | |
831 | multiarched. | |
832 | * coffread.c (coff_symtab_read): Ditto, for | |
833 | COFF_MAKE_MSYMBOL_SPECIAL. | |
834 | ||
6bb7be43 JB |
835 | 2002-02-05 Jim Blandy <[email protected]> |
836 | ||
837 | * solib-svr4.c (svr4_truncate_ptr): New function. | |
838 | (svr4_relocate_section_addresses): Do the address arithmetic with | |
839 | the appropriate truncation for target addresses, even when | |
840 | CORE_ADDR is larger than a target address. | |
841 | ||
e18651ec DJ |
842 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
843 | ||
844 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid | |
845 | to (int *). | |
846 | ||
6b2725be DJ |
847 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
848 | ||
849 | * gdbserver/linux-low.c (kill_inferior): Remove commented out | |
850 | code. | |
851 | ||
fca9e603 DJ |
852 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
853 | ||
854 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. | |
855 | ||
6c537a52 DJ |
856 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
857 | ||
858 | * gdbserver/linux-low.c: Remove unused include files. | |
859 | ||
d844cde6 DJ |
860 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
861 | ||
862 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. | |
863 | (read_inferior_memory): Use it. | |
864 | (write_inferior_memory): Likewise. | |
865 | ||
d07c63e7 DJ |
866 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
867 | ||
868 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of | |
869 | grubbing through sys_errlist. | |
870 | ||
da6d8c04 DJ |
871 | 2002-02-05 Daniel Jacobowitz <[email protected]> |
872 | ||
873 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. | |
874 | ||
5b421780 PM |
875 | 2002-02-04 Pierre Muller <[email protected]> |
876 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. | |
877 | ||
9f60d481 AC |
878 | 2002-02-04 Andrew Cagney <[email protected]> |
879 | ||
880 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. | |
881 | (do_sfunc, set_cmd_sfunc): New functions. | |
882 | ||
883 | * command.h (struct cmd_list_element): Add field func. | |
884 | * cli/cli-decode.h (struct cmd_list_element): Ditto. | |
885 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. | |
886 | * cli/cli-decode.h: Ditto. | |
887 | ||
888 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. | |
889 | (help_all, help_cmd_list): Ditto. | |
890 | (find_cmd, complete_on_cmdlist): Ditto. | |
891 | * top.c (execute_command): Ditto. | |
892 | ||
893 | * cli/cli-setshow.c (do_setshow_command): Call func instead of | |
894 | function.sfunc. | |
895 | ||
896 | * infcmd.c (notice_args_read): Fix function signature. | |
897 | ||
898 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. | |
899 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
900 | * utils.c (initialize_utils): Ditto. | |
901 | * maint.c (_initialize_maint_cmds): Ditto. | |
902 | * infrun.c (_initialize_infrun): Ditto. | |
903 | * demangle.c (_initialize_demangler): Ditto. | |
904 | * remote.c (add_packet_config_cmd): Ditto. | |
905 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
906 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
907 | * proc-api.c (_initialize_proc_api): Ditto. | |
908 | * kod.c (_initialize_kod): Ditto. | |
909 | * valprint.c (_initialize_valprint): Ditto. | |
910 | * top.c (init_main): Ditto. | |
911 | * infcmd.c (_initialize_infcmd): Ditto. | |
912 | * corefile.c (_initialize_core): Ditto. | |
913 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
914 | * arch-utils.c (initialize_current_architecture): Ditto. | |
915 | (_initialize_gdbarch_utils): Ditto. | |
916 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
917 | ||
918 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. | |
919 | * wince.c (_initialize_inftarg): Ditto. | |
920 | * symfile.c (_initialize_symfile): Ditto. | |
921 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
922 | * language.c (_initialize_language): Ditto. | |
923 | * arc-tdep.c (_initialize_arc_tdep): Ditto. | |
924 | ||
f9ba0717 MS |
925 | 2002-02-04 Michael Snyder <[email protected]> |
926 | ||
927 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. | |
928 | ||
0c74b2a7 DJ |
929 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
930 | ||
931 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. | |
932 | Add rules for building the register data files. | |
933 | ||
c638789f DJ |
934 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
935 | ||
936 | * regformats/regdat.sh: Add braces to the definition of | |
937 | expedite_regs_${arch}. | |
938 | ||
db253027 DJ |
939 | 2002-02-04 Daniel Jacobowitz <[email protected]> |
940 | ||
941 | * regformats/regdef.h (struct reg): Add comment describing the | |
942 | requirements for offset and size fields. | |
943 | ||
206be19c AS |
944 | 2002-02-04 Andreas Schwab <[email protected]> |
945 | ||
946 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. | |
947 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. | |
948 | ||
181c1381 RE |
949 | 2002-02-04 Richard Earnshaw <[email protected]> |
950 | ||
951 | * gdbarch.sh (copyright): Update years in generated header. | |
952 | (SMASH_TEXT_ADDRESS): Add rule. | |
db253027 | 953 | * gdbarch.h, gdbarch.c: Re-generate. |
181c1381 RE |
954 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
955 | * dbxread.c: Likewise. | |
956 | * dwarfread.c: Likewise. | |
957 | * elfread.c: Likewise. | |
958 | * somread.c: Likewise. | |
959 | ||
960 | * arm-tdep.c (arm_smash_text_address): New function. | |
961 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. | |
962 | ||
fa4ba8da PM |
963 | 2002-02-04 Pierre Muller <[email protected]> |
964 | ||
965 | Add support for hardware watchpoints on win32 native. | |
966 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of | |
967 | CONTEXT_DEBUG_REGISTERS. | |
968 | (dr variable): New variable. Static array containing a local copy | |
969 | of debug registers. | |
970 | (debug_registers_changed): New variable. Reflects when debug registers | |
971 | are changed and need to be written to inferior. | |
972 | (debug_registers_used): New variable. Reflects when any debug register | |
973 | was set, used when new threads are created. | |
974 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by | |
975 | i386-nat code. | |
976 | (thread_rec): Set dr array if id is the thread of current_event . | |
977 | (child_continue, child_resume): Change the debug registers for all | |
978 | threads if debug_registers_changed. | |
979 | (child_add_thread): Change the debug registers if debug_registers_used. | |
980 | * config/i386/cygwin.mh: Add use of i386-nat.o file. | |
981 | Link nm.h to new nm-cygwin.h file. | |
982 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use | |
983 | of hardware registers. | |
984 | ||
a73c86fb AC |
985 | 2002-02-03 Andrew Cagney <[email protected]> |
986 | ||
987 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. | |
988 | Restore behavour broken by 2002-01-20 Andrew Cagney | |
989 | <[email protected]> IEEE_FLOAT removal. | |
990 | ||
acf5ed49 DJ |
991 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
992 | ||
993 | * c-valprint.c (c_val_print): Pass a proper valaddr to | |
994 | cp_print_class_method. | |
995 | * valops.c (search_struct_method): If there is only one method | |
996 | and args is NULL, return that method. | |
997 | ||
493d28d5 DJ |
998 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
999 | ||
1000 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of | |
1001 | accessing tag_name directly. | |
1002 | ||
7495dfdb DJ |
1003 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
1004 | ||
1005 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead | |
1006 | of accessing tag_name directly. | |
1007 | ||
dd6bda65 DJ |
1008 | 2002-02-03 Daniel Jacobowitz <[email protected]> |
1009 | ||
1010 | PR gdb/280 | |
1011 | * gdbtypes.c (replace_type): New function. | |
1012 | * gdbtypes.h (replace_type): Add prototype. | |
1013 | * stabsread.c (read_type): Use replace_type. | |
1014 | ||
88fe217c RE |
1015 | 2002-02-03 Richard Earnshaw <[email protected]> |
1016 | ||
1017 | * Makefile.in (memattr.o): Add missing dependencies rule. | |
1018 | ||
e5d66720 PS |
1019 | 2002-02-03 Peter Schauer <[email protected]> |
1020 | ||
1021 | * breakpoint.c (break_at_finish_command): Really export. | |
1022 | (break_at_finish_at_depth_command): Ditto. | |
1023 | (tbreak_at_finish_command): Ditto. | |
1024 | * hppa-tdep.c: Include completer.h. | |
1025 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). | |
1026 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. | |
1027 | ||
fffee0be AC |
1028 | 2002-02-01 Andrew Cagney <[email protected]> |
1029 | ||
1030 | * utils.c (do_write): New function. | |
1031 | (error_stream): Rewrite combining the code from error_begin and | |
1032 | verror. | |
1033 | (verror): Rewrite using error_stream. | |
1034 | (error_begin): Delete function. | |
1035 | ||
255e7dbf AC |
1036 | 2002-02-01 Andrew Cagney <[email protected]> |
1037 | ||
1038 | * utils.c (error_begin): Make static. | |
1039 | * defs.h (error_begin): Delete declaration. | |
1040 | ||
1041 | * linespec.c (cplusplus_error): Replace cplusplus_hint. | |
1042 | (decode_line_1): Use cplusplus_error instead of error_begin, | |
1043 | cplusplus_hint and return_to_top_level. | |
1044 | * coffread.c (coff_symfile_read): Use error instead of error_begin | |
1045 | and return_to_top_level. | |
1046 | * infrun.c (default_skip_permanent_breakpoint): Ditto. | |
1047 | ||
ddfe3c15 AC |
1048 | 2002-02-01 Andrew Cagney <[email protected]> |
1049 | ||
1050 | * language.h (type_error, range_error): Make string parameter | |
1051 | constant. | |
1052 | * language.c (warning_pre_print): Delete extern declaration. | |
1053 | * dwarfread.c (warning_pre_print): Ditto. | |
1054 | * language.c (type_error, range_error): Rewrite to use verror and | |
1055 | vwarning instead of warning_begin. | |
1056 | ||
03ac34d5 MS |
1057 | 2002-02-01 Michael Snyder <[email protected]> |
1058 | ||
261c4ca2 MS |
1059 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
1060 | (set_ignore_count): Move misplaced comment back where it belongs. | |
03ac34d5 | 1061 | |
e00d1dc8 AC |
1062 | 2002-02-01 Andrew Cagney <[email protected]> |
1063 | ||
1064 | * command.h (NO_FUNCTION): Delete macro. | |
1065 | * cli/cli-decode.h (NO_FUNCTION): Ditto. | |
1066 | * top.c (execute_command): Replace NO_FUNCTION with NULL. | |
1067 | * tracepoint.c (_initialize_tracepoint): Ditto. | |
1068 | * cli/cli-decode.c (add_set_cmd): Ditto. | |
1069 | * cli/cli-cmds.c (init_cli_cmds): Ditto. | |
1070 | ||
76b79d6e DJ |
1071 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
1072 | ||
1073 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. | |
1074 | Update ``this'' pointer when calling virtual functions. | |
1075 | ||
799f9e91 MS |
1076 | 2002-02-01 Michael Snyder <[email protected]> |
1077 | ||
c7bd442c | 1078 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
799f9e91 MS |
1079 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
1080 | ||
3cf384d4 DJ |
1081 | 2002-02-01 Daniel Jacobowitz <[email protected]> |
1082 | ||
1083 | * regformats/reg-arm.dat: New file. | |
1084 | * regformats/reg-i386.dat: New file. | |
1085 | * regformats/reg-ia64.dat: New file. | |
1086 | * regformats/reg-m68k.dat: New file. | |
1087 | * regformats/reg-mips.dat: New file. | |
1088 | * regformats/reg-ppc.dat: New file. | |
1089 | * regformats/reg-sh.dat: New file. | |
1090 | * regformats/regdef.h: New file. | |
1091 | * regformats/regdat.sh: New file. | |
1092 | ||
0defa245 RE |
1093 | 2002-02-01 Richard Earnshaw <[email protected]> |
1094 | ||
1095 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. | |
1096 | (arm_frame_args_address, arm_frame_locals_address): New functions. | |
1097 | (arm_frame_num_args): New function. | |
1098 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. | |
1099 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. | |
1100 | (FRMA_NUM_ARGS): Call arm_frame_num_args. | |
1101 | ||
405f26e6 MS |
1102 | 2002-01-31 Michael Snyder <[email protected]> |
1103 | ||
502fd408 MS |
1104 | * breakpoint.c (break_at_finish_command): Export. |
1105 | (break_at_finish_at_depth_command): Export. | |
1106 | (tbreak_at_finish_command): Export. | |
1107 | (_initialize_breakpoint): Delete "xbreak" and "tbreak" commands. | |
1108 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and | |
1109 | "tbreak" commands, which are HPPA specific. | |
1110 | ||
7d35e135 MS |
1111 | * printcmd.c (disassemble_command): Remove an ancient |
1112 | artifact of an old merge. | |
1113 | ||
d874f1e2 MS |
1114 | * symfile.h (enum overlay_debugging_state): |
1115 | Define enum constant values for overlay mode. | |
1116 | * symfile.c (overlay_debugging): Use enums instead of literals. | |
1117 | (overlay_is_mapped, overlay_auto_command, | |
1118 | overlay_manual_command): Ditto. | |
1119 | ||
9f04af04 MS |
1120 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
1121 | breakpoint_here_p, breakpoint_inserted_here_p, | |
1122 | breakpoint_thread_match, bpstat_stop_status, | |
1123 | describe_other_breakpoints, check_duplicates, clear_command): | |
1124 | Coding standard fixes. | |
1125 | ||
8add0441 | 1126 | * target.c (target_xfer_memory): Add spaces, coding standard. |
9f04af04 | 1127 | (do_xfer_memory): Add missing line to trust-readonly |
405f26e6 MS |
1128 | code: check bfd SEC_READONLY flag for section. |
1129 | ||
e351066e AC |
1130 | 2002-01-31 Andrew Cagney <[email protected]> |
1131 | ||
7d35e135 | 1132 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
e351066e | 1133 | |
8a48e967 DJ |
1134 | 2002-01-30 Daniel Jacobowitz <[email protected]> |
1135 | ||
1136 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for | |
1137 | data symbols, since we search based on textlow and texthigh. | |
1138 | (find_pc_sect_symtab): Likewise. | |
1139 | ||
f5a96129 AC |
1140 | 2002-01-30 Andrew Cagney <[email protected]> |
1141 | ||
1142 | * defs.h (vwarning): Declare. | |
f5a96129 AC |
1143 | * utils.c (vwarning): New function. |
1144 | (warning): Call vwarning. | |
1145 | (warning_begin): Delete function. | |
1146 | ||
1147 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print | |
1148 | the warning message. | |
1149 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to | |
1150 | warning_begin. | |
1151 | ||
cefd4ef5 MS |
1152 | 2002-01-30 Michael Snyder <[email protected]> |
1153 | ||
1a703748 MS |
1154 | * NEWS: Mention "set trust-readonly-sections" command. |
1155 | Mention generate-core-file command. | |
cefd4ef5 | 1156 | |
3a11626d MS |
1157 | 2002-01-15 Michael Snyder <[email protected]> |
1158 | ||
1159 | * target.c: New command, "set trust-readonly-sections on". | |
1160 | (do_xfer_memory): Honor the suggestion to trust readonly sections | |
1161 | by reading them from the object file instead of from the target. | |
1162 | (initialize_targets): Register command "set trust-readonly-sections". | |
1163 | ||
d1c7e53b AC |
1164 | 2002-01-29 Andrew Cagney <[email protected]> |
1165 | ||
1166 | * parse.c (target_map_name_to_register): Simplify, search regs and | |
1167 | pseudo-regs using a single loop. | |
1168 | ||
e2c9a72c AC |
1169 | 2002-01-30 Andrew Cagney <[email protected]> |
1170 | ||
1171 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. | |
1172 | ||
69824b4e MK |
1173 | 2002-01-15 Rodney Brown <[email protected]> |
1174 | ||
1175 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. | |
1176 | * config/i386/i386v42mp.mh: Add i387-nat.o . | |
1177 | * i386v4-nat.c: Include i387-nat.h. | |
1178 | (supply_fpregset): Use i387_supply_fsave. | |
1179 | (fill_fpregset): Use i387_fill_fsave. | |
1180 | ||
6eb69eab RE |
1181 | 2002-01-30 Richard Earnshaw <[email protected]> |
1182 | ||
1183 | * arm-tdep.c (arm_call_dummy_words): Define. | |
1184 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. | |
1185 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. | |
1186 | (CALL_DUMMY_WORDS): Define. | |
1187 | (arm_call_dummy_words): Declare. | |
1188 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. | |
1189 | (arm_linux_call_dummy_words): Declare. | |
1190 | ||
9852326a AS |
1191 | 2002-01-30 Andreas Schwab <[email protected]> |
1192 | ||
1193 | * m68klinux-nat.c: Fix last change to use regcache_collect | |
1194 | instead of referencing registers[] directly. | |
1195 | ||
977a3030 AC |
1196 | 2002-01-29 Andrew Cagney <[email protected]> |
1197 | ||
1198 | * parse.c (target_map_name_to_register): Delete code wrapped in | |
1199 | #ifdef REGISTER_NAME_ALIAS_HOOK. | |
1200 | ||
2076c72b MS |
1201 | 2002-01-28 Michael Snyder <[email protected]> |
1202 | ||
1203 | * regcache.c (legacy_read_register_gen): Need to be able to | |
1204 | read pseudo-register as well as real register. | |
1205 | (legacy_write_register_gen): Ditto. | |
1206 | ||
8fcc723b AC |
1207 | 2002-01-28 Andrew Cagney <[email protected]> |
1208 | ||
1209 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
1210 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. | |
1211 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. | |
1212 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. | |
1213 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. | |
1214 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. | |
1215 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. | |
1216 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. | |
1217 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. | |
1218 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. | |
1219 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. | |
1220 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. | |
1221 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. | |
1222 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. | |
1223 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. | |
1224 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. | |
1225 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. | |
1226 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. | |
1227 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. | |
1228 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. | |
1229 | ||
afe64c1a AC |
1230 | 2002-01-28 Andrew Cagney <[email protected]> |
1231 | ||
1232 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. | |
1233 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. | |
1234 | (initialize_current_architecture): Update target_byte_order using | |
1235 | information from BFD. | |
afe64c1a AC |
1236 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): |
1237 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. | |
1238 | ||
75bc7ddf AC |
1239 | 2002-01-28 Andrew Cagney <[email protected]> |
1240 | ||
1241 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... | |
1242 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. | |
1243 | ||
1244 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in | |
1245 | #ifdef INVALID_FLOAT. | |
1246 | * infcmd.c (do_registers_info): Ditto. | |
1247 | * values.c (unpack_double): Ditto. Add comment. | |
1248 | ||
1249 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was | |
1250 | already commented out. | |
1251 | ||
0280a90a AS |
1252 | 2002-01-26 Andreas Schwab <[email protected]> |
1253 | ||
1254 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
1255 | * m68klinux-nat.c: Update ptrace interface for fetching/storing | |
1256 | registers and add support for PTRACE_GETREGS. | |
1257 | ||
7072a954 AC |
1258 | 2002-01-24 Andrew Cagney <[email protected]> |
1259 | ||
1260 | GDB 5.1.1 released from 5.1 branch. | |
1261 | * NEWS: Add 5.1.1 news. | |
1262 | * README: Sync with 5.1 branch. | |
1263 | ||
86f902e0 FF |
1264 | 2002-01-23 Fred Fish <[email protected]> |
1265 | ||
1266 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to | |
1267 | stabstring on initial malloc. Reallocing will copy it for us, | |
1268 | if necessary. | |
1269 | ||
8af51c36 EZ |
1270 | 2002-01-23 Elena Zannoni <[email protected]> |
1271 | ||
1272 | * Makefile.in (hpread_h): Delete. | |
1273 | (HFILES_NO_SRCDIR): Remove hpread.h. | |
1274 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. | |
1275 | (hpread.o): Update dependencies. | |
1276 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. | |
1277 | ||
1278 | * hp-psymtab-read.c: Remove file. | |
1279 | * hp-symtab-read.c: Remove file. | |
1280 | * hpread.h: Remove file. | |
1281 | ||
1282 | * hpread.c: Merge all contents of hp-psymtab-read.c, | |
1283 | hp-symtab-read.c and hpread.h into this file, as it was prior to | |
1284 | January 1999. | |
1285 | ||
1286 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, | |
1287 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, | |
1288 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): | |
1289 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. | |
1290 | ||
dc5cfeb6 EZ |
1291 | 2002-01-23 Elena Zannoni <[email protected]> |
1292 | ||
1293 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, | |
1294 | fill_gregset): Call gdbarch_tdep() just once, assign result to | |
1295 | variable and use that, instead of calling the function several | |
1296 | times. | |
1297 | ||
ea87b71b AO |
1298 | 2002-01-24 Alexandre Oliva <[email protected]> |
1299 | ||
1300 | * configure.host: Accept sparcv9 as alias for sparc64. | |
1301 | * configure.tgt: Likewise. | |
1302 | ||
13fc0c2f KB |
1303 | 2002-01-22 Kevin Buettner <[email protected]> |
1304 | ||
1305 | * solib-aix5.c (build_so_list_from_mapfile) | |
1306 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of | |
1307 | arguments is not reversed. | |
1308 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. | |
1309 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. | |
1310 | ||
7bd872fe EZ |
1311 | 2002-01-22 Elena Zannoni <[email protected]> |
1312 | ||
1313 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and | |
1314 | modified version of obsolete sh_fetch_pseudo_register. | |
1315 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. | |
1316 | (sh4_register_read): New function. | |
1317 | (sh_pseudo_register_write): New function. Renamed and modified | |
1318 | version of obsolete sh_store_pseudo_register. | |
1319 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. | |
1320 | (sh4_register_write): New function. | |
1321 | (sh_gdbarch_init): Remove setting of gdbarch function | |
1322 | fetch_pseudo_register and store_pseudo_register. Remove setting of | |
1323 | register_convert_to_raw, register_convert_to_virtual, | |
1324 | register_convertible. | |
1325 | (sh_sh4_register_convertible): Delete. No longer needed. All is | |
1326 | taken care by architecture specific functions | |
1327 | register_read/register_write. | |
1328 | (sh_sh4_register_convert_to_virtual): Make static. | |
1329 | (sh_sh4_register_convert_to_raw): Ditto. | |
1330 | ||
069e84fd AC |
1331 | 2002-01-22 Andrew Cagney <[email protected]> |
1332 | ||
1333 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. | |
1334 | (floatformat_is_nan, floatformat_mantissa): Ditto. | |
1335 | ||
1336 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT | |
1337 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, | |
1338 | builtin_type_ieee_double_little, | |
1339 | builtin_type_ieee_double_littlebyte_bigword, | |
1340 | builtin_type_m68881_ext, builtin_type_i960_ext, | |
1341 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, | |
1342 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, | |
1343 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and | |
1344 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. | |
1345 | ||
211a4f69 CV |
1346 | 2002-01-22 Corinna Vinschen <[email protected]> |
1347 | ||
1348 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless | |
1349 | parameter. Set frameless flag if it exists and depended of | |
1350 | whether the scanned function is frameless or not. | |
1351 | (xstormy16_skip_prologue): If function is frameless, return | |
1352 | result of xstormy16_scan_prologue(). | |
1353 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() | |
1354 | call. | |
1355 | ||
f81353e4 EZ |
1356 | 2002-01-21 Elena Zannoni <[email protected]> |
1357 | ||
1358 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, | |
1359 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, | |
1360 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, | |
1361 | sh_sh4_register_byte, sh_sh4_register_raw_size, | |
1362 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, | |
1363 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, | |
1364 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, | |
1365 | sh_store_pseudo_register, sh_do_pseudo_register): Call | |
1366 | gdbarch_tdep() just once, assign result to variable and use that, | |
1367 | instead of calling the function several times. | |
1368 | ||
63c73a17 MK |
1369 | 2002-01-20 Mark Kettenis <[email protected]> |
1370 | ||
1371 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P | |
1372 | macros instead of LAST_FPU_CTRL_REGNUM. | |
1373 | (store_register): Likewise. | |
1374 | ||
39ad761d JB |
1375 | 2002-01-21 Jim Blandy <[email protected]> |
1376 | ||
1377 | * infcmd.c (run_command): Check that the `exec' target layer's BFD | |
1378 | is up-to-date before running the program, not just when a program | |
1379 | exits. | |
1380 | ||
3d74b771 FF |
1381 | 2002-01-21 Fred Fish <[email protected]> |
1382 | ||
1383 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue | |
1384 | when we have found all instructions we are looking for. | |
1385 | ||
966fbf70 RE |
1386 | 2002-01-21 Richard Earnshaw <[email protected]> |
1387 | ||
1388 | * arm-tdep.c (arm_register_name): New function. | |
1389 | (arm_registers_names): Make static. | |
1390 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. | |
1391 | (arm_register_name): Declare. | |
1392 | (REGISTER_NAME): Use it. | |
1393 | ||
c3b4394c RE |
1394 | 2002-01-21 Richard Earnshaw <[email protected]> |
1395 | Kevin Buettner <[email protected]> | |
1396 | ||
1397 | Convert arm targets to new FRAME interface. | |
1398 | * arm-tdep.c (struct frame_extra_info): Remove fsr. | |
1399 | (arm_frame_find_save_regs): Delete. | |
1400 | (arm_frame_init_saved_regs): New. | |
1401 | (arm_init_extra_frame_info): Alloacte saved_regs as required. | |
1402 | Allocate extra_info as required. Convert all uses of fsr.regs | |
1403 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields | |
1404 | to use extra_info. | |
1405 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) | |
1406 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. | |
1407 | (check_prologue_cache, save_prologue_cache): Likewise. | |
1408 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. | |
1409 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. | |
1410 | (FRAME_FIND_SAVED_REGS): Delete. | |
1411 | (arm_frame_find_saved_regs): Delete prototype. | |
1412 | (arm_frame_init_saved_regs): New prototype. | |
1413 | (FRAME_INIT_SAVED_REGS): Define. | |
1414 | ||
61d99182 AC |
1415 | 2002-01-20 Andrew Cagney <[email protected]> |
1416 | ||
1417 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. | |
1418 | ||
6aaea291 AC |
1419 | 2002-01-20 Andrew Cagney <[email protected]> |
1420 | ||
1421 | From Jeff Law <[email protected]>: | |
1422 | * infttrace.c: Include <sys/pstat.h>. | |
1423 | (child_pid_to_exec_file): Revamp. Use pstat call to get the | |
1424 | exec file if the ttrace equivalent fails. | |
1425 | ||
15f698d2 AC |
1426 | 2002-01-20 Andrew Cagney <[email protected]> |
1427 | ||
1428 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. | |
1429 | (closeLogFile): Ditto. | |
1430 | ||
f86ddd7c MC |
1431 | 2002-01-20 Michael Chastain <[email protected]> |
1432 | ||
1433 | * top.c (print_gdb_version): Bump copyright year to 2002. | |
1434 | ||
904507ce AC |
1435 | 2002-01-20 Andrew Cagney <[email protected]> |
1436 | ||
1437 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena | |
1438 | Zannoni and Eli Zaretskii. | |
1439 | ||
d7f0b9ce DJ |
1440 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
1441 | ||
1442 | * buildsym.c: Update copyright years. | |
1443 | * c-typeprint.c: Likewise. | |
1444 | * dwarf2read.c: Likewise. | |
1445 | * f-typeprint.c: Likewise. | |
1446 | * gdbtypes.c: Likewise. | |
1447 | * gdbtypes.h: Likewise. | |
1448 | * hp-symtab-read.c: Likewise. | |
1449 | * hpread.c: Likewise. | |
1450 | * mdebugread.c: Likewise. | |
1451 | * p-typeprint.c: Likewise. | |
1452 | ||
3fd3d7d2 AC |
1453 | 2002-01-20 Andrew Cagney <[email protected]> |
1454 | ||
1455 | * remote-sim.c (gdbsim_open): Simplify code testing the macro | |
1456 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always | |
1457 | byte-order selectable. | |
1458 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. | |
1459 | * arch-utils.c: Ditto. | |
1460 | (set_endian): Ditto. | |
1461 | (set_endian_from_file): Ditto. | |
1462 | * gdbserver/low-sim.c (create_inferior): Ditto. | |
1463 | * gdbarch.sh: Ditto. | |
1464 | * gdbarch.h: Re-generate. | |
1465 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
1466 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): | |
1467 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): | |
1468 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
1469 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
1470 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): | |
1471 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): | |
1472 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete | |
1473 | macro definition. | |
1474 | * config/mips/tm-wince.h: Remove #undef of macro | |
1475 | TARGET_BYTE_ORDER_SELECTABLE. | |
1476 | * config/sh/tm-wince.h: Ditto. | |
1477 | ||
b02dede2 DJ |
1478 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
1479 | ||
1480 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to | |
1481 | member function fields. Add accessor macro | |
1482 | TYPE_FN_FIELD_ARTIFICIAL. | |
1483 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. | |
1484 | * c-typeprint.c (c_type_print_base): Skip artificial member | |
1485 | functions. | |
1486 | ||
c3643761 DJ |
1487 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
1488 | ||
1489 | * f-typeprint.c: Delete unused function f_type_print_args. | |
1490 | * p-typeprint.c: Delete unused function pascal_type_print_args. | |
1491 | ||
8176bb6d DJ |
1492 | 2002-01-20 Daniel Jacobowitz <[email protected]> |
1493 | ||
1494 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete | |
1495 | comment. Add ``artificial'' to ``union field_location''. | |
1496 | ||
1497 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. | |
1498 | ||
1499 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. | |
1500 | * mdebugread.c (parse_symbol): Likewise. | |
1501 | * stabsread.c (define_symbol): Likewise. | |
1502 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of | |
1503 | initializing TYPE_FIELD_BITPOS to n (obsolete). | |
1504 | (hpread_doc_function_type): Likewise. | |
1505 | * hpread.c (hpread_function_type): Likewise. | |
1506 | ||
7fd60527 AC |
1507 | 2002-01-20 Andrew Cagney <[email protected]> |
1508 | ||
1509 | * configure.in (host_makefile_frag): Only require a host makefile | |
1510 | fragment when a native build. | |
1511 | * configure: Re-generate. | |
1512 | ||
c2f05ac9 AC |
1513 | 2002-01-20 Andrew Cagney <[email protected]> |
1514 | ||
1515 | * doublest.h (floatformat_from_type): Declare. | |
1516 | * doublest.c (floatformat_from_type): New function. | |
1517 | (convert_typed_floating): Use. | |
1518 | ||
1519 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with | |
1520 | call to function floatformat_from_type. | |
1521 | ||
1522 | * gdbarch.sh (IEEE_FLOAT): Delete. | |
1523 | * gdbarch.h, gdbarch.c: Re-generate. | |
1524 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. | |
1525 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. | |
1526 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. | |
1527 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. | |
1528 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. | |
1529 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. | |
1530 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. | |
1531 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. | |
1532 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. | |
1533 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. | |
1534 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. | |
c2f05ac9 AC |
1535 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
1536 | ||
1537 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. | |
1538 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. | |
1539 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. | |
1540 | * sh-tdep.c (sh_gdbarch_init): Ditto. | |
1541 | * mips-tdep.c (mips_gdbarch_init): Ditto. | |
1542 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. | |
1543 | * cris-tdep.c (cris_gdbarch_init): Ditto. | |
1544 | ||
abf22e64 AJ |
1545 | 2002-01-20 Jiri Smid <[email protected]> |
1546 | ||
1547 | * configure.host, configure.tgt: Support x86-64. | |
1548 | * NEWS: Note new target x86-64. | |
1549 | ||
b7c4cbf8 AJ |
1550 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
1551 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. | |
1552 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. | |
1553 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, | |
1554 | x86-64-linux-nat.o): Fix dependencies. | |
1555 | ||
82600034 AC |
1556 | 2002-01-19 Andrew Cagney <[email protected]> |
1557 | ||
1558 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. | |
1559 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... | |
1560 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. | |
1561 | * config/sparc/xm-sun4os4.h: Delete file. | |
1562 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. | |
abf22e64 | 1563 | |
bbe5c628 AC |
1564 | 2002-01-19 Andrew Cagney <[email protected]> |
1565 | ||
1566 | * config/sparc/sparclynx.mh (XM_FILE): Delete. | |
1567 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. | |
1568 | * config/m68k/m68klynx.mh (XM_FILE): Delete. | |
1569 | * config/i386/i386lynx.mh (XM_FILE): Delete. | |
1570 | * config/rs6000/xm-rs6000ly.h: Delete file. | |
1571 | * config/sparc/xm-sparclynx.h: Delete file. | |
1572 | * config/m68k/xm-m68klynx.h: Delete file. | |
1573 | * config/i386/xm-i386lynx.h: Delete file. | |
1574 | * config/xm-lynx.h: Delete file. | |
1575 | * config/djgpp/fnchange.lst: Update. | |
1576 | ||
f8453e34 JT |
1577 | 2002-01-19 Jason Thorpe <[email protected]> |
1578 | ||
1579 | * alpha-tdep.c (alpha_register_byte): New function. | |
1580 | (alpha_register_raw_size): Ditto. | |
1581 | (alpha_register_virtual_size): Ditto. | |
1582 | (alpha_skip_prologue_internal): Renamed from | |
1583 | alpha_skip_prologue. | |
1584 | (alpha_skip_prologue): New version that calls | |
1585 | alpha_skip_prologue_internal. | |
1586 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. | |
1587 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove | |
1588 | second argument from alpha_skip_prologue. | |
1589 | (REGISTER_BYTE): Use alpha_register_byte. | |
1590 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. | |
1591 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. | |
1592 | (FRAMELESS_FUNCTION_INVOCATION): Use | |
1593 | generic_frameless_function_invocation_not. | |
1594 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. | |
1595 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. | |
1596 | ||
52d9e613 AC |
1597 | 2002-01-19 Andrew Cagney <[email protected]> |
1598 | ||
1599 | * config/mips/xm-news-mips.h: Delete file. | |
1600 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. | |
1601 | ||
1602 | * config/m88k/xm-m88k.h: Delete file. | |
1603 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. | |
1604 | * config/m88k/xm-delta88v4.h: Ditto. | |
1605 | * config/m88k/xm-delta88.h: Ditto. | |
1606 | ||
1607 | * config/alpha/xm-fbsd.h: Delete file. | |
1608 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. | |
1609 | ||
1610 | * config/sparc/xm-sparc.h: Delete file. | |
1611 | * Makefile.in (xm-sun4os4.h): Delete dependency. | |
1612 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. | |
1613 | * config/sparc/xm-sun4os4.h: Ditto. | |
1614 | * config/sparc/xm-linux.h: Ditto. | |
1615 | ||
1616 | * config/i386/xm-windows.h: Delete file. | |
1617 | ||
2d1b2124 AC |
1618 | 2002-01-19 Andrew Cagney <[email protected]> |
1619 | ||
1620 | * utils.c: Include <sys/param.h> for MAXPATHLEN. | |
1621 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. | |
1622 | ||
ee1f65f0 JT |
1623 | 2002-01-19 Jason Thorpe <[email protected]> |
1624 | ||
1625 | * alpha-tdep.c (alpha_call_dummy_words): New. | |
1626 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. | |
1627 | (CALL_DUMMY_P): Define. | |
1628 | (CALL_DUMMY_WORDS): Define. | |
1629 | (SIZEOF_CALL_DUMMY_WORDS): Define. | |
1630 | ||
98081e55 PB |
1631 | 2002-01-19 Per Bothner <[email protected]> |
1632 | ||
1633 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name | |
1634 | isn't NULL, which can happen with some gcj-3.x-produced code. | |
1635 | ||
0d056799 JT |
1636 | 2002-01-19 Jason Thorpe <[email protected]> |
1637 | ||
1638 | * alpha-tdep.c (alpha_register_virtual_type): New function. | |
1639 | (alpha_init_frame_pc_first): Ditto. | |
1640 | (alpha_fix_call_dummy): Ditto. | |
1641 | (alpha_store_struct_return): Ditto. | |
1642 | (alpha_extract_struct_value_address): Ditto. | |
1643 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use | |
1644 | alpha_register_virtual_type. | |
1645 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. | |
1646 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use | |
1647 | alpha_extract_struct_value_address. | |
1648 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. | |
1649 | (INIT_FRAME_PC): Use init_frame_pc_noop. | |
1650 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. | |
1651 | ||
4604bcad MK |
1652 | 2002-01-19 Mark Kettenis <[email protected]> |
1653 | ||
1654 | * i386gnu-nat.c: Include "i386-tdep.h". | |
1655 | (fetch_fpregs): Simplify code dealing with uninitialized floating | |
1656 | point states such that it doesn't require FP7_REGNUM. | |
1657 | ||
140f9984 JT |
1658 | 2002-01-18 Jason Thorpe <[email protected]> |
1659 | ||
abf22e64 AJ |
1660 | * alpha-tdep.c (frame_extra_info): New. |
1661 | (alpha_find_saved_regs): Make static. Use | |
140f9984 JT |
1662 | frame->extra_info. |
1663 | (alpha_frame_init_saved_regs): New function. | |
abf22e64 AJ |
1664 | (alpha_frame_saved_pc): Use frame->extra_info. |
1665 | (temp_saved_regs): Don't declare as struct frame_saved_regs. | |
1666 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. | |
140f9984 JT |
1667 | (init_extra_frame_info): Rename to... |
1668 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. | |
abf22e64 | 1669 | (alpha_print_extra_frame_info): New function. |
140f9984 JT |
1670 | (alpha_frame_locals_address): Ditto. |
1671 | (alpha_frame_args_address): Ditto. | |
abf22e64 | 1672 | (alpha_pop_frame): Use frame->extra_info. |
140f9984 JT |
1673 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
1674 | alpha_frame_args_address. | |
abf22e64 | 1675 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
140f9984 | 1676 | (alpha_find_saved_regs): Remove prototype. |
abf22e64 AJ |
1677 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
1678 | (EXTRA_FRAME_INFO): Remove. | |
140f9984 JT |
1679 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
1680 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. | |
1681 | ||
d734c450 JT |
1682 | 2002-01-18 Jason Thorpe <[email protected]> |
1683 | ||
1684 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. | |
1685 | (alpha_cannot_fetch_register): Ditto. | |
1686 | (alpha_cannot_store_register): Ditto. | |
1687 | (alpha_register_convertible): Ditto. | |
1688 | (alpha_use_struct_convention): Ditto. | |
1689 | * config/alpha/tm-alpha.h: Update copyright years. | |
1690 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. | |
1691 | (INNER_THAN): Use core_addr_lessthan. | |
1692 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. | |
1693 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. | |
1694 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. | |
1695 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. | |
1696 | (FRAME_CHAIN): Remove unnecessary cast. | |
1697 | ||
b4ceaee6 AC |
1698 | 2002-01-18 Andrew Cagney <[email protected]> |
1699 | ||
1700 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is | |
1701 | obsolete. | |
1702 | ||
0a65a603 AC |
1703 | 2002-01-18 Andrew Cagney <[email protected]> |
1704 | ||
1705 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. | |
1706 | * monitor.c, remote-array.c, remote-bug.c: Ditto. | |
1707 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. | |
1708 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. | |
1709 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. | |
1710 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. | |
1711 | * x86-64-linux-nat.c: Ditto. | |
1712 | ||
636a6dfc JT |
1713 | 2002-01-18 Jason Thorpe <[email protected]> |
1714 | ||
abf22e64 | 1715 | * alpha-tdep.c (alpha_register_name): New function. |
636a6dfc JT |
1716 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
1717 | (REGISTER_NAME): Define. | |
1718 | ||
acceddb6 JT |
1719 | 2002-01-18 Jason Thorpe <[email protected]> |
1720 | ||
1721 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. | |
1722 | ||
ec32e4be JT |
1723 | 2002-01-18 Jason Thorpe <[email protected]> |
1724 | ||
1725 | * alpha-tdep.c: Update copyright years. | |
1726 | (alpha_next_pc): New function. | |
1727 | (alpha_software_single_step): Ditto. | |
1728 | * config/alpha/tm-alpha.h: Add prototype for | |
1729 | alpha_software_single_step. | |
1730 | ||
e771a871 JT |
1731 | 2002-01-18 Jason Thorpe <[email protected]> |
1732 | ||
1733 | * alphabsd-nat.c: Update copyright years. | |
1734 | (fill_gregset): Use regcache_collect. | |
1735 | (fill_fpregset): Likewise. | |
1736 | (fetch_inferior_registers): Only fetch integer registers | |
1737 | if requested to do so. | |
1738 | (store_inferior_registers): Only store integer registers | |
1739 | if requested to do so. | |
1740 | ||
7708fa01 AC |
1741 | 2002-01-17 Andrew Cagney <[email protected]> |
1742 | ||
1743 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. | |
1744 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. | |
1745 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. | |
1746 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. | |
1747 | * config/alpha/fbsd.mh (XDEPFILES): Delete. | |
1748 | * config/arm/linux.mh (XDEPFILES): Delete. | |
1749 | * config/arm/nbsd.mh (XDEPFILES): Delete. | |
1750 | * config/i386/i386dgux.mh (XDEPFILES): Delete. | |
1751 | * config/i386/i386sol2.mh (XDEPFILES): Delete. | |
1752 | * config/i386/i386m3.mh (XDEPFILES): Delete. | |
1753 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. | |
1754 | * config/i386/i386gnu.mh (XDEPFILES): Delete. | |
1755 | * config/i386/fbsd.mh (XDEPFILES): Delete. | |
1756 | * config/i386/i386bsd.mh (XDEPFILES): Delete. | |
1757 | * config/i386/i386sco5.mh (XDEPFILES): Delete. | |
1758 | * config/i386/i386v4.mh (XDEPFILES): Delete. | |
1759 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. | |
1760 | * config/i386/i386sco4.mh (XDEPFILES): Delete. | |
1761 | * config/i386/i386aix.mh (XDEPFILES): Delete. | |
1762 | * config/i386/go32.mh (XDEPFILES): Delete. | |
1763 | * config/i386/cygwin.mh (XDEPFILES): Delete. | |
1764 | * config/i386/i386lynx.mh (XDEPFILES): Delete. | |
1765 | * config/i386/i386mach.mh (XDEPFILES): Delete. | |
1766 | * config/i386/i386v32.mh (XDEPFILES): Delete. | |
1767 | * config/i386/linux.mh (XDEPFILES): Delete. | |
1768 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. | |
1769 | * config/i386/ncr3000.mh (XDEPFILES): Delete. | |
1770 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. | |
1771 | * config/i386/i386sco.mh (XDEPFILES): Delete. | |
1772 | * config/i386/i386v.mh (XDEPFILES): Delete. | |
1773 | * config/i386/nbsd.mh (XDEPFILES): Delete. | |
1774 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. | |
1775 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. | |
1776 | * config/i386/symmetry.mh (XDEPFILES): Delete. | |
1777 | * config/i386/obsd.mh (XDEPFILES): Delete. | |
1778 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. | |
1779 | * config/ia64/linux.mh (XDEPFILES): Delete. | |
1780 | * config/ia64/aix.mh (XDEPFILES): Delete. | |
1781 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. | |
1782 | * config/m68k/dpx2.mh (XDEPFILES): Delete. | |
1783 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. | |
1784 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. | |
1785 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. | |
1786 | * config/m68k/linux.mh (XDEPFILES): Delete. | |
1787 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. | |
1788 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. | |
1789 | * config/m68k/nbsd.mh (XDEPFILES): Delete. | |
1790 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. | |
1791 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. | |
1792 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. | |
1793 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. | |
1794 | * config/m88k/delta88.mh (XDEPFILES): Delete. | |
1795 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. | |
1796 | * config/m88k/m88k.mh (XDEPFILES): Delete. | |
1797 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. | |
1798 | * config/mips/linux.mh (XDEPFILES): Delete. | |
1799 | * config/mips/irix6.mh (XDEPFILES): Delete. | |
1800 | * config/mips/irix5.mh (XDEPFILES): Delete. | |
1801 | * config/mips/irix4.mh (XDEPFILES): Delete. | |
1802 | * config/mips/irix3.mh (XDEPFILES): Delete. | |
1803 | * config/mips/decstation.mh (XDEPFILES): Delete. | |
1804 | * config/mips/mipsm3.mh (XDEPFILES): Delete. | |
1805 | (NATDEPFILES): Move core-aout.o to here. | |
1806 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. | |
1807 | * config/pa/hpux1020.mh (XDEPFILES): Delete. | |
1808 | * config/pa/hppabsd.mh (XDEPFILES): Delete. | |
1809 | * config/pa/hppahpux.mh (XDEPFILES): Delete. | |
1810 | * config/pa/hpux11w.mh (XDEPFILES): Delete. | |
1811 | * config/pa/hppaosf.mh (XDEPFILES): Delete. | |
1812 | * config/pa/hpux11.mh (XDEPFILES): Delete. | |
1813 | * config/powerpc/aix.mh (XDEPFILES): Delete. | |
1814 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. | |
1815 | * config/powerpc/linux.mh (XDEPFILES): Delete. | |
1816 | * config/romp/rtbsd.mh: Rename XDEPFILES. | |
1817 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. | |
1818 | * config/rs6000/aix4.mh (XDEPFILES): Delete. | |
1819 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. | |
1820 | * config/s390/s390.mh (XDEPFILES): Delete. | |
1821 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. | |
1822 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. | |
1823 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. | |
1824 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. | |
1825 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. | |
1826 | * config/sparc/nbsd.mh (XDEPFILES): Delete. | |
1827 | * config/sparc/linux.mh (XDEPFILES): Delete. | |
1828 | * config/vax/vaxult.mh (XDEPFILES): Delete. | |
1829 | * config/vax/vaxult2.mh (XDEPFILES): Delete. | |
1830 | * Makefile.in (DEPFILES): Remove XDEPFILES. | |
1831 | ||
375fc983 AC |
1832 | 2002-01-17 Andrew Cagney <[email protected]> |
1833 | ||
1834 | * utils.c (internal_verror): Fix comments, default is yes not no. | |
1835 | Update queries to match. Default to quit and dump core. | |
1836 | ||
8926118c AC |
1837 | 2002-01-17 Andrew Cagney <[email protected]> |
1838 | ||
1839 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update | |
1840 | copyright. | |
1841 | * defs.h, event-top.c, gdbcmd.h: Ditto. | |
1842 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. | |
1843 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. | |
1844 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. | |
1845 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. | |
1846 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. | |
1847 | * mi/mi-main.c:Ditto. | |
1848 | ||
1849 | * stack.c, symfile.c: Update copyright. | |
1850 | ||
45b7b345 DJ |
1851 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
1852 | ||
db728ff7 DJ |
1853 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
1854 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, | |
1855 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, | |
1856 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. | |
45b7b345 | 1857 | |
db728ff7 DJ |
1858 | 2002-01-17 Daniel Jacobowitz <[email protected]> |
1859 | ||
1860 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. | |
1861 | * gdbserver/low-lynx.c (myattach): Likewise. | |
1862 | * gdbserver/low-nbsd.c (myattach): Likewise. | |
1863 | * gdbserver/low-sim.c (myattach): Likewise. | |
1864 | * gdbserver/low-sparc.c (myattach): Likewise. | |
1865 | * gdbserver/low-sun3.c (myattach): Likewise. | |
1866 | ||
1867 | * gdbserver/low-linux.c (myattach): New function. | |
45b7b345 | 1868 | |
db728ff7 | 1869 | * gdbserver/server.c (attach_inferior): New function. |
45b7b345 DJ |
1870 | (main): Handle "--attach". |
1871 | ||
8de3c354 AC |
1872 | 2002-01-16 Andrew Cagney <[email protected]> |
1873 | ||
1874 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ | |
1875 | maintainer. | |
1876 | ||
b0129042 DJ |
1877 | 2002-01-15 Daniel Jacobowitz <[email protected]> |
1878 | ||
1879 | * c-typeprint.c (is_type_conversion_operator): Add additional | |
1880 | check for non-conversion operators. | |
1881 | ||
ba8679fb | 1882 | 2002-01-15 Michael Snyder <[email protected]> |
2bf543a6 MS |
1883 | |
1884 | * linux-proc.c: Add "info proc" command, a la procfs.c. | |
1885 | (read_mapping): New function, abstract and re-use code. | |
1886 | (linux_find_memory_regions): Use new func read_mapping. | |
1887 | (linux_info_proc_cmd): New function, implement "info proc". | |
1888 | (_initialize_linux_proc): Add new command "info proc". | |
1889 | ||
e4f9b4d5 MS |
1890 | 2002-01-15 Michael Snyder <[email protected]> |
1891 | ||
1892 | * symfile.c (generic_load): Use bfd_map_over_sections method | |
1893 | instead of manipulating bfd structure members directly. | |
1894 | (add_section_size_callback): New function, bfd sections callback | |
1895 | used by generic_load. | |
1896 | (load_sections_callback): New function, bfd sections callback | |
1897 | used by generic_load. | |
1898 | ||
08cf96df EZ |
1899 | 2002-01-15 Elena Zannoni <[email protected]> |
1900 | ||
abf22e64 | 1901 | [Based on work by Jim Blandy] |
08cf96df EZ |
1902 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
1903 | (builtin_type_vec128): Export. | |
1904 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD | |
1905 | types. | |
1906 | (builtin_type_vec128): New builtin type for 128 bit vector | |
1907 | registers. | |
1908 | (build_gdbtypes): Initialize builtin_type_v16qi and | |
1909 | builtin_type_v8hi. Create the vec128 register builtin type | |
1910 | structure. | |
1911 | (build_builtin_type_vec128): New function. | |
abf22e64 | 1912 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
08cf96df EZ |
1913 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
1914 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of | |
1915 | AltiVec register to new builtin type. | |
1916 | ||
d7242108 DJ |
1917 | 2001-01-15 Daniel Jacobowitz <[email protected]> |
1918 | ||
1919 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) | |
1920 | to make_cv_type. | |
1921 | ||
4ee3352d AC |
1922 | 2002-01-14 Andrew Cagney <[email protected]> |
1923 | ||
1924 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename | |
1925 | CLEAN_UP_REGISTER_VALUE. | |
1926 | * regcache.c (supply_register): Update only call. | |
1927 | ||
f015b2e7 AC |
1928 | 2002-01-14 Andrew Cagney <[email protected]> |
1929 | ||
1930 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
1931 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
1932 | a29k-*-vxworks* targets as obsolete. | |
1933 | ||
356ae49d MS |
1934 | 2002-01-14 Michael Snyder <[email protected]> |
1935 | ||
1936 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs | |
1937 | until we can resolve portability issues. | |
1938 | * gregset.h: Remove references to fpxregs. | |
1939 | * gcore.c (gcore_command): Initialize note_sec to NULL. | |
1940 | ||
ade8f45e AC |
1941 | 2002-01-13 Andrew Cagney <[email protected]> |
1942 | ||
1943 | * signals.c (target_signal_to_name): Rewrite. Only use | |
1944 | signals[].name when in bounds and non-NULL. | |
abf22e64 | 1945 | |
89c49e7a AC |
1946 | 2002-01-13 Andrew Cagney <[email protected]> |
1947 | ||
1948 | From Petr Ledvina <[email protected]>: | |
1949 | * signals.c (target_signal_to_name): Verify that SIG is within the | |
1950 | bounds of the signals array. | |
1951 | ||
4daa9f9f AC |
1952 | 2002-01-13 Andrew Cagney <[email protected]> |
1953 | ||
1954 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. | |
1955 | ||
ba4bbdcb KS |
1956 | 2002-01-13 Keith Seitz <[email protected]> |
1957 | ||
1958 | * stack.c (print_frame_info_base): Print the frame's pc | |
1959 | only if when print_frame_info_listing_hook is not defined. | |
1960 | ||
575bbeb6 KS |
1961 | 2002-01-13 Keith Seitz <[email protected]> |
1962 | ||
1963 | * varobj.c (varobj_set_value): Make sure that there were no | |
1964 | errors evaluating the object before attempting to set its | |
1965 | value. | |
1966 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, | |
1967 | so this offset adjustment is no longer necessary. | |
1968 | (create_child): Don't set the error flag if the child is | |
1969 | a CPLUS_FAKE_CHILD. | |
1970 | (value_of_child): If value_fetch_lazy fails, return NULL | |
1971 | so that callers will be notified that an error occurred. | |
1972 | (c_value_of_variable): Delay check of variable's validity | |
1973 | until later. We actually want all structs and unions to have | |
1974 | the value "{...}". | |
1975 | Do not return "???" for variables which could not be evaluated. | |
1976 | This error condition must be returned to the caller so that it | |
1977 | can get the error condition from gdb. | |
1978 | (cplus_name_of_child): Adjust index for vptr before figuring | |
1979 | out the name of the child. | |
1980 | (cplus_value_of_child): If a child's (real) parent is not valid, | |
1981 | don't even bother trying to give a value for it. Just return | |
1982 | an error. Change all instances in this function. | |
1983 | (cplus_type_of_child): If our parent is one of the "fake" | |
1984 | parents, we need to get at the type of the real parent, and | |
1985 | derive the child's true type using this information. | |
1986 | ||
b76898ab AC |
1987 | 2002-01-13 Andrew Cagney <[email protected]> |
1988 | ||
1989 | From 2002-01-09 John Marshall <[email protected]>: | |
1990 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to | |
1991 | sources.redhat.com, and tweak some related URLs which had | |
1992 | suffered from linkrot. | |
1993 | ||
b6649e88 AC |
1994 | 2002-01-13 Andrew Cagney <[email protected]> |
1995 | ||
1996 | From Jeff law: | |
1997 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte | |
1998 | structures passed in registers. | |
1999 | ||
82cc5033 EZ |
2000 | 2002-01-13 Eli Zaretskii <[email protected]> |
2001 | ||
2002 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous | |
2003 | white space which prevented compilation. Reported by DSK | |
2004 | <[email protected]>. | |
2005 | ||
ba5f2f8a MS |
2006 | 2002-01-11 Michael Snyder <[email protected]> |
2007 | ||
fbd35540 MS |
2008 | * symfile.c (build_section_addr_info_from_section_tab): |
2009 | Use bfd access method instead of manipulating bfd directly. | |
2010 | (syms_from_objfile): Ditto. | |
2011 | (simple_overlay_update_1): Ditto. | |
2012 | (simple_overlay_update): Ditto. | |
2013 | (generic_load): Ditto. | |
2014 | (overlay_unmapped_address): FIXME comment, bfd access methods. | |
2015 | (sections_overlap): FIXME comment, bfd access methods. | |
2016 | (pc_in_mapped_range): FIXME comment, bfd access methods. | |
2017 | (pc_in_unmapped_range): FIXME comment, bfd access methods. | |
2018 | (section_is_mapped): FIXME comment, bfd access methods. | |
2019 | (section_is_overlay): FIXME comment, bfd access methods. | |
2020 | ||
ba5f2f8a MS |
2021 | * symfile.c (generic_load): Whitespace and long line cleanups. |
2022 | Remove duplicate variable, change several local variables to | |
2023 | more appropriate data types. | |
2024 | (print_transfer_performance): Use %lu instead of %ld for ulongs. | |
2025 | ||
17df2af6 AC |
2026 | 2002-01-12 Andrew Cagney <[email protected]> |
2027 | ||
2028 | From Peter Schauer: | |
2029 | * language.c (longest_local_hex_string_custom): Use phex_nz to | |
2030 | convert NUM to a hex string. | |
2031 | ||
ec920329 EZ |
2032 | 2002-01-12 Elena Zannoni <[email protected]> |
2033 | ||
2034 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in | |
2035 | the function. | |
538a76d6 | 2036 | Update Copyright year. |
ec920329 | 2037 | |
3abd2e01 AC |
2038 | 2002-01-12 Andrew Cagney <[email protected]> |
2039 | ||
2040 | * language.c (longest_raw_hex_string): Delete unused function. | |
2041 | ||
b21b22e0 PS |
2042 | 2002-01-11 Petr Sorfa <[email protected]> |
2043 | ||
2044 | * MAINTAINERS (write-after-approval): Add myself. | |
2045 | * dwarf2read.c (read_tag_string_type): Handling of | |
2046 | DW_AT_byte_size. | |
2047 | (read_tag_string_type): FORTRAN fix to prevent propagation of | |
2048 | first string size. | |
2049 | (set_cu_language): Handling of DW_LANG_Fortran95 | |
2050 | ||
747fe712 RE |
2051 | 2002-01-11 Richard Earnshaw <[email protected]> |
2052 | ||
2053 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> | |
2054 | GETPID(inferior_ptid). | |
2055 | (store_inferior_registers): Likewise. | |
2056 | ||
f1bea926 JM |
2057 | 2002-01-10 Jason Merrill <[email protected]> |
2058 | ||
2059 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. | |
2060 | Fix DW_OP_minus. | |
2061 | ||
ae940673 AC |
2062 | 2002-01-10 Andrew Cagney <[email protected]> |
2063 | ||
2064 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 | |
2065 | and bfd/elf32-sh-nbsd.c. | |
2066 | ||
00546b04 MS |
2067 | 2002-01-10 Michael Snyder <[email protected]> |
2068 | ||
352ed7b4 MS |
2069 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
2070 | ||
c18be923 MS |
2071 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
2072 | * gcore.c: Include cli/cli-decode.h instead of command.h. | |
2073 | ||
00546b04 MS |
2074 | * main.c (captured_main): Add new command line option "--pid". |
2075 | If the second command line argument (following the symbol-file) | |
2076 | begins with a digit, try to attach to it before trying to open | |
2077 | it as a corefile. | |
2078 | (print_gdb_help): Document the "--pid" argument. | |
2079 | ||
db60ec62 EZ |
2080 | 2002-01-10 Eli Zaretskii <[email protected]> |
2081 | ||
2082 | * completer.c (command_completer): New function. | |
2083 | ||
2084 | * completer.h <command_completer>: Add prototype. | |
2085 | ||
2086 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the | |
2087 | completer for the "help" command. | |
2088 | ||
39c22d1a JM |
2089 | 2002-01-09 Jason Merrill <[email protected]> |
2090 | ||
2091 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. | |
2092 | ||
c564377f MS |
2093 | 2002-01-09 Michael Snyder <[email protected]> |
2094 | ||
975aec09 MS |
2095 | * i386-linux-nat.c (fill_fpxregset): Make global. |
2096 | (store_fpxregset): Ditto. | |
2097 | ||
db4a10fa MS |
2098 | * gregset.h (gdb_fpxregset_t): Define. |
2099 | (supply_fpxregset): Prototype. | |
2100 | (fill_fpxregset): Prototype. | |
2101 | ||
c564377f MS |
2102 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
2103 | ||
c3d45d70 RE |
2104 | 2002-01-09 Richard Earnshaw <[email protected]> |
2105 | ||
2106 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. | |
2107 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. | |
2108 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. | |
2109 | ||
fcc87af1 AC |
2110 | 2002-01-09 Andrew Cagney <[email protected]> |
2111 | ||
2112 | * MAINTAINERS: Update target maintainer rules so that any | |
2113 | Maintainer can approve a tested patch for a maintenance-only | |
2114 | target. | |
2115 | ||
dd96c05b RE |
2116 | 2002-01-09 Richard Earnshaw <[email protected]> |
2117 | ||
d4297db9 | 2118 | * MAINTAINERS (write-after-approval): Add myself. |
dd96c05b | 2119 | |
d4297db9 | 2120 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
dd96c05b RE |
2121 | IN_SIGTRAMP. |
2122 | ||
145fdc6e MS |
2123 | 2002-01-08 Michael Snyder <[email protected]> |
2124 | ||
2125 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the | |
2126 | real name of the executable, rather than the /proc name. | |
2127 | ||
be4d1333 MS |
2128 | 2002-01-03 Michael Snyder <[email protected]> |
2129 | ||
2130 | Implement a "generate-core-file" command in gdb, save target state. | |
2131 | * gcore.c: New file. Implement new command 'generate-core-file'. | |
2132 | Save a corefile image of the current state of the inferior. | |
2133 | * linux-proc.c: Add linux-specific code for saving corefiles. | |
2134 | * target.h (struct target_ops): Add new target vectors for saving | |
2135 | corefiles; to_find_memory_regions and to_make_corefile_notes. | |
2136 | (target_find_memory_regions): New macro. | |
2137 | (target_make_corefile_notes): New macro. | |
2138 | * target.c (update_current_target): Inherit new target methods. | |
2139 | (dummy_find_memory_regions): New place-holder method. | |
2140 | (dummy_make_corefile_notes): New place-holder method. | |
2141 | (init_dummy_target): Initialize new dummy target vectors. | |
2142 | * exec.c (exec_set_find_memory_regions): New function. | |
2143 | Allow the exec_ops vector for memory regions to be taken over. | |
2144 | (exec_make_note_section): New function, target vector method. | |
2145 | * defs.h (exec_set_find_memory_regions): Export prototype. | |
2146 | * procfs.c (proc_find_memory_regions): New function, corefile method. | |
2147 | (procfs_make_note_section): New function, corefile method. | |
2148 | (init_procfs_ops): Set new target vector pointers. | |
2149 | (find_memory_regions_callback): New function. | |
2150 | (procfs_do_thread_registers): New function. | |
2151 | (procfs_corefile_thread_callback): New function. | |
2152 | * sol-thread.c (sol_find_memory_regions): New function. | |
2153 | (sol_make_note_section): New function. | |
2154 | (init_sol_thread_ops): Initialize new target vectors. | |
2155 | * inftarg.c (inftarg_set_find_memory_regions): New function. | |
2156 | Allow to_find_memory_regions vector to be taken over. | |
2157 | (inftarg_set_make_corefile_notes): New function. | |
2158 | Allow to_make_corefile_notes vector to be taken over. | |
2159 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db | |
2160 | interface layer if not target_has_execution (may be a corefile). | |
2161 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. | |
2162 | * config/sparc/sun4sol2.mh: Ditto. | |
2163 | * config/alpha/alpha-linux.mh: Ditto. | |
2164 | * config/arm/linux.mh: Ditto. | |
2165 | * config/i386/x86-64linux.mh: Ditto. | |
2166 | * config/ia64/linux.mh: Ditto. | |
2167 | * config/m68k/linux.mh: Ditto. | |
2168 | * config/mips/linux.mh: Ditto. | |
2169 | * config/powerpc/linux.mh: Ditto. | |
2170 | * config/sparc/linux.mh: Ditto. | |
2171 | ||
c6b92abd MS |
2172 | 2002-01-07 Michael Snyder <[email protected]> |
2173 | ||
2174 | * arm-linux-nat.c: Remove references to regcache.c internal data | |
2175 | (registers[] and register_valid[]). | |
2176 | ||
4b09dc8c MS |
2177 | 2002-01-07 Michael Snyder <[email protected]> |
2178 | ||
abf22e64 AJ |
2179 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
2180 | so that attaching to a pid will automatically read the process's | |
4b09dc8c MS |
2181 | symbol file and shlibs. |
2182 | * Makefile.in: Add rule for linux-proc.o. | |
2183 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. | |
2184 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. | |
2185 | * config/arm/linux.mh: Ditto. | |
2186 | * config/i386/linux.mh: Ditto. | |
2187 | * config/i386/x86-64linux.mh: Ditto. | |
2188 | * config/ia64/linux.mh: Ditto. | |
2189 | * config/m68k/linux.mh: Ditto. | |
2190 | * config/mips/linux.mh: Ditto. | |
2191 | * config/powerpc/linux.mh: Ditto. | |
2192 | * config/sparc/linux.mh: Ditto. | |
2193 | ||
c25b74ac PM |
2194 | 2002-01-06 Pierre Muller <[email protected]> |
2195 | ||
2196 | * win32-nat.c: Add i386-tdep.h dependency. | |
2197 | ||
94cd915f MS |
2198 | 2002-01-07 Michael Snyder <[email protected]> |
2199 | ||
c7cccb76 MS |
2200 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
2201 | instead of bfd_get_arch_size. Don't bail out just because | |
2202 | there's no exec_bfd. | |
abf22e64 | 2203 | |
34c0bd93 MS |
2204 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
2205 | * p-valprint.c (pascal_object_print_value): Ditto. | |
2206 | * somread.c (som_symtab_read): Ditto. | |
2207 | * symfile.c (simple_free_overlay_region_table): Ditto. | |
2208 | * valops.c (value_assign): Ditto. | |
2209 | ||
21c1c920 MS |
2210 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
2211 | use tilde_expand and strerror for opening save-tracepoints file. | |
2212 | ||
5bbd998e MS |
2213 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
2214 | ||
94cd915f MS |
2215 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
2216 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the | |
abf22e64 | 2217 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
94cd915f MS |
2218 | can be overridden with whatever value is appropriate to the host). |
2219 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of | |
2220 | alloca to allocate potentially large buffer. | |
2221 | * rs6000-nat.c (child_xfer_memory): Ditto. | |
2222 | * symm-nat.c (child_xfer_memory): Ditto. | |
2223 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. | |
2224 | ||
494e8a93 JSC |
2225 | 2002-01-07 Jackie Smith Cashion <[email protected]> |
2226 | ||
2227 | From Nick Clifton <[email protected]> | |
2228 | * d10v-tdep.c: Set STACK_START to 0x200bffe. | |
2229 | ||
d0e1d48e MS |
2230 | 2002-01-07 Michael Snyder <[email protected]> |
2231 | ||
abf22e64 | 2232 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
d0e1d48e MS |
2233 | Don't use exec_bfd if it's NULL. |
2234 | ||
290b2c7a MK |
2235 | 2002-01-06 Mark Kettenis <[email protected]> |
2236 | ||
abf22e64 | 2237 | * valops.c (value_arg_coerce): Fix formatting. |
290b2c7a | 2238 | |
aef21287 AC |
2239 | 2002-01-06 Andrew Cagney <[email protected]> |
2240 | ||
2241 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. | |
2242 | * gnu-nat.c: Ditto. | |
2243 | ||
30efa627 AC |
2244 | 2002-01-06 Andrew Cagney <[email protected]> |
2245 | ||
2246 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, | |
2247 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, | |
2248 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, | |
2249 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and | |
2250 | z8k-coff have not been multi-arched. Update z8k-coff build | |
2251 | status. | |
2252 | ||
9b4ff276 AC |
2253 | 2002-01-06 Andrew Cagney <[email protected]> |
2254 | ||
2255 | * MAINTAINERS: Mark a29k target as obsolete. | |
2256 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) | |
2257 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in | |
2258 | comments. | |
2259 | * NEWS: Note that a29k targets are obsolete. | |
2260 | * a29k-tdep.c: Mark as obsolete. | |
2261 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, | |
2262 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and | |
2263 | a29k-*-vxworks* targets as obsolete. | |
2264 | * remote-adapt.c: Obsolete. | |
2265 | * remote-eb.c: Obsolete. | |
2266 | * remote-mm.c: Obsolete. | |
2267 | * remote-udi.c: Obsolete. | |
2268 | * config/a29k/a29k-udi.mt: Obsolete. | |
2269 | * config/a29k/a29k.mt: Obsolete. | |
2270 | * config/a29k/tm-a29k.h: Obsolete. | |
2271 | * config/a29k/tm-vx29k.h: Obsolete. | |
2272 | * config/a29k/vx29k.mt: Obsolete. | |
2273 | ||
a9011d31 AC |
2274 | 2002-01-05 Andrew Cagney <[email protected]> |
2275 | ||
2276 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN | |
2277 | with BFD_ENDIAN_BIG. | |
2278 | ||
9299404e AC |
2279 | 2002-01-05 Andrew Cagney <[email protected]> |
2280 | ||
2281 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. | |
2282 | * configure, config.in: Re-generate. | |
2283 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. | |
2284 | * defs.h: Do not include <endian.h>. | |
2285 | ||
7e89e357 JT |
2286 | 2002-01-05 Jason Thorpe <[email protected]> |
2287 | ||
2288 | * acconfig.h (HAVE_PT_GETXMMREGS): New. | |
2289 | * config.in: Regenerate. | |
2290 | * configure.in: Update copyright years. | |
2291 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. | |
2292 | * configure: Regenerate. | |
2293 | * i386bsd-nat.c: Update copyright years. | |
2294 | (fill_gregset): Use regcache_collect. | |
2295 | (fetch_inferior_registers): Only fetch integer registers | |
2296 | if requested to do so. Add support for XMM registers | |
2297 | using PT_GETXMMREGS. | |
2298 | (store_inferior_registers): Only store integer registers | |
2299 | if requested to do so. Add support for XMM registers | |
2300 | using PT_SETXMMREGS. | |
2301 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. | |
2302 | (store_inferior_registers): Remove. | |
2303 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. | |
2304 | (fetch_elfcore_registers): New function. | |
2305 | (i386nbsd_elfcore_fns): New. | |
2306 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. | |
2307 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and | |
2308 | i386bsd-nat.o. | |
2309 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. | |
2310 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. | |
2311 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. | |
2312 | * config/i386/tm-nbsd.h: Update copyright years. | |
2313 | (HAVE_SSE_REGS): Define. | |
2314 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. | |
2315 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. | |
2316 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. | |
2317 | (SIGCONTEXT_PC_OFFSET): Remove. | |
2318 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. | |
2319 | ||
a752853e AC |
2320 | 2002-01-05 Andrew Cagney <[email protected]> |
2321 | ||
2322 | * configure.tgt: Remove powerpc-*-macos* target. | |
2323 | * config/m68k/xm-mpw.h: Delete file. | |
2324 | * config/xm-mpw.h: Delete file. | |
2325 | * ser-mac.c: Delete file. | |
2326 | * mpw-make.sed: Delete file. | |
2327 | * mpw-config.in: Delete file. | |
2328 | * mac-xdep.c: Delete file. | |
2329 | * mac-gdb.r: Delete file. | |
2330 | * mac-defs.h: Delete file. | |
2331 | * mac-nat.c: Delete file. | |
2332 | * config/powerpc/macos.mh: Delete file. | |
2333 | * config/powerpc/macos.mt: Delete file. | |
2334 | * config/powerpc/nm-macos.h: Delete file. | |
2335 | * config/powerpc/tm-macos.h: Delete file. | |
2336 | * source.c (openp, open_source_file): Remove obsolete code. | |
2337 | * top.c (gdb_readline): Ditto. | |
2338 | * utils.c (query): Ditto. | |
2339 | * event-top.c (display_gdb_prompt): Ditto. | |
2340 | * Makefile.in (ser-mac.o): Delete obsolete target. | |
2341 | * NEWS: Update. | |
2342 | ||
d7449b42 AC |
2343 | 2002-01-04 Andrew Cagney <[email protected]> |
2344 | ||
2345 | * defs.h (BIG_ENDIAN): Delete macro definition. | |
2346 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, | |
2347 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, | |
2348 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, | |
2349 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, | |
2350 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, | |
2351 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, | |
2352 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, | |
2353 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, | |
2354 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, | |
2355 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, | |
2356 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, | |
2357 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, | |
2358 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
2359 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. | |
2360 | * gdbarch.c: Re-generate. | |
2361 | ||
356374e8 DJ |
2362 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
2363 | ||
2364 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db | |
2365 | for core files. | |
2366 | ||
a2b8f8f8 JT |
2367 | 2002-01-04 Jason Thorpe <[email protected]> |
2368 | ||
2369 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. | |
2370 | ||
12466af9 AC |
2371 | 2002-01-04 Andrew Cagney <[email protected]> |
2372 | ||
2373 | * value.h (value_ptr): Delete typedef. | |
2374 | ||
3549ab40 JT |
2375 | 2002-01-04 Jason Thorpe <[email protected]> |
2376 | ||
2377 | * i386nbsd-nat.c: Update copyright years. | |
2378 | Include i386-tdep.h. | |
2379 | ||
fedbd091 EZ |
2380 | 2002-01-04 Elena Zannoni <[email protected]> |
2381 | ||
2382 | * stabsread.c: Update copyright years. | |
2383 | ||
2384 | From Debashis Mahata <[email protected]>: | |
2385 | (read_struct_fields): Deal with Sun C compiler erroneous stab | |
2386 | output for structs and unions. | |
fec8b34f | 2387 | Fix PR gdb/269. |
fedbd091 | 2388 | |
eb43544b DJ |
2389 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
2390 | ||
2391 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset | |
2392 | prototype. | |
2393 | ||
1514d34e DJ |
2394 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
2395 | ||
2396 | * cp-abi.c: Fix whitespace. | |
2397 | (baseclass_offset): New wrapper function. | |
2398 | * cp-abi.h (baseclass_offset): Add prototype. | |
2399 | (struct cp_abi_ops): Add baseclass_offset pointer. | |
2400 | ||
2401 | * valops.c (vb_match): Move to... | |
2402 | * gnu-v2-abi.c (vb_match): here. | |
2403 | * valops.c (baseclass_offset): Move to... | |
2404 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. | |
2405 | ||
2406 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. | |
2407 | ||
2408 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. | |
2409 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. | |
2410 | * hpacc-abi.c (init_hpacc_ops): Likewise. | |
2411 | ||
7f8c9282 DJ |
2412 | 2002-01-04 Daniel Jacobowitz <[email protected]> |
2413 | ||
2414 | * valops.c (find_overload_match): Accept obj as a | |
2415 | reference parameter. Update it before returning. | |
2416 | * value.h (find_overload_match): Update prototype. | |
2417 | * eval.c (evaluate_subexp_standard): Pass object to | |
2418 | find_overload_match by reference. | |
2419 | ||
f23631e4 AC |
2420 | 2002-01-03 Andrew Cagney <[email protected]> |
2421 | ||
2422 | * valarith.c: Replace value_ptr with struct value pointer. Remove | |
2423 | register attribute from value declarations. | |
2424 | * valops.c: Ditto. | |
2425 | * value.h: Ditto. | |
2426 | * scm-lang.c (scm_lookup_name): Ditto. | |
2427 | ||
79e10fab | 2428 | 2002-01-03 Michael Snyder <[email protected]> |
abf22e64 | 2429 | |
79e10fab AC |
2430 | Abstract the functionality of iterating over mapped memory |
2431 | regions into a general purpose iterator function. | |
abf22e64 | 2432 | * procfs.c (iterate_over_mappings): New function, general purpose |
79e10fab AC |
2433 | iterator for memory sections. |
2434 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. | |
2435 | (solib_mappings_callback): New function, callback for above. | |
2436 | (info_proc_mappings): Reimpliment using iterate_over_mappings. | |
2437 | (info_mappings_callback): New function, callback for above. | |
2438 | ||
2439 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. | |
2440 | ||
c5ad026a MK |
2441 | 2002-01-01 Mark Kettenis <[email protected]> |
2442 | ||
d2a7c97a MK |
2443 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
2444 | * i386-tdep.c: Include "elf-bfd.h". | |
2445 | (process_note_abi_tag_sections): New function. | |
2446 | (i386_gdbarch_init): Add code to recognize various OS/ABI | |
2447 | combinations. | |
2448 | ||
c5ad026a MK |
2449 | * maint.c (_initialize_maint_cmds): Add missing \ in |
2450 | string-literal. | |
2451 | ||
a1a5b71e | 2452 | For older changes see ChangeLog-2001 |
c906108c SS |
2453 | \f |
2454 | Local Variables: | |
2455 | mode: change-log | |
2456 | left-margin: 8 | |
2457 | fill-column: 74 | |
2458 | version-control: never | |
2459 | End: |